mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
add new dates
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,6 +25,9 @@ class OrdenTrabajoUserEntity extends Entity
|
||||
"corte_user_id" => null,
|
||||
"preparacion_interior_user_id" => null,
|
||||
"entrada_manipulado_user_id" => null,
|
||||
"cosido_user_id"=> null,
|
||||
"solapa_user_id"=> null,
|
||||
"grapado_user_id"=> null,
|
||||
//FERRO
|
||||
"pendiente_ferro_user_id" => null,
|
||||
"ferro_en_cliente_user_id" => null,
|
||||
|
||||
Reference in New Issue
Block a user