Viewing file: 623e16aeb61d1f5daecffefbe1ca614df35f902e.php (2.38 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="form-group"> <button class="btn btn-primary float-right mb-3 btn-sm" data-title="Add New Template" type="button" id="addNewTemplate"><?php echo e(trans('customer.add_template')); ?></button> </div> <div class="card-body table-responsive p-0 " style="height: 300px;overflow-x: auto!important;"> <table class="table table-head-fixed text-nowrap text-center"> <thead> <tr> <th><?php echo e(trans('customer.title')); ?></th> <th><?php echo e(trans('customer.status')); ?></th> <th><?php echo e(trans('customer.action')); ?></th> </tr> </thead> <tbody> <?php if($sms_templates->isNotEmpty()): ?> <?php $__currentLoopData = $sms_templates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sms_template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($sms_template->title); ?></td> <td><?php if($sms_template->status=='active'): ?> <span class="pl-2 pr-2 pt-1 pb-1 bg-success" style="border-radius:25px;">Active</span> <?php else: ?> <span class="pl-2 pr-2 pt-1 pb-1 bg-success" style="border-radius:25px;">Inactive</span> <?php endif; ?> </td> <td><button type="button" data-value="<?php echo e(json_encode($sms_template->only(['id','title','status','body']))); ?>" class="btn btn-sm btn-info template-edit"><i class="fas fa-edit"></i></button> <button class="btn btn-sm btn-danger" type="button" data-message="Are you sure you want to delete this template?" data-action="<?php echo e(route('customer.sms.template.delete',['id'=>$sms_template->id])); ?>" data-input={"_method":"delete"} data-toggle="modal" data-target="#modal-confirm"><i class="fas fa-trash"></i></button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr> <td></td> <td colspan="1"><?php echo e(trans('customer.no_data_available')); ?></td> </tr> <?php endif; ?> </tbody> </table> </div>
<?php /**PATH /home/picotech/domains/test.gateway.picotech.app/public_html/resources/views/customer/settings/sms_template.blade.php ENDPATH**/ ?>
|