Merge branch 'dev/ui_fixing' into 'main'

Dev/ui fixing

See merge request jjimenez/safekat!29
This commit is contained in:
Ignacio Martinez Navajas
2023-07-12 10:38:54 +00:00
6185 changed files with 6817 additions and 317295 deletions

View File

@ -0,0 +1,85 @@
<?php
namespace App\Entities\Clientes;
use CodeIgniter\Entity;
class ClienteEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"alias" => null,
"cif" => null,
"direccion" => null,
"ciudad" => null,
"comunidad_autonoma_id" => null,
"provincia_id" => 0,
"cp" => null,
"pais_id" => null,
"telefono" => null,
"email" => null,
"comercial_id" => 1,
"soporte_id" => 1,
"forma_pago_id" => null,
"vencimiento" => 15,
"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,
"credito_solunion" => null,
"credito_asegurado" => false,
"ccc" => null,
"ccc_cliente" => null,
"num_cuenta" => null,
"disponible_fe" => false,
"message_tracking" => true,
"message_production_start" => true,
"tirada_flexible" => false,
"descuento_tirada_flexible" => 20.0,
"comentarios_tirada_flexible" => null,
"saturacion" => 100.0,
"tienda_id" => null,
"margen_plantilla_id" => null,
"comentarios_produccion" => null,
"ps_customer_id" => null,
"lineasEnvioFactura" => true,
"comentarios" => null,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
"user_created_id" => 1,
"user_update_id" => 1,
];
protected $casts = [
"comunidad_autonoma_id" => "?int",
"provincia_id" => "int",
"pais_id" => "?int",
"comercial_id" => "int",
"soporte_id" => "int",
"forma_pago_id" => "?int",
"vencimiento" => "int",
"margen" => "float",
"margen_pod" => "?float",
"descuento" => "float",
"limite_credito" => "float",
"limite_credito_user_id" => "int",
"credito_asegurado" => "?boolean",
"disponible_fe" => "boolean",
"message_tracking" => "boolean",
"message_production_start" => "boolean",
"tirada_flexible" => "boolean",
"descuento_tirada_flexible" => "float",
"saturacion" => "float",
"tienda_id" => "?int",
"margen_plantilla_id" => "?int",
"ps_customer_id" => "?int",
"lineasEnvioFactura" => "boolean",
"is_deleted" => "int",
"user_created_id" => "int",
"user_update_id" => "int",
];
}

View File

@ -0,0 +1,18 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class ComunidadAutonomaEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"pais_id" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"pais_id" => "int",
];
}

View File

@ -0,0 +1,18 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class ComunidadesAutonomasEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"pais_id" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"pais_id" => "int",
];
}

View File

@ -0,0 +1,15 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class FormaPagoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [];
}

View File

@ -0,0 +1,15 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class FormasPagoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [];
}

View File

@ -0,0 +1,22 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class PaisEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"code" => null,
"code3" => null,
"moneda" => null,
"url_erp" => null,
"user_erp" => null,
"key_erp" => null,
"show_erp" => false,
];
protected $casts = [
"show_erp" => "boolean",
];
}

View File

@ -0,0 +1,19 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class ProvinciaEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"code" => null,
"nombre" => null,
"pais_id" => 1,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"pais_id" => "int",
];
}

View File

@ -8,6 +8,8 @@ class TarifaacabadoEntity extends \CodeIgniter\Entity\Entity
protected $attributes = [
"id" => null,
"nombre" => null,
"precio_min" => 0,
"importe_fijo" => 0,
"user_created_id" => 0,
"user_update_id" => 0,
"is_deleted" => 0,