mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
add check preimpresion when imported from Bubok or Catalogo
This commit is contained in:
@ -361,7 +361,7 @@ class ImportadorBubok extends BaseResourceController
|
||||
|
||||
// confirmar y crear pedido y ot
|
||||
$presupuestoModel->confirmarPresupuesto($response['sk_id']);
|
||||
PresupuestoService::crearPedido($response['sk_id']);
|
||||
PresupuestoService::crearPedido($response['sk_id'],isImported:true);
|
||||
|
||||
|
||||
if (!isset($response['sk_id'])) {
|
||||
|
||||
@ -359,7 +359,7 @@ class ImportadorCatalogo extends BaseResourceController
|
||||
|
||||
// confirmar y crear pedido y ot
|
||||
model('App\Models\Presupuestos\PresupuestoModel')->confirmarPresupuesto($response['data']['sk_id']);
|
||||
PresupuestoService::crearPedido($response['data']['sk_id']);
|
||||
PresupuestoService::crearPedido($response['data']['sk_id'],isImported:true);
|
||||
|
||||
return $this->respond($response);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user