Merge branch 'main' into 'feat/soporte'

create migration to add check_presupuesto_cliente column to tarifas tables...

See merge request jjimenez/safekat!554
This commit is contained in:
2025-02-20 08:59:47 +00:00
45 changed files with 384 additions and 63 deletions

View File

@ -13,11 +13,13 @@ class PapelGenerico extends \CodeIgniter\Entity\Entity
"show_in_client" => false,
"show_in_client_special" => false,
"is_deleted" => 0,
"activo" => false,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"show_in_client" => "boolean",
"activo" => "boolean",
"show_in_client_special" => "boolean",
"is_deleted" => "int",
];

View File

@ -13,6 +13,7 @@ class TarifaAcabadoEntity extends \CodeIgniter\Entity\Entity
"precio_min" => 0,
"importe_fijo" => 0,
"mostrar_en_presupuesto" => 1,
"mostrar_en_presupuesto_cliente" => 0,
"acabado_cubierta" => 0,
"acabado_sobrecubierta" => 0,
"user_created_id" => 0,

View File

@ -11,6 +11,7 @@ class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
"nombre" => null,
"code" => null,
"mostrar_en_presupuesto" => 1,
"mostrar_en_presupuesto_cliente" => 0,
"tipo_encuadernacion" => 0,
"servicio_encuadernacion" => 0,
"por_horas" => 0,
@ -23,6 +24,7 @@ class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
];
protected $casts = [
"mostrar_en_presupuesto" => "int",
"mostrar_en_presupuesto_cliente" => "bool",
"code" => "string",
"tipo_encuadernacion" => "int",
"servicio_encuadernacion" => "int",

View File

@ -14,6 +14,7 @@ class TarifaManipuladoEntity extends \CodeIgniter\Entity\Entity
"precio_min" => 0,
"importe_fijo" => 0,
"mostrar_en_presupuesto" => 1,
"mostrar_en_presupuesto_cliente" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
@ -27,6 +28,7 @@ class TarifaManipuladoEntity extends \CodeIgniter\Entity\Entity
"code" => "string",
"comment" => "string",
"mostrar_en_presupuesto" => "int",
"mostrar_en_presupuesto_cliente" => "bool",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",

View File

@ -13,6 +13,7 @@ class TarifaextraEntity extends \CodeIgniter\Entity\Entity
"precio" => null,
"margen" => 0,
"mostrar_en_presupuesto" => 1,
"mostrar_en_presupuesto_cliente" => false,
"user_created_id" => 1,
"user_update_id" => 1,
"is_deleted" => 0,
@ -26,6 +27,7 @@ class TarifaextraEntity extends \CodeIgniter\Entity\Entity
"comment" => "string",
"margen" => "float",
"mostrar_en_presupuesto" => "int",
"mostrar_en_presupuesto_cliente" => "bool",
"user_created_id" => "int",
"user_update_id" => "int",
"is_deleted" => "int",

View File

@ -13,6 +13,7 @@ class TarifapreimpresionEntity extends \CodeIgniter\Entity\Entity
"precio" => null,
"margen" => 0,
"mostrar_en_presupuesto" => 1,
"mostrar_en_presupuesto_cliente" => false,
"user_created_id" => 1,
"user_update_id" => 1,
"is_deleted" => 0,
@ -26,6 +27,7 @@ class TarifapreimpresionEntity extends \CodeIgniter\Entity\Entity
"code" => "string",
"comment" => "string",
"mostrar_en_presupuesto" => "int",
"mostrar_en_presupuesto_cliente" => "bool",
"user_created_id" => "int",
"user_update_id" => "int",
"is_deleted" => "int",