ot general features

This commit is contained in:
amazuecos
2025-04-16 15:51:09 +02:00
parent 7ee844fb0c
commit c76f4428a6
15 changed files with 427 additions and 96 deletions

View File

@ -152,8 +152,13 @@ class Ordentrabajo extends BaseController
$this->viewData["presupuesto"] = $this->produccionService->getPresupuesto();
$this->viewData["cliente"] = $this->produccionService->getCliente();
$this->viewData["ot"] = $this->produccionService->getOrdenTrabajo();
$this->viewData["is_finalizada"] = $this->produccionService->getOrdenTrabajo()->estado == "F";
$this->viewData["user_dates"] = $this->produccionService->userDates();
$this->viewData["pedido_user_dates"] = $this->produccionService->pedidoUserDates();
$this->viewData["colors"] = $this->produccionService->getPdfColors();
$this->viewData["tiempo_estimado"] = $this->produccionService->getTiempoProcesamientoHHMM();
$this->viewData["flags"] = $this->produccionService->getFlags();
return view(static::$viewPath . $this->editRoute, $this->viewData);
}