mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en totales
This commit is contained in:
@ -134,29 +134,13 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity
|
||||
"lomo" => null,
|
||||
"isDig" => false,
|
||||
"total_presupuesto" => null,
|
||||
"total_pedido" => null,
|
||||
"total_peso" => null,
|
||||
"total_click" => null,
|
||||
"total_preimpresion" => null,
|
||||
"total_preimpresion_margen" => null,
|
||||
"total_manipulado" => null,
|
||||
"total_acabado" => null,
|
||||
"total_envios" => null,
|
||||
"envios_recoge_cliente" => false,
|
||||
"margen" => null,
|
||||
"margen_extra" => 0.0,
|
||||
"margen_manual" => null,
|
||||
"descuento" => 0.0,
|
||||
"base_imponible" => null,
|
||||
"total_margen" => null,
|
||||
"total_margen_extra" => null,
|
||||
"total_descuento" => null,
|
||||
"total" => null,
|
||||
"forzar_total" => 0,
|
||||
"total_calculado" => null,
|
||||
"total_confirmado" => null,
|
||||
"total_confirmado_user_id" => null,
|
||||
"total_confirmado_update_at" => null,
|
||||
"tirada_alternativa_json_data" => null,
|
||||
"aprobado_user_id" => null,
|
||||
"aprobado_at" => null,
|
||||
@ -177,6 +161,23 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity
|
||||
"updated_at" => null,
|
||||
"comp_tipo_impresion" => null,
|
||||
"comp_pos_paginas_color" => null,
|
||||
"total_coste_papel" => null,
|
||||
"total_margen_papel" => null,
|
||||
"total_margenPercent_papel" => null,
|
||||
"total_coste_impresion" => null,
|
||||
"total_margen_impresion" => null,
|
||||
"total_margenPercent_impresion" => null,
|
||||
"total_coste_servicios" => null,
|
||||
"total_margen_servicios" => null,
|
||||
"total_margenPercent_servicios" => null,
|
||||
"total_coste_envios" => null,
|
||||
"total_margen_envios" => null,
|
||||
"total_costes" => null,
|
||||
"total_margenes" => null,
|
||||
"total_antes_descuento" => null,
|
||||
"total_descuento" => null,
|
||||
"total_presupuesto" => null,
|
||||
"total_precio_unidad" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"version" => "int",
|
||||
@ -291,31 +292,33 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity
|
||||
"lomo" => "?int",
|
||||
"isDig" => "boolean",
|
||||
"total_presupuesto" => "?float",
|
||||
"total_pedido" => "?float",
|
||||
"total_peso" => "?float",
|
||||
"total_click" => "?float",
|
||||
"total_preimpresion" => "?float",
|
||||
"total_preimpresion_margen" => "?float",
|
||||
"total_manipulado" => "?float",
|
||||
"total_acabado" => "?float",
|
||||
"total_envios" => "?float",
|
||||
"envios_recoge_cliente" => "boolean",
|
||||
"margen" => "?float",
|
||||
"margen_extra" => "float",
|
||||
"margen_manual" => "?float",
|
||||
"descuento" => "float",
|
||||
"base_imponible" => "?float",
|
||||
"total_margen" => "?float",
|
||||
"total_margen_extra" => "?float",
|
||||
"total_descuento" => "?float",
|
||||
"total" => "?float",
|
||||
"forzar_total" => "float",
|
||||
"total_calculado" => "?float",
|
||||
"total_confirmado" => "?float",
|
||||
"total_confirmado_user_id" => "?int",
|
||||
"aprobado_user_id" => "?int",
|
||||
"fecha_entrega_real_aviso" => "?boolean",
|
||||
"pedido_espera_user_id" => "?int",
|
||||
"is_deleted" => "int",
|
||||
"total_coste_papel" => "?float",
|
||||
"total_margen_papel" => "?float",
|
||||
"total_margenPercent_papel" => "?float",
|
||||
"total_coste_impresion" => "?float",
|
||||
"total_margen_impresion" => "?float",
|
||||
"total_margenPercent_impresion" => "?float",
|
||||
"total_coste_servicios" => "?float",
|
||||
"total_margen_servicios" => "?float",
|
||||
"total_margenPercent_servicios" => "?float",
|
||||
"total_coste_envios" => "?float",
|
||||
"total_margen_envios" => "?float",
|
||||
"total_costes" => "?float",
|
||||
"total_margenes" => "?float",
|
||||
"total_antes_descuento" => "?float",
|
||||
"total_descuento" => "?float",
|
||||
"total_presupuesto" => "?float",
|
||||
"total_precio_unidad" => "?float",
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user