Añadida funcion clientes desde ozar

This commit is contained in:
imnavajas
2023-07-12 12:35:31 +02:00
parent 42a20b93b0
commit 90d63432d6
49 changed files with 3119 additions and 970 deletions

View File

@ -9,29 +9,30 @@ class ClienteEntity extends \CodeIgniter\Entity\Entity
"id" => null,
"nombre" => null,
"alias" => null,
"cif" => null,
"direccion" => null,
"ciudad" => null,
"comunidad_autonoma_id" => null,
"provincia" => null,
"provincia_id" => 0,
"cp" => null,
"pais_id" => null,
"telefono" => null,
"email" => null,
"salesman_id" => 1,
"soporte_id" => null,
"comercial_id" => 1,
"soporte_id" => 1,
"forma_pago_id" => null,
"vencimiento" => 15,
"fechaVencimiento" => null,
"fecha_vencimiento" => null,
"margen" => 40.0,
"margen_pod" => null,
"descuento" => 0.0,
"limite_credito" => 0.0,
"limite_credito_user_id" => 1,
"limite_credito_change_at" => null,
"creditoSolunion" => null,
"creditoAsegurado" => false,
"credito_solunion" => null,
"credito_asegurado" => false,
"ccc" => null,
"ccc_customer" => null,
"ccc_cliente" => null,
"num_cuenta" => null,
"disponible_fe" => false,
"message_tracking" => true,
@ -46,6 +47,8 @@ class ClienteEntity extends \CodeIgniter\Entity\Entity
"ps_customer_id" => null,
"lineasEnvioFactura" => true,
"comentarios" => null,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
"user_created_id" => 1,
@ -53,9 +56,10 @@ class ClienteEntity extends \CodeIgniter\Entity\Entity
];
protected $casts = [
"comunidad_autonoma_id" => "?int",
"provincia_id" => "int",
"pais_id" => "?int",
"salesman_id" => "int",
"soporte_id" => "?int",
"comercial_id" => "int",
"soporte_id" => "int",
"forma_pago_id" => "?int",
"vencimiento" => "int",
"margen" => "float",
@ -63,7 +67,7 @@ class ClienteEntity extends \CodeIgniter\Entity\Entity
"descuento" => "float",
"limite_credito" => "float",
"limite_credito_user_id" => "int",
"creditoAsegurado" => "?boolean",
"credito_asegurado" => "?boolean",
"disponible_fe" => "boolean",
"message_tracking" => "boolean",
"message_production_start" => "boolean",
@ -74,6 +78,7 @@ class ClienteEntity extends \CodeIgniter\Entity\Entity
"margen_plantilla_id" => "?int",
"ps_customer_id" => "?int",
"lineasEnvioFactura" => "boolean",
"is_deleted" => "int",
"user_created_id" => "int",
"user_update_id" => "int",
];