%PDF- %PDF-
Direktori : /home/silvzytp/crm-dub-code/storage/framework/views/ |
Current File : //home/silvzytp/crm-dub-code/storage/framework/views/aaf9b8da1822261e65a1055894bfe27744c4d891.php |
<?php $__env->startSection('title', $siteTitle); ?> <?php $__env->startSection('action'); ?> <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'app.agents.create')): ?> <a href="<?php echo e(route(routeName().'.sub-status.create')); ?>" class="btn btn-sm btn-primary"> <i class="ti-plus fs-ism fw-800"></i> Add Sub Status</a> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('styles'); ?> <style> .btn-style{ width: 25px !important; height: 25px !important; } </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body px-0"> <table class="table table-sm table-borderless table-style" id="datatable"> <thead> <th class="text-left">ID</th> <th>Status</th> <th>Sub Status</th> <th>Is Published</th> <th class="text-right">Action</th> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $callingSubStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td class="text-left"><?php echo e($status->id); ?></td> <td><?php echo e($status->callingStatus->name); ?></td> <td><?php echo e($status->name); ?></td> <td><?php echo status($status->status); ?></td> <td> <div class="d-flex align-items-center justify-content-end"> <a href="<?php echo e(route(routeName().'.sub-status.edit', $status->id)); ?>" class="btn-style btn-style-edit mr-1"><i class="fa fa-edit"></i></a> <?php if($status->callings->isEmpty()): ?> <button type="button" class="btn-style btn-style-danger delete-btn" data-title="Do you really want to operation selected record(s)?" data-section="<?php echo e(route(routeName().'.sub-status.destroy', $status->id)); ?>"><i class="fa fa-trash"></i></button> <?php endif; ?> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="4" class="text-danger text-center"><strong>No Data Found!</strong></td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script> $('table#datatable').DataTable(); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/silvzytp/crm-dub-code/resources/views/backend/pages/sub-status/index.blade.php ENDPATH**/ ?>