<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <div class="row page-titles">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="<?php echo e(route('authorised-partners.index')); ?>">Authorised Partners</a></li>
                <li class="breadcrumb-item active"><a href="javascript:void(0)">Details</a></li>
            </ol>
        </div>
        <?php echo $__env->make('iqec.partials.flash', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <div class="card">
            <div class="card-header d-flex justify-content-between">
                <h4 class="card-title mb-0"><?php echo e($authorisedPartner->applicant_name); ?></h4>
                <span class="badge <?php echo e($authorisedPartner->user->status->badgeClass()); ?>"><?php echo e($authorisedPartner->user->status->label()); ?></span>
            </div>
            <div class="card-body">
                <div class="row">
                    <div class="col-md-6">
                        <p><strong>Email:</strong> <?php echo e($authorisedPartner->email); ?></p>
                        <p><strong>Phone:</strong> <?php echo e($authorisedPartner->phone); ?></p>
                        <p><strong>Institute:</strong> <?php echo e($authorisedPartner->institute_name); ?></p>
                    </div>
                    <div class="col-md-6">
                        <p><strong>Promoter:</strong> <?php echo e($authorisedPartner->promoter?->applicant_name ?: 'None'); ?></p>
                        <p><strong>Courseware partners:</strong> <?php echo e($authorisedPartner->coursewarePartners->pluck('applicant_name')->join(', ') ?: 'None'); ?></p>
                    </div>
                </div>
                <a href="<?php echo e(route('authorised-partners.edit', $authorisedPartner)); ?>" class="btn btn-primary" onclick="return confirm('Are you sure you want to edit this authorised partner?')">Edit</a>
                <a href="<?php echo e(route('authorised-partners.index')); ?>" class="btn btn-light">Back</a>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('iqec.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/fasil/Sites/iqec/admin/resources/views/iqec/authorised-partners/show.blade.php ENDPATH**/ ?>