From 7a316d9b81dc9958e80bee55e2d340ad3ed6a9b8 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Sun, 6 Apr 2025 06:01:32 +0200 Subject: [PATCH] update with pedido espera --- ci4/app/Services/ProductionService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci4/app/Services/ProductionService.php b/ci4/app/Services/ProductionService.php index fe6568ee..f758c344 100644 --- a/ci4/app/Services/ProductionService.php +++ b/ci4/app/Services/ProductionService.php @@ -755,6 +755,9 @@ class ProductionService extends BaseService public function updateOrdenTrabajo($data): bool { + if(isset($data["is_pedido_espera"])){ + $data["pedido_espera_by"] = auth()->user()->id; + } return $this->otModel->update($this->ot->id, $data); } /**========================================================================