mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
ya se puede confirmar
This commit is contained in:
@ -295,6 +295,12 @@ class Cosidotapablanda extends \App\Controllers\BaseResourceController
|
||||
endif;
|
||||
else :
|
||||
if ($this->request->isAJAX()) {
|
||||
|
||||
if($presupuestoEntity->estado_id==1 && $presupuestoEntity->confirmar==1){
|
||||
$this->model->confirmarPresupuesto($id);
|
||||
PresupuestoService::crearPedido($id);
|
||||
}
|
||||
|
||||
$newTokenHash = csrf_hash();
|
||||
$csrfTokenName = csrf_token();
|
||||
$data = [
|
||||
|
||||
Reference in New Issue
Block a user