mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
update with pedido espera
This commit is contained in:
@ -755,6 +755,9 @@ class ProductionService extends BaseService
|
|||||||
|
|
||||||
public function updateOrdenTrabajo($data): bool
|
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);
|
return $this->otModel->update($this->ot->id, $data);
|
||||||
}
|
}
|
||||||
/**========================================================================
|
/**========================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user