add new dates

This commit is contained in:
amazuecos
2025-04-14 23:36:39 +02:00
parent ebf0a9d5d7
commit 14c5cf493c
11 changed files with 139 additions and 7 deletions

View File

@ -21,6 +21,9 @@ class OrdenTrabajoDateEntity extends Entity
"corte_at" => null,
"preparacion_interiores_at" => null,
"entrada_manipulado_at" => null,
"cosido_at" => null,
"solapa_at" => null,
"cosido_at" => null,
//FERRO
"pendiente_ferro_at" => null,
"ferro_en_cliente_at" => null,
@ -77,4 +80,16 @@ class OrdenTrabajoDateEntity extends Entity
{
return $this->attributes['corte_at'] != null;
}
public function cosidoStatus():bool
{
return $this->attributes['cosido_at'] != null;
}
public function grapadoStatus():bool
{
return $this->attributes['grapado_at'] != null;
}
public function solapaStatus():bool
{
return $this->attributes['solapa_at'] != null;
}
}