terminado editar cliente

This commit is contained in:
2024-05-22 13:22:14 +02:00
parent 44c5595173
commit 3d80216780
9 changed files with 14218 additions and 47 deletions

View File

@ -861,6 +861,7 @@ class Cosidotapablanda extends \App\Controllers\BaseResourceController
$presupuesto = $this->model->find($id);
$presupuesto->titulo = $presupuesto->titulo .' - ' . lang('Presupuestos.duplicado');
$presupuesto->is_duplicado = 1;
$presupuesto->estado_id = 1;
$new_id = $this->model->insert($presupuesto);
$presupuestoAcabadosModel = model('App\Models\Presupuestos\PresupuestoAcabadosModel');