Files
streamline-emr/docker/statistics/storage/framework/views/d86adf37faae1246c0799b30ad087227.php
T
2025-03-31 03:46:05 +03:00

82 lines
4.4 KiB
PHP

<?php $__env->startPush('styles'); ?>
<link href="<?php echo e(asset('/elite/bower_components/datatables/jquery.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo e(asset('elite/tables/css/buttons.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title"><?php echo e(__('districts.view_districts')); ?></h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="<?php echo e(route('home')); ?>"><?php echo e(__('districts.dashboard')); ?></a></li>
<li><a href="/districts/"><?php echo e(__('districts.districts')); ?></a></li>
<li class="active"><?php echo e(__('districts.view_districts')); ?></li>
</ol>
</div>
</div>
<div class="row">
<div class="col-md-12">
<?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="white-box">
<p class="text-muted m-b-30"><?php echo e(__('districts.export_to_pdf')); ?></p>
<div class="table-responsive">
<table id="table" class="display nowrap" cellspacing="0" width="60%">
<thead>
<tr>
<th><?php echo e(__('districts.district_name')); ?></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $districts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $district): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($district->name); ?></td>
<td>
<a href="/districts/<?php echo e($district->id); ?>/edit/" class="btn btn-info"><i class="fa fa-pencil"></i> <?php echo e(__('districts.edit')); ?></a>
</td>
<td>
<?php echo e(Form::model($district->id ,['method' => 'DELETE', 'route' => ['districts.destroy', $district->id]])); ?>
<button type="submit" class="btn btn-danger" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> <?php echo e(__('districts.delete')); ?></button>
<?php echo e(Form::close()); ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('elite/bower_components/datatables/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/dataTables.buttons.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.flash.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/jszip.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/pdfmake.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/vfs_fonts.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.html5.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.print.min.js')); ?>"></script>
<script>
$(document).ready(function () {
$('#table').DataTable({
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
});
});
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/Modules/ClinicalData/Resources/views/districts/index.blade.php ENDPATH**/ ?>