añadido botón duplicar presupuesto en cliente

This commit is contained in:
2025-02-08 22:34:31 +01:00
parent a138330e24
commit 5ad2fcd566
4 changed files with 44 additions and 5 deletions

View File

@ -638,6 +638,7 @@ $routes->group('presupuestoadmin', ['namespace' => 'App\Controllers\Presupuestos
$routes->get('papelimpresion', 'Presupuestoadmin::getPapelImpresion');
$routes->get('maquinas', 'Presupuestoadmin::getMaquinas');
$routes->post('getlinea', 'Presupuestoadmin::getLineaPresupuesto');
$routes->post('clone', 'Presupuestoadmin::datatable_2');
});
$routes->resource('presupuestoadmin', ['namespace' => 'App\Controllers\Presupuestos', 'controller' => 'Presupuestoadmin', 'except' => 'show,new,create,update']);

View File

@ -24,7 +24,7 @@ return [
"global_disable" => "Desactivar",
"global_active" => "Activo",
"global_inactive" => "Inactivo",
"global_copy" => "Dupdo",
"global_copy" => "Duplicar",
"global_print" => "Impresión",
"global_print2" => "Imprimir",
"global_confirm" => "Confirmar",

View File

@ -18,8 +18,14 @@
<?php endif; ?>
</div>
<div class="ms-auto">
<div id="cloneForm" class="btn mt-3 btn-info waves-effect waves-light ml-2 d-none">
<span class="align-middle d-sm-inline-block d-none me-sm-1"></i><?= lang('App.global_copy') ?></span>
</div>
<?php if ($state != 2): ?>
<div id="btnConfirm" class="btn mt-3 btn-success waves-effect waves-light ml-2 d-none">