mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Implementados botones de imprimir factura y exportar lineas pedido
This commit is contained in:
@ -191,15 +191,15 @@
|
||||
<?= lang("Basic.global.edit") ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-label-primary float-start me-sm-3 me-1"
|
||||
name="exportar_lineas"
|
||||
id="exportar_lineas" >
|
||||
<span class="ti-xs ti ti-file-spreadsheet me-1"></span>
|
||||
<?= lang("Facturas.exportarLineas") ?>
|
||||
</button>
|
||||
|
||||
<?= anchor(
|
||||
route_to("lineasToExcel", $facturaEntity->id),
|
||||
'<span class="ti-xs ti ti-file-spreadsheet me-1"></span>' .
|
||||
lang("Facturas.exportarLineas"),
|
||||
[
|
||||
"class" => "btn btn-label-primary float-start me-sm-3 me-1",
|
||||
]
|
||||
) ?>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@ -44,13 +44,21 @@
|
||||
value="<?= lang("Facturas.borrarFactura") ?>"
|
||||
/>
|
||||
<?php endif; ?>
|
||||
<input type="button"
|
||||
class="btn btn-info float-start me-sm-3 me-1"
|
||||
id="imprimirFactura"
|
||||
name="imprimirFactura"
|
||||
value="<?= lang("Facturas.imprimirFactura") ?>"
|
||||
/>
|
||||
<?= anchor(route_to("facturasList"), lang("Basic.global.back"), ["class" => "btn btn-secondary float-start"]) ?>
|
||||
<?= anchor(
|
||||
route_to("facturaToPdf", $facturaEntity->id),
|
||||
lang("Facturas.imprimirFactura"),
|
||||
[
|
||||
"class" => "btn btn-info float-start me-sm-3 me-1",
|
||||
"target" => "_blank"
|
||||
]
|
||||
) ?>
|
||||
<?= anchor(
|
||||
route_to("facturasList"),
|
||||
lang("Basic.global.back"),
|
||||
[
|
||||
"class" => "btn btn-secondary float-start"
|
||||
]
|
||||
) ?>
|
||||
</div><!-- /.card-footer -->
|
||||
</form>
|
||||
</div><!-- //.card -->
|
||||
|
||||
Reference in New Issue
Block a user