mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
mejorada la vista de lista de facturas
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
<?php endif; ?>
|
||||
<?= view("themes/vuexy/components/chat_internal_factura",data:["modelId" =>$facturaEntity->id,"type" => "factura"]) ?>
|
||||
|
||||
<div class="pt-4">
|
||||
<div class="container-fluid pt-4">
|
||||
<?php if($facturaEntity->estado =='borrador') : ?>
|
||||
<input type="button"
|
||||
class="btn btn-success float-start me-sm-3 me-1"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<th><?= lang('Facturas.numeroFactura') ?></th>
|
||||
<th><?= lang('Facturas.fechaFactura') ?></th>
|
||||
<?php if ($cliente_id == -1): ?>
|
||||
<th><?= lang('Facturas.cliente') ?></th>
|
||||
<th style="width: 20%;"><?= lang('Facturas.cliente') ?></th>
|
||||
<?php endif; ?>
|
||||
<th><?= lang('Facturas.base') ?></th>
|
||||
<th><?= lang('Facturas.total') ?></th>
|
||||
@ -37,9 +37,11 @@
|
||||
<th class="text-nowrap"><?= lang('Basic.global.Action') ?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><input type="text" class="form-control factura-filter" name="id"></th>
|
||||
<th><input type="text" class="form-control factura-filter" name="numero"></th>
|
||||
<th></th>
|
||||
<th><input type="text" class="form-control factura-filter" name="numero"></th>
|
||||
<th><input id="fechaFactura" type="text" class="form-control factura-filter"
|
||||
name="fecha_factura_at"></th>
|
||||
</th>
|
||||
<?php if ($cliente_id == -1): ?>
|
||||
<th><input type="text" class="form-control factura-filter" name="cliente"></th>
|
||||
<?php endif; ?>
|
||||
@ -47,14 +49,44 @@
|
||||
<th></th>
|
||||
<th></th>
|
||||
<?php if ($cliente_id == -1): ?>
|
||||
<th><select class="select2 form-select select-credito" id="credito-filter" name="creditoAsegurado"></select></th>
|
||||
<th><select class="select2 form-select select-estado" id="estado-filter" name="estado"></select></th>
|
||||
<th><select class="select2 form-select select-estadoPago" id="estadoPago-filter" name="estado_pago"></select></th>
|
||||
<th><select class="select2 form-select select-formaPago" id="formaPago-filter" name="forma_pago"></select></th>
|
||||
<th>
|
||||
<select class="form-control factura-filter-select" name="creditoAsegurado">
|
||||
<option value=""><?= lang('Facturas.todos')?></option>
|
||||
<option value="0"><?= lang('Basic.global.no') ?></option>
|
||||
<option value="1"><?= lang('Basic.global.yes') ?></option>
|
||||
</select>
|
||||
</th>
|
||||
<th>
|
||||
<select class="form-control factura-filter-select" name="estado">
|
||||
<option value=""><?= lang('Facturas.todos')?></option>
|
||||
<option value="borrador"><?= lang('Facturas.borrador') ?></option>
|
||||
<option value="validada"><?= lang('Facturas.validada') ?></option>
|
||||
</select>
|
||||
</th>
|
||||
<th>
|
||||
<select class="form-control factura-filter-select" name="estado_pago">
|
||||
<option value=""><?= lang('Facturas.todos')?></option>
|
||||
<option value="pendiente"><?= lang('Facturas.pendiente') ?></option>
|
||||
<option value="pagada"><?= lang('Facturas.pagada') ?></option>
|
||||
<option value="insolvente"><?= lang('Facturas.insolvente') ?></option>
|
||||
</select>
|
||||
</th>
|
||||
<th>
|
||||
<select class="form-control factura-filter-select" name="forma_pago">
|
||||
<option value=""><?= lang('Facturas.todos')?></option>
|
||||
<option value="cheque"><?= lang('Facturas.cheque') ?></option>
|
||||
<option value="compensada"><?= lang('Facturas.compensada') ?></option>
|
||||
<option value="confirming"><?= lang('Facturas.confirming') ?></option>
|
||||
<option value="giroDomiciliado"><?= lang('Facturas.giroDomiciliado') ?></option>
|
||||
<option value="pagare"><?= lang('Facturas.pagare') ?></option>
|
||||
<option value="transferencia"><?= lang('Facturas.transferencia') ?></option>
|
||||
</select>
|
||||
</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th><input type="text" class="form-control factura-filter" name="dias_vencimiento"></th>
|
||||
<?php endif; ?>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@ -71,13 +103,31 @@
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
|
||||
|
||||
<?= $this->section('additionalInlineJs') ?>
|
||||
|
||||
|
||||
window.datepickerLang = <?= $datepickerLang; ?>;
|
||||
window.datepickerLocale ='<?= $datepickerLocale; ?>';
|
||||
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
|
||||
|
||||
<?= $this->section('css') ?>
|
||||
<link rel="stylesheet"
|
||||
href="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/buttons.bootstrap5.min.css") ?>">
|
||||
<link rel="stylesheet"
|
||||
href="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/fixedheader/fixedHeader.dataTables.min.css") ?>">
|
||||
<link rel="stylesheet"
|
||||
href="<?= site_url('themes/vuexy/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.css') ?>" />
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
|
||||
<?= $this->section('additionalExternalJs') ?>
|
||||
<script src="<?= site_url('themes/vuexy/vendor/libs/moment/moment.js') ?>"></script>
|
||||
<script
|
||||
src="<?= site_url('themes/vuexy/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js') ?>"></script>
|
||||
<script
|
||||
src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/buttons/dataTables.buttons.min.js") ?>"></script>
|
||||
<script
|
||||
|
||||
@ -86,13 +86,13 @@
|
||||
<label class="form-label"><?= lang('Tickets.prioridad') ?></label>
|
||||
<select id="prioridad" name="prioridad" class="form-control">
|
||||
<option value="baja" <?= $ticket->prioridad == 'baja' ? ' selected' : '' ?>>
|
||||
<?= lang('Tickets.alta') ?>
|
||||
<?= lang('Tickets.baja') ?>
|
||||
</option>
|
||||
<option value="media" <?= $ticket->prioridad == 'media' ? ' selected' : '' ?>>
|
||||
<?= lang('Tickets.media') ?>
|
||||
</option>
|
||||
<option value="alta" <?= $ticket->prioridad == 'alta' ? ' selected' : '' ?>>
|
||||
<?= lang('Tickets.baja') ?>
|
||||
<?= lang('Tickets.alta') ?>
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user