mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
dates users ot
This commit is contained in:
@ -15,28 +15,35 @@ class OrdenTrabajoUserEntity extends Entity
|
||||
"orden_trabajo_id" => null,
|
||||
"user_created_id" => null,
|
||||
"user_update_id" => null,
|
||||
"inaplazable_revised_change_user_id" => null,
|
||||
"ferro_disponible_hecho_user_id" => null,
|
||||
"ferro_disponible_ok_user_id" => null,
|
||||
"ferro_entregado_user_id" => null,
|
||||
"pendiente_ferro_user_id" => null,
|
||||
"ferro_en_cliente_user_id" => null,
|
||||
"ferro_ok_user_id" => null,
|
||||
//IMPRESION
|
||||
"interior_bn_user_id" => null,
|
||||
"interior_color_user_id" => null,
|
||||
"preparacion_interior_user_id" => null,
|
||||
"cubierta_user_id" => null,
|
||||
//ACABADO
|
||||
"plastificado_user_id" => null,
|
||||
"encuadernacion_user_id" => null,
|
||||
"corte_user_id" => null,
|
||||
"embalaje_user_id" => null,
|
||||
"preparacion_interior_user_id" => null,
|
||||
"entrada_manipulado_user_id" => null,
|
||||
//FERRO
|
||||
"pendiente_ferro_user_id" => null,
|
||||
"ferro_en_cliente_user_id" => null,
|
||||
"ferro_ok_user_id" => null,
|
||||
//ENVIO
|
||||
"embalaje_user_id" => null,
|
||||
"envio_user_id" => null,
|
||||
//PREIMPRESION
|
||||
"pre_formato_user_id" => null,
|
||||
"pre_lomo_user_id" => null,
|
||||
"pre_solapa_user_id" => null,
|
||||
"pre_codbarras_user_id" => null,
|
||||
"pre_imposicion_user_id" => null,
|
||||
"pre_imprimir_user_id" => null
|
||||
//UNUSED
|
||||
"inaplazable_revised_change_user_id" => null,//!DELETE
|
||||
"ferro_disponible_hecho_user_id" => null,//!DELETE
|
||||
"ferro_entregado_user_id" => null,//!DELETE
|
||||
"pre_imprimir_user_id" => null, //!DELETE
|
||||
"ferro_disponible_ok_user_id" => null, //!DELETE
|
||||
];
|
||||
// protected array $casts = [
|
||||
// "orden_trabajo_id" => "integer",
|
||||
@ -66,7 +73,7 @@ class OrdenTrabajoUserEntity extends Entity
|
||||
// "pre_imprimir_user_id" => "?integer"
|
||||
// ];
|
||||
|
||||
protected function userBy(string $key): ?UserEntity
|
||||
public function userBy(string $key): ?UserEntity
|
||||
{
|
||||
$user = null;
|
||||
if (isset($this->attributes[$key])) {
|
||||
|
||||
Reference in New Issue
Block a user