terminadas LP

This commit is contained in:
Jaime Jiménez
2024-01-07 17:26:42 +01:00
parent 052a8a79e8
commit c11c541768
7 changed files with 304 additions and 281 deletions

View File

@ -29,6 +29,7 @@ class PresupuestoLineaEntity extends \CodeIgniter\Entity\Entity
"precio" => null,
"total_papel_pedido" => null,
"margen_papel_pedido" => null,
"margen_impresion" => null,
"rotativa_impresion" => null,
"rotativa_pag_color" => 0,
"rotativa_set_values" => false,
@ -65,9 +66,15 @@ class PresupuestoLineaEntity extends \CodeIgniter\Entity\Entity
"rotativa_tiempo_corte" => 0,
"rotativa_precio_hora_corte" => 0,
"rotativa_total_corte" => 0,
"isActiva" => false,
"check_impresion_total" => false,
"check_papel_total" => false,
"maquina" => null,
"papel_impresion" => null,
"maquina_tipo" => 'toner',
"horas_maquina" => 0,
"precio_hora" => 0,
"precio_impresion" => 0,
"total_linea" => 0,
];
protected $casts = [
"presupuesto_id" => "int",
@ -89,6 +96,7 @@ class PresupuestoLineaEntity extends \CodeIgniter\Entity\Entity
"precio" => "?float",
"total_papel_pedido" => "?float",
"margen_papel_pedido" => "?float",
"margen_impresion" => "?float",
"rotativa_pag_color" => "int",
"rotativa_set_values" => "boolean",
"rotativa_negro" => "float",
@ -124,8 +132,11 @@ class PresupuestoLineaEntity extends \CodeIgniter\Entity\Entity
"rotativa_tiempo_corte" => "float",
"rotativa_precio_hora_corte" => "float",
"rotativa_total_corte" => "float",
"isActiva" => "boolean",
"check_impresion_total" => "boolean",
"check_papel_total" => "boolean",
"horas_maquina" => "double",
"precio_hora" => "double",
"precio_impresion" => "double",
"total_linea" => "double",
];
}