añadidos los ficheros de papel impresion margenes. Faltan rutas y js del formulario

This commit is contained in:
Jaime Jimenez
2023-08-21 18:36:56 +02:00
parent aab3b89cfc
commit 71044d1e14
9 changed files with 800 additions and 502 deletions

View File

@ -11,15 +11,10 @@ class PapelImpresion extends \CodeIgniter\Entity\Entity
"nombre" => null,
"defecto" => false,
"referencia" => null,
"ancho" => null,
"alto" => null,
"mano" => null,
"espesor" => 0.0,
"gramaje" => null,
"precio_tonelada" => null,
"margen" => null,
"peso_por_pliego" => null,
"precio_pliego" => null,
"bn" => true,
"color" => true,
"cubierta" => false,
@ -32,14 +27,10 @@ class PapelImpresion extends \CodeIgniter\Entity\Entity
protected $casts = [
"papel_generico_id" => "int",
"defecto" => "boolean",
"ancho" => "float",
"alto" => "float",
"mano" => "float",
"espesor" => "float",
"gramaje" => "float",
"precio_tonelada" => "float",
"peso_por_pliego" => "float",
"precio_pliego" => "float",
"bn" => "boolean",
"color" => "boolean",
"cubierta" => "boolean",

View File

@ -0,0 +1,30 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class PapelImpresionMargen extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"papel_impresion_id" => 0,
"paginas_min" => 0,
"paginas_max" => 0,
"margen" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tirada_encuadernacion_id" => "int",
"paginas_min" => "float",
"paginas_max" => "float",
"margen" => "float",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",
];
}