mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
remove preimpresion check default when create an ot
This commit is contained in:
@ -1911,7 +1911,7 @@ class PresupuestoService extends BaseService
|
|||||||
$serviceProduction->setPedido($pedido);
|
$serviceProduction->setPedido($pedido);
|
||||||
if (!$pedido->orden_trabajo()) {
|
if (!$pedido->orden_trabajo()) {
|
||||||
|
|
||||||
$r = $serviceProduction->createOrdenTrabajo(true);
|
$r = $serviceProduction->createOrdenTrabajo();
|
||||||
$modelPedido->set(['estado' => 'produccion'])->where('id', $pedido_id)->update();
|
$modelPedido->set(['estado' => 'produccion'])->where('id', $pedido_id)->update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user