mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
ot general features
This commit is contained in:
@ -28,6 +28,7 @@ class OrdenTrabajoDateEntity extends Entity
|
||||
"retractilado5_at"=> null,
|
||||
"prototipo_at"=> null,
|
||||
"marcapaginas_at"=> null,
|
||||
"espiral_at"=> null,
|
||||
//FERRO
|
||||
"pendiente_ferro_at" => null,
|
||||
"ferro_en_cliente_at" => null,
|
||||
|
||||
@ -153,4 +153,14 @@ class OrdenTrabajoEntity extends Entity
|
||||
}
|
||||
return $portada_path;
|
||||
}
|
||||
public function getEstadoText(): string
|
||||
{
|
||||
$estados = [
|
||||
"E" => lang('Produccion.error'),
|
||||
"I" => lang('Produccion.iniciada'),
|
||||
"F" => lang('Produccion.finalizada'),
|
||||
"PM" => lang("Produccion.pendiente_material")
|
||||
];
|
||||
return $estados[$this->attributes["estado"]];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user