Viewing file: 7d63f098d2d73cae8c36ee825a0e008b4d313949.php (4.49 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Form Data <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12 mt-3">
<div class="card">
<div class="card-header">
<h2 class="card-title"><?php echo app('translator')->get('customer.list'); ?></h2>
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="viewFormotable" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<?php if($form_details->isNotempty()): ?>
<tr>
<?php $__currentLoopData = $form_details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $form_detail): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<th><?php echo e($form_detail->input_label); ?></th>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<th><?php echo app('translator')->get('customer.action'); ?></th>
</tr>
<?php else: ?>
<tr class="text-center">
<th colspan="6">No data available</th>
</tr>
<?php endif; ?>
</thead>
<tbody>
<?php if($form_datas): ?>
<?php $__currentLoopData = $form_datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $form_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<?php $__currentLoopData = $form_data['value']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td><?php echo e($data); ?></td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<td>
<button class="btn btn-sm btn-danger"
data-message="Are you sure you want to delete this data?"
data-action="<?php echo e(route('customer.form.form.data.delete',[$form_data['id']])); ?>"
data-input={"_method":"delete"} data-toggle="modal"
data-target="#modal-confirm">Delete
</button>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<tr class="text-center">
<td colspan="6">No data available</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/picomail.picotech.app/public_html/resources/views/customer/form/form_data_index.blade.php ENDPATH**/ ?>
|