JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "66949ed966afc8db95a3f4c35d907c73.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/66949ed966afc8db95a3f4c35d907c73.php
File size: 8.65 KB
MIME-type: text/html
Charset: utf-8
<?php $__env->startPush('title', get_phrase('Subjects')); ?>
<?php $__env->startPush('meta'); ?>
<?php $__env->stopPush(); ?>
<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="ol-card radius-8px">
<div class="ol-card-body my-3 py-12px px-20px">
<div class="d-flex align-items-center justify-content-between gap-3 flex-wrap flex-md-nowrap">
<h4 class="title fs-16px">
<i class="fi-rr-settings-sliders me-2"></i>
<?php echo e(get_phrase('Tutor subjects')); ?> <span class="text-muted">(<?php echo e($subjects->count()); ?>)</span>
</h4>
<a onclick="ajaxModal('<?php echo e(route('modal', ['admin.tutor_booking.subject_add'])); ?>', '<?php echo e(get_phrase('Add new subject')); ?>')" href="#" class="btn ol-btn-outline-secondary d-flex align-items-center cg-10px">
<span class="fi-rr-plus"></span>
<span><?php echo e(get_phrase('Add new subject')); ?></span>
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-xl-7">
<div class="ol-card p-4">
<div class="ol-card-body">
<div class="col-lg-12">
<?php if($subjects->count() > 0): ?>
<div class="admin-tInfo-pagi d-flex justify-content-md-between justify-content-center align-items-center gr-15 flex-wrap">
<p class="admin-tInfo">
<?php echo e(get_phrase('Showing') . ' ' . count($subjects) . ' ' . get_phrase('of') . ' ' . $subjects->total() . ' ' . get_phrase('data')); ?>
</p>
</div>
<div class="table-responsive package_list overflow-auto" id="package_list">
<table class="eTable eTable-2 print-table table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col"><?php echo e(get_phrase('Name')); ?></th>
<th scope="col" class="text-center"><?php echo e(get_phrase('Status')); ?></th>
<th scope="col" class="print-d-none text-center"><?php echo e(get_phrase('Action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $subjects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $subject): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<th scope="row">
<p class="row-number"><?php echo e(++$key); ?></p>
</th>
<td>
<div class="d-flex align-items-center">
<div class="ms-1 mt-1">
<h4 class="title fs-14px">
<a href="">
<?php echo e(ucfirst($subject->name)); ?>
</a>
</h4>
</div>
</div>
</td>
<td>
<div class="sub-title2 text-12px text-center">
<?php if($subject['status'] == 1): ?>
<p><?php echo e(get_phrase('Active')); ?> </p>
<?php else: ?>
<p><?php echo e(get_phrase('Deactive')); ?> </p>
<?php endif; ?>
</div>
</td>
<td class="print-d-none text-center">
<div class="dropdown ol-icon-dropdown ol-icon-dropdown-transparent d-flex justify-content-center">
<button class="btn ol-btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span class="fi-rr-menu-dots-vertical"></span>
</button>
<ul class="dropdown-menu">
<li>
<a href="#" class="dropdown-item" onclick="ajaxModal('<?php echo e(route('modal', ['admin.tutor_booking.subject_edit', 'id' => $subject->id])); ?>', '<?php echo e(get_phrase('Edit subject')); ?>')"> <?php echo e(get_phrase('Edit')); ?></a>
</li>
<li>
<?php if($subject['status'] == 1): ?>
<a class="dropdown-item" href="<?php echo e(route('admin.tutor_subject_status', ['id' => $subject->id, 'status' => 'deactive'])); ?>"><?php echo e(get_phrase('Deactive')); ?></a>
<?php else: ?>
<a class="dropdown-item" href="<?php echo e(route('admin.tutor_subject_status', ['id' => $subject->id, 'status' => 'active'])); ?>"><?php echo e(get_phrase('Active')); ?></a>
<?php endif; ?>
</li>
<li>
<a class="dropdown-item" onclick="confirmModal('<?php echo e(route('admin.tutor_subject_delete', $subject->id)); ?>')"><?php echo e(get_phrase('Delete')); ?></a>
</li>
</ul>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<div class="admin-tInfo-pagi d-flex justify-content-md-between justify-content-center align-items-center gr-15 flex-wrap">
<p class="admin-tInfo">
<?php echo e(get_phrase('Showing') . ' ' . count($subjects) . ' ' . get_phrase('of') . ' ' . $subjects->total() . ' ' . get_phrase('data')); ?>
</p>
<?php echo e($subjects->links()); ?>
</div>
<?php else: ?>
<?php echo $__env->make('admin.no_data', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
</div>
</div> <!-- end card body-->
</div> <!-- end card -->
</div><!-- end col-->
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/admin/tutor_booking/subjects.blade.php ENDPATH**/ ?>