<?= $this->include('themes/_commonPartialsBs/datatables') ?>
<?= $this->include('themes/_commonPartialsBs/_confirm2delete') ?>
<?= $this->extend('themes/vuexy/main/defaultlayout') ?>
<?= $this->section('content'); ?>
<div class="row">
    <div class="col-md-12">

        <div class="card card-info">
            <div class="card-header">
                <h3 class="card-title"><?= lang('ServicioAcabado.servicioscabadoList') ?></h3>
                <?php if(auth()->user()->can('servicio-acabado.create')): ?>
                    <?= anchor(route_to('newServicioAcabado'), lang('Basic.global.addNew') . ' ' . lang('ServicioAcabado.servicioacabado'), ['class' => 'btn btn-primary float-end']); ?>
                <?php endif; ?>
            </div><!--//.card-header -->
            <div class="card-body">
                <?= view('themes/_commonPartialsBs/_alertBoxes'); ?>

                <table id="tableOfServiciosAcabado" class="table table-striped table-hover" style="width: 100%;">
                    <thead>
                    <tr>
                        <th><?= lang('ServicioAcabado.id') ?></th>
                        <th><?= lang('ServicioAcabado.nombre') ?></th>
                        <th><?= lang('ServicioAcabado.servicio_cubierta') ?></th>
                        <th><?= lang('ServicioAcabado.servicio_sobrecubierta') ?></th>
                        <th><?= lang('ServicioAcabado.mostrar_en_presupuesto_cliente') ?></th>
                        <th><?= lang('ServicioAcabado.userUpdateId') ?></th>
                        <th><?= lang('ServicioAcabado.updatedAt') ?></th>
                        <th class="text-nowrap"><?= lang('Basic.global.Action') ?></th>
                    </tr>
                    </thead>
                    <tbody>

                    </tbody>
                </table>
            </div><!--//.card-body -->
            <div class="card-footer">

            </div><!--//.card-footer -->
        </div><!--//.card -->
    </div><!--//.col -->
</div><!--//.row -->


<?= $this->endSection() ?>


<?= $this->section('additionalExternalJs') ?>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/dataTables.buttons.min.js") ?>"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/buttons.bootstrap5.min.js") ?>"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/buttons.html5.min.js") ?>"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/buttons.print.min.js") ?>"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/jszip/jszip.min.js") ?>"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/pdfmake/pdfmake.min.js") ?>" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/pdfmake/vfs_fonts.js") ?>"></script>

<script type="module" src="<?= site_url("/assets/js/safekat/pages/tarifas/serviciosAcabado/list.js") ?>"></script>

<?= $this->endSection() ?>

