<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?>
<?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('title', null, []); ?>  <?php echo e(translate('Support Manage')); ?>  <?php $__env->endSlot(); ?>
    <!-- Page Breadcrumb -->
    <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['title' => 'All Support','pageTo' => 'Supports','actionRoute' => ''.e(route('organization.supports.create')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.breadcrumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'All Support','page-to' => 'Supports','action-route' => ''.e(route('organization.supports.create')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>

    <?php if($tickets->count() > 0 || $coursesTickets->count() > 0): ?>
        <div class="card">
            <?php if($tickets->count() > 0): ?>
                <h1 class="card-title mb-4"> <?php echo e(translate('Platform Ticket')); ?> </h1>
                <?php if (isset($component)) { $__componentOriginalc83d1cee210f927550a05164a29ecc16 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc83d1cee210f927550a05164a29ecc16 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::supports.ticket-list','data' => ['tickets' => $tickets,'type' => 'platform','action' => 'organization.reply','replyForm' => 'false','icon' => 'view']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::supports.ticket-list'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['tickets' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tickets),'type' => 'platform','action' => 'organization.reply','replyForm' => 'false','icon' => 'view']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc83d1cee210f927550a05164a29ecc16)): ?>
<?php $attributes = $__attributesOriginalc83d1cee210f927550a05164a29ecc16; ?>
<?php unset($__attributesOriginalc83d1cee210f927550a05164a29ecc16); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc83d1cee210f927550a05164a29ecc16)): ?>
<?php $component = $__componentOriginalc83d1cee210f927550a05164a29ecc16; ?>
<?php unset($__componentOriginalc83d1cee210f927550a05164a29ecc16); ?>
<?php endif; ?>
            <?php endif; ?>
        </div>
        <div class="card">
            <?php if($coursesTickets->count() > 0): ?>
                <h1 class="card-title mb-4"> <?php echo e(translate('Courses Ticket')); ?> </h1>
                <?php if (isset($component)) { $__componentOriginalc83d1cee210f927550a05164a29ecc16 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc83d1cee210f927550a05164a29ecc16 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::supports.ticket-list','data' => ['tickets' => $coursesTickets,'type' => 'course','action' => 'organization.reply','replyForm' => 'false','icon' => 'view']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::supports.ticket-list'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['tickets' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($coursesTickets),'type' => 'course','action' => 'organization.reply','replyForm' => 'false','icon' => 'view']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc83d1cee210f927550a05164a29ecc16)): ?>
<?php $attributes = $__attributesOriginalc83d1cee210f927550a05164a29ecc16; ?>
<?php unset($__attributesOriginalc83d1cee210f927550a05164a29ecc16); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc83d1cee210f927550a05164a29ecc16)): ?>
<?php $component = $__componentOriginalc83d1cee210f927550a05164a29ecc16; ?>
<?php unset($__componentOriginalc83d1cee210f927550a05164a29ecc16); ?>
<?php endif; ?>
            <?php endif; ?>
        </div>
        </div>
    <?php else: ?>
        <?php if (isset($component)) { $__componentOriginal5d13c2904e1f07d85da185576dbff28d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5d13c2904e1f07d85da185576dbff28d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.empty-card','data' => ['title' => 'No support ticket','action' => ''.e(route('organization.supports.create')).'','btnText' => 'Create support']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.empty-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'No support ticket','action' => ''.e(route('organization.supports.create')).'','btnText' => 'Create support']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d)): ?>
<?php $attributes = $__attributesOriginal5d13c2904e1f07d85da185576dbff28d; ?>
<?php unset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5d13c2904e1f07d85da185576dbff28d)): ?>
<?php $component = $__componentOriginal5d13c2904e1f07d85da185576dbff28d; ?>
<?php unset($__componentOriginal5d13c2904e1f07d85da185576dbff28d); ?>
<?php endif; ?>
    <?php endif; ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\organization\supports\index.blade.php ENDPATH**/ ?>