Merge branch 'main' into feat/sk-44

This commit is contained in:
amazuecos
2025-04-27 10:59:41 +02:00
12 changed files with 480 additions and 3 deletions

View File

@ -0,0 +1,35 @@
<?= $this->include("themes/_commonPartialsBs/sweetalert") ?>
<?= $this->include('themes/_commonPartialsBs/datatables') ?>
<?= $this->include("themes/_commonPartialsBs/select2bs5") ?>
<?= $this->extend('themes/vuexy/main/defaultlayout') ?>
<?= $this->section('content'); ?>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4><?= $boxTitle ?></h4>
</div>
<div id="albaranContainer" class="card-body">
<input type="hidden" id="id" value="<?= $albaranId ?>">
<?= view("themes/_commonPartialsBs/_alertBoxes") ?>
</div>
</div>
</div>
</div>
<?= $this->endSection() ?>
<?= $this->section('css') ?>
<link rel="stylesheet" href="<?= site_url('themes/vuexy/vendor/libs/sweetalert2/sweetalert2.css') ?>" />
<?= $this->endSection() ?>
<?= $this->section('additionalExternalJs') ?>
<script src="<?= site_url('themes/vuexy/vendor/libs/sweetalert2/sweetalert2.js') ?>"></script>
<script type="module" src="<?= site_url("assets/js/safekat/pages/albaranes/edit.js") ?>"></script>
<?= $this->endSection() ?>

View File

@ -0,0 +1,65 @@
<?= $this->include("themes/_commonPartialsBs/sweetalert") ?>
<?= $this->include('themes/_commonPartialsBs/datatables') ?>
<?= $this->include("themes/_commonPartialsBs/select2bs5") ?>
<?= $this->extend('themes/vuexy/main/defaultlayout') ?>
<?= $this->section('content'); ?>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4><?= $boxTitle ?></h4>
</div>
<div class="card-body">
<?= view("themes/_commonPartialsBs/_alertBoxes") ?>
<table id="tableOfAlbaranes" class="table table-striped table-hover w-100">
<thead>
<tr>
<th><?= lang('Albaran.id') ?></th>
<th><?= lang('Albaran.numAlbaran') ?></th>
<th><?= lang('Albaran.numEnvio') ?></th>
<th><?= lang('Albaran.numPedidos') ?></th>
<th><?= lang('Albaran.cliente') ?></th>
<th><?= lang('Albaran.att') ?></th>
<th><?= lang('Albaran.direccion') ?></th>
<th><?= lang('Albaran.unidadesTotal') ?></th>
<th><?= lang('Albaran.cajas') ?></th>
<th><?= lang('Albaran.acciones') ?? 'Acciones' ?></th>
</tr>
<tr>
<th><input type="text" class="form-control albaran-filter" name="id"></th>
<th><input type="text" class="form-control albaran-filter" name="numero_albaran"></th>
<th><input type="text" class="form-control albaran-filter" name="envio_id"></th>
<th><input type="text" class="form-control albaran-filter-pedidos" name="pedidos"></th>
<th><input type="text" class="form-control albaran-filter" name="cliente"></th>
<th><input type="text" class="form-control albaran-filter" name="att"></th>
<th><input type="text" class="form-control albaran-filter" name="direccion"></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?= $this->endSection() ?>
<?= $this->section('css') ?>
<link rel="stylesheet" href="<?= site_url('themes/vuexy/vendor/libs/sweetalert2/sweetalert2.css') ?>" />
<?= $this->endSection() ?>
<?= $this->section('additionalExternalJs') ?>
<script src="<?= site_url('themes/vuexy/vendor/libs/sweetalert2/sweetalert2.js') ?>"></script>
<script type="module" src="<?= site_url("assets/js/safekat/pages/albaranes/list.js") ?>"></script>
<?= $this->endSection() ?>

View File

@ -25,7 +25,7 @@
<img src="<?= site_url("assets/img/logistica/impresionEtiquetas.jpg") ?>" alt="Etiquetas de títulos">
<div><span><?= lang("Logistica.etiquetasTitulos"); ?></span></div>
</div>
<div class="item">
<div class="item" onclick="location.href='<?= route_to('albaranesList') ?>'">
<img src="<?= site_url("assets/img/logistica/albaranes.png") ?>" alt="Albaranes">
<div><span><?= lang("Logistica.albaranes"); ?></span></div>
</div>