terminada funcionalidad reimpresion presupuestos

This commit is contained in:
2025-05-30 14:52:48 +02:00
parent 81393317b7
commit be16690f73
7 changed files with 323 additions and 146 deletions

View File

@ -93,11 +93,19 @@
<?php if (str_contains($formAction, 'edit')): ?>
<?= anchor(route_to("presupuestoToPdf", $presupuestoId), lang("Basic.global.Print"), ["class" => "btn btn-dark float-start me-sm-3 me-1",'target' => '_blank']) ?>
<input type="button"
class="btn btn-info float-start me-sm-3 me-1"
class="btn btn-primary float-start me-sm-3 me-1"
name="clone"
id="cloneForm"
value="<?= lang("Basic.global.Clone") ?>"
/>
<?php if($presupuestoEntity->estado_id == 2): ?>
<input type="button"
class="btn btn-primary float-start me-sm-3 me-1"
name="reprint"
id="reprint"
value="<?= lang("Presupuestos.reprint") ?>"
/>
<?php endif; ?>
<?php endif; ?>
<?= anchor(route_to("presupuestoAdminList", $tipo_impresion_id), lang("Basic.global.Cancel"), ["class" => "btn btn-secondary float-start",]) ?>
</div>