update with pedido espera

This commit is contained in:
amazuecos
2025-04-06 06:01:32 +02:00
parent 5051bddf36
commit 7a316d9b81

View File

@ -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);
}
/**========================================================================