File manager - Edit - /var/www/payraty/accounting_main/storage/framework/views/1f3c4d0a6d1181b6f3da88fda3d21c61.php
Back
<?php $__env->startPush('script-page'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('title'); ?> <div class="d-inline-block"> <h5 class="h4 d-inline-block font-weight-400 mb-0 "><?php echo e(__('Contract Type')); ?></h5> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Dashboard')); ?> </a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('Contract Type')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-btn'); ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage constant contract type')): ?> <div class="float-end"> <div class="d-flex"> <a href="#" data-url="<?php echo e(route('contractType.create')); ?>" data-bs-toggle="tooltip" data-size="md" title="<?php echo e(__('Create')); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Create New Contract')); ?>" class="btn btn-outline-dark d-flex align-items-center"> <img src="<?php echo e(asset('assets/images/svg/plus.svg')); ?>" class="w-4 h-4" alt="Add New Icon" /> <span class="ms-2">Add New Contract Type</span> </a> </div> </div> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('filter'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-xl-12"> <div class="card"> <div class="card-body table-border-style"> <!-- <h5></h5> --> <div class="table-responsive"> <table class="table"> <thead> <tr> <th scope="col"><?php echo e(__('Name')); ?></th> <th scope="col" class="text-end"><?php echo e(__('Action')); ?></th> </tr> </thead> <tbody> <?php if($types->isEmpty()): ?> <tr> <td colspan="10" class="text-center"> <img src="<?php echo e(asset('assets/images/no-data.png')); ?>" alt="No Data" style="max-width: 350px; margin-bottom: 50px; margin-top: 150px;"> <p><?php echo e(__('Oops, no tax rates yet.')); ?></p> <a href="#" data-url="<?php echo e(route('contractType.create')); ?>" data-bs-toggle="tooltip" data-size="md" title="<?php echo e(__('Create')); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Create New Contract Type')); ?>" class="btn" style="background-color: #002C77; color: white;"> <i class="ti ti-plus"></i> <span class="ms-2"><?php echo e(__('Create New Contract Type')); ?></span> </a> </td> </tr> <?php else: ?> <?php $__currentLoopData = $types; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="font-style"> <td><?php echo e($type->name); ?></td> <?php if(Gate::check('edit constant contract type') || Gate::check('delete constant contract type')): ?> <td class="action text-end"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit constant contract type')): ?> <div class="action-btn bg-info ms-2"> <a href="#" class="mx-3 btn btn-sm align-items-center" data-url="<?php echo e(route('contractType.edit', $type->id)); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Edit Contract Type')); ?>" data-bs-toggle="tooltip" title="<?php echo e(__('Edit')); ?>" data-original-title="<?php echo e(__('Edit')); ?>"> <i class="ti ti-edit text-white"></i> </a> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('delete constant contract type')): ?> <div class="action-btn bg-danger ms-2"> <?php echo Form::open([ 'method' => 'DELETE', 'route' => ['contractType.destroy', $type->id], 'id' => 'delete-form-' . $type->id, ]); ?> <a href="#" class="mx-3 btn btn-sm align-items-center bs-pass-para" data-bs-toggle="tooltip" title="<?php echo e(__('Delete')); ?>" data-original-title="<?php echo e(__('Delete')); ?>" data-confirm="<?php echo e(__('Are You Sure?') . '|' . __('This action can not be undone. Do you want to continue?')); ?>" data-confirm-yes="document.getElementById('delete-form-<?php echo e($type->id); ?>').submit();"> <i class="ti ti-trash text-white"></i> </a> <?php echo Form::close(); ?> </div> <?php endif; ?> </td> <?php endif; ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/accounting_main/resources/views/contractType/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings