From 7ee844fb0cbe6eb3f2b03e64489a1f358f2af4ec Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 16 Apr 2025 09:14:16 +0200 Subject: [PATCH 01/15] colores header pdf ot --- ci4/app/Config/OrdenTrabajo.php | 58 +++++- .../Controllers/Produccion/Ordentrabajo.php | 8 +- .../PresupuestoAcabadosEntity.php | 1 + .../Presupuestos/PresupuestoEntity.php | 1 + .../Produccion/OrdenTrabajoEntity.php | 5 + .../Tarifas/Acabados/TarifaAcabadoEntity.php | 5 + .../Models/OrdenTrabajo/OrdenTrabajoModel.php | 2 +- ci4/app/Services/ProductionService.php | 179 +++++++++++++++++- .../Views/themes/vuexy/pdfs/orden_trabajo.php | 141 ++++++++------ .../assets/js/safekat/pages/pdf/otDownload.js | 1 - httpdocs/themes/vuexy/css/pdf.ot.css | 2 +- 11 files changed, 326 insertions(+), 77 deletions(-) diff --git a/ci4/app/Config/OrdenTrabajo.php b/ci4/app/Config/OrdenTrabajo.php index 2c9a9474..dcedbdc3 100644 --- a/ci4/app/Config/OrdenTrabajo.php +++ b/ci4/app/Config/OrdenTrabajo.php @@ -57,12 +57,66 @@ class OrdenTrabajo extends BaseConfig "cosido" => "#FF0B55", "grapado" => "#FEBA17", "encuadernado" => "#FEBA17", - "corte" => "#67AE6E" + "corte" => "#67AE6E" + ]; + public array $OT_WEEK_COLOR_DAY = [ + ["bg" => "#FFFFFF", "color" => "black"], + ["bg" => "yellow", "color" => "black"], + ["bg" => "purple", "color" => "white"], + ["bg" => "orange", "color" => "white"], + ["bg" => "blue", "color" => "black"], + ["bg" => "pink", "color" => "black"], + ["bg" => "#FFFFFF", "color" => "black"], + ]; + public array $OT_ENCUADERNACION_COLOR = [ + "RF" => ["bg" => "#FF9900", "color" => "white"], + "RFS" => ["bg" => "#FF9900", "color" => "white"], + "RCHV" => ["bg" => "#FF9900", "color" => "blue"], + "RCHVS" => ["bg" => "#FF9900", "color" => "blue"], + "CC2" => ["bg" => "#104861", "color" => "yellow"], + "CC2S" => ["bg" => "#104861", "color" => "yellow"], + "TDF" => ["bg" => "#E49EDD", "color" => "white"], + "TDC" => ["bg" => "#E49EDD", "color" => "blue"], + "default" => ["bg" => "#FFFF00", "color" => "red"], + ]; + public array $OT_BACKGROUND_COLOR = [ + "ferro_digital" => ["bg" => "#BFBFBF","color" => "black"], + "ferro" => ["bg" => "#BFBFBF","color" => "black"], + "prototipo" => ["bg" => "#BFBFBF","color" => "black"], + "pod" => ["bg" => "#47D359","color" => "black"], + "inaplazable" => ["bg" => "red","color" => "white"], + "default" => ["bg" => "#FFFFFF","color" => "black"] + ]; + public array $OT_PAPEL_COLOR = + [ + "blanco" => ["bg" => "#FFFFFF", "color" => "black"], + "ahuesado" => ["bg" => "#FFF2CC", "color" => "black"], + "marfil" => ["bg" => "#FFD966", "color" => "black"], + "volumen_ahuesado" => ["bg" => "#BF8F00", "color" => "black"], + "estucado_mate" => ["bg" => "#BDD7EE", "color" => "black"], + "cartulina" => ["bg" => "#C6E0B4", "color" => "black"], + "default" => ["bg" => "#FFCCFF", "color" => "black"], + ]; + public array $OT_PLASTIFICADO_COLOR = + [ + "BRIL" => ["bg" => "#00B0F0", "color" => "white"], + "MATE" => ["bg" => "#FF0000", "color" => "white"], + "SOFT_TOUCH" => ["bg" => "#00B050", "color" => "white"], + "SANDY" => ["bg" => "#782170", "color" => "white"], + "ANTIRAYADO" => ["bg" => "#E97132", "color" => "white"], + "GOFRADO" => ["bg" => "#FFFF00", "color" => "black"], + "default" => ["bg" => "#FFFFFF", "color" => "black"], + ]; + public array $OT_IMPRESION_INTERIOR_PPAL_COLOR = + [ + "ROTATIVA" => ["bg" => "white", "color" => "red"], + "POD" => ["bg" => "white", "color" => "#47D359"], + "GENERAL" => ["bg" => "white", "color" => "#A02B93"], + "default" => ["bg" => "white", "color" => "black"], ]; public function __construct() { parent::__construct(); } - } diff --git a/ci4/app/Controllers/Produccion/Ordentrabajo.php b/ci4/app/Controllers/Produccion/Ordentrabajo.php index 41bd2391..6ffd2d9d 100755 --- a/ci4/app/Controllers/Produccion/Ordentrabajo.php +++ b/ci4/app/Controllers/Produccion/Ordentrabajo.php @@ -168,7 +168,7 @@ class Ordentrabajo extends BaseController ->add("logo", fn($q) => ["logo" => site_url($logo->get_logo_path($q->presupuesto_linea_tipo)), "imposicion" => $q->imposicion_name,"color" => $this->produccionService->init($q->id)->getOtColorStatus()]) ->edit( "fecha_encuadernado_at", - fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d", $q->fecha_encuadernado_at)->format("d/m/Y") : "" + fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d H:i:s", $q->fecha_encuadernado_at)->format("d/m/Y") : "" ) ->add("action", fn($q) => $q->id) ->toJson(true); @@ -183,7 +183,7 @@ class Ordentrabajo extends BaseController ->add("logo", fn($q) => ["logo" => site_url($logo->get_logo_path($q->presupuesto_linea_tipo)), "imposicion" => $q->imposicion_name,"color" => $this->produccionService->init($q->id)->getOtColorStatus()]) ->edit( "fecha_encuadernado_at", - fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d", $q->fecha_encuadernado_at)->format("d/m/Y") : "" + fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d H:i:s", $q->fecha_encuadernado_at)->format("d/m/Y") : "" ) ->add("action", fn($q) => $q->id) ->toJson(true); @@ -198,7 +198,7 @@ class Ordentrabajo extends BaseController ->add("logo", fn($q) => ["logo" => site_url($logo->get_logo_path($q->presupuesto_linea_tipo)), "imposicion" => $q->imposicion_name,"color" => $this->produccionService->init($q->id)->getOtColorStatus()]) ->edit( "fecha_encuadernado_at", - fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d", $q->fecha_encuadernado_at)->format("d/m/Y") : "" + fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d H:i:s", $q->fecha_encuadernado_at)->format("d/m/Y") : "" ) ->add("action", fn($q) => $q->id) ->toJson(true); @@ -213,7 +213,7 @@ class Ordentrabajo extends BaseController ->add("logo", fn($q) => ["logo" => site_url($logo->get_logo_path($q->presupuesto_linea_tipo)), "imposicion" => $q->imposicion_name,"color" => $this->produccionService->init($q->id)->getOtColorStatus()]) ->edit( "fecha_encuadernado_at", - fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d", $q->fecha_encuadernado_at)->format("d/m/Y") : "" + fn($q) => $q->fecha_encuadernado_at ? Time::createFromFormat("Y-m-d H:i:s", $q->fecha_encuadernado_at)->format("d/m/Y") : "" ) ->add("action", fn($q) => $q->id) ->toJson(true); diff --git a/ci4/app/Entities/Presupuestos/PresupuestoAcabadosEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoAcabadosEntity.php index 0709ccb9..c0ab643e 100755 --- a/ci4/app/Entities/Presupuestos/PresupuestoAcabadosEntity.php +++ b/ci4/app/Entities/Presupuestos/PresupuestoAcabadosEntity.php @@ -54,4 +54,5 @@ class PresupuestoAcabadosEntity extends \CodeIgniter\Entity\Entity $m = model(TarifaAcabadoModel::class); return $m->find($this->attributes["tarifa_acabado_id"]); } + } diff --git a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php index 9fc90892..c9c71790 100755 --- a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php +++ b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php @@ -300,4 +300,5 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity $files = $m->where('presupuesto_id',$this->attributes['id'])->findAll(); return $files ?? []; } + } diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php index 3ac4e474..8bc67adc 100644 --- a/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php +++ b/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php @@ -74,6 +74,11 @@ class OrdenTrabajoEntity extends Entity $m = model(OrdenTrabajoTarea::class); return $m->where("orden_trabajo_id", $this->attributes["id"])->findAll(); } + public function tareas_impresion() : array + { + $m = model(OrdenTrabajoTarea::class); + return $m->where("orden_trabajo_id", $this->attributes["id"])->where("presupuesto_linea_id IS NOT NULL", NULL, FALSE)->findAll() ?? []; + } /** * Devuelve el pedido de la orden de trabajo * diff --git a/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php b/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php index 818d42e1..cb96db44 100644 --- a/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php +++ b/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php @@ -45,4 +45,9 @@ class TarifaAcabadoEntity extends \CodeIgniter\Entity\Entity $ta_maquinas = $m->where('tarifa_acabado_id',$this->attributes['id'])->findAll(); return array_map(fn(TarifaAcabadoMaquinaEntity $ta_maquina) => $ta_maquina->maquina(),$ta_maquinas); } + + public function isUVI(): bool + { + return in_array($this->attributes["code"],["R3D","R2D"]); + } } diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php index 2554d37f..440b4cad 100644 --- a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php +++ b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php @@ -73,7 +73,7 @@ class OrdenTrabajoModel extends Model ->select([ "ordenes_trabajo.id", "ordenes_trabajo.pedido_id", - "orden_trabajo_dates.fecha_encuadernado_at", + "pedidos.fecha_encuadernado as fecha_encuadernado_at", "clientes.nombre as cliente_nombre", "presupuestos.titulo as presupuesto_titulo", "ordenes_trabajo.estado", diff --git a/ci4/app/Services/ProductionService.php b/ci4/app/Services/ProductionService.php index 74d96614..72411210 100644 --- a/ci4/app/Services/ProductionService.php +++ b/ci4/app/Services/ProductionService.php @@ -16,6 +16,7 @@ use CodeIgniter\Config\BaseService; use App\Entities\Configuracion\Maquina as MaquinaEntity; use App\Entities\Produccion\OrdenTrabajoFileEntity; use App\Entities\Produccion\OrdenTrabajoTareaEntity; +use App\Entities\Tarifas\Acabados\TarifaAcabadoEntity; use App\Models\Configuracion\ConfigVariableModel; use App\Models\Configuracion\MaquinaModel; use App\Models\OrdenTrabajo\OrdenTrabajoFileModel; @@ -46,7 +47,10 @@ class ProductionService extends BaseService protected OrdenTrabajoFileModel $otFileModel; protected PedidoModel $pedidoModel; protected UserModel $userModel; + protected ConfigVariableModel $configVariableModel; protected string $defaultMaquinaCorteName = 'HT-1000'; + protected int $podValue = 0; + protected bool $isPOD = false; protected MaquinaEntity $defaultMaquinaCorte; protected MaquinaModel $maquinaModel; protected OrdenTrabajo $ordenTrabajoConfig; @@ -76,6 +80,8 @@ class ProductionService extends BaseService $this->pedidoModel = model(PedidoModel::class); $this->ordenTrabajoConfig = config('OrdenTrabajo'); $this->statusColor = $this->ordenTrabajoConfig->OT_COLORS["sin_imprimir"]; + $this->configVariableModel = model(ConfigVariableModel::class); + $this->podValue = $this->configVariableModel->getVariable('POD')->value; } public function init(int $orden_trabajo_id): self { @@ -106,6 +112,7 @@ class ProductionService extends BaseService $this->otModel = model(OrdenTrabajoModel::class); $this->otDate = model(OrdenTrabajoDate::class); $this->otTarea = model(OrdenTrabajoTarea::class); + $this->isPOD = $this->presupuesto->tirada <= $this->podValue; return $this; } /** @@ -179,8 +186,7 @@ class ProductionService extends BaseService public function reInsertOrdenTrabajoUsers(): int|bool|string { $status = false; - if($this->otUser->where('orden_trabajo_id',$this->ot->id)->countAllResults() == 0) - { + if ($this->otUser->where('orden_trabajo_id', $this->ot->id)->countAllResults() == 0) { $status = $this->storeOrdenTrabajoUsers(); } return $status; @@ -188,8 +194,7 @@ class ProductionService extends BaseService public function reInsertOrdenTrabajoDates(): int|bool|string { $status = false; - if($this->otDate->where('orden_trabajo_id',$this->ot->id)->countAllResults() == 0) - { + if ($this->otDate->where('orden_trabajo_id', $this->ot->id)->countAllResults() == 0) { $status = $this->storeOrdenTrabajoDates(); } return $status; @@ -683,6 +688,10 @@ class ProductionService extends BaseService "peso_pedido" => $logistica_data["peso_pedido"], "imposicion" => $this->getImposicionTareaImpresion(), "tiempo_procesamiento" => $this->getTiempoProcesamientoHHMM(), + "tiempo_impresion" => $this->getTiempoTareasImpresionHHMM(), + "colors" => $this->getPdfColors(), + "isPOD" => $this->isPOD, + "uvi" => $this->getUVI() ]; } @@ -774,7 +783,7 @@ class ProductionService extends BaseService { $result = []; $otDate = $this->otDate->where('orden_trabajo_id', $this->ot->id) - ->set($data['name'],$data[$data['name']]) + ->set($data['name'], $data[$data['name']]) ->update(); $this->otDate->updateUserDateMap($this->ot->id, $data); $ot_users = $this->ot->users(); @@ -1117,6 +1126,24 @@ class ProductionService extends BaseService $seconds = array_sum($time_tareas_seconds); return float_seconds_to_hhmm_string($seconds); } + public function getTiempoTareasImpresionHHMM():string { + $tareas_impresion = $this->ot->tareas_impresion(); + $time_tareas_seconds = array_map(fn($q) => $q->tiempo_estimado ?? 0, $tareas_impresion); + $seconds = array_sum($time_tareas_seconds); + return float_seconds_to_hhmm_string($seconds); + + } + public function getUVI() : ?TarifaAcabadoEntity + { + $uvi = null; + $acabados = $this->presupuesto->acabados(); + foreach ($acabados as $key => $acabado) { + if($acabado->tarifa()->isUVI()){ + $uvi = $acabado->tarifa(); + } + } + return $uvi; + } public function updateProgress(): bool { $userDates = $this->ordenTrabajoConfig->DATE_USER_MAPPING; @@ -1142,7 +1169,7 @@ class ProductionService extends BaseService } public function getOtColorStatus(): string { - if($this->ot->dates()){ + if ($this->ot->dates()) { $this->updateColor(); } return $this->statusColor; @@ -1207,7 +1234,8 @@ class ProductionService extends BaseService $this->statusColor = $this->ordenTrabajoConfig->OT_COLORS["grapado"]; }; } - protected function updateColor(){ + protected function updateColor() + { $this->otSinImprimirColor(); $this->otImpresionIntColor(); $this->otCosidoColor(); @@ -1219,4 +1247,141 @@ class ProductionService extends BaseService $this->otEncuadernadoColor(); $this->otCorteColor(); } + public function getEncuadernacionCode(): ?string + { + $code = ""; + $encuadernaciones = $this->presupuesto->encuadernaciones(); + if (isset($encuadernaciones[0])) { + $code = $encuadernaciones[0]->tarifa()->code; + } + return $code; + } + public function getEncuadernacionColor(): array + { + $color = $this->ordenTrabajoConfig->OT_ENCUADERNACION_COLOR["default"]; + $encuadernacion_code = $this->getEncuadernacionCode(); + if ($encuadernacion_code) { + if (isset($this->ordenTrabajoConfig->OT_ENCUADERNACION_COLOR[$encuadernacion_code])) { + $color = $this->ordenTrabajoConfig->OT_ENCUADERNACION_COLOR[$encuadernacion_code]; + } + } + return $color; + } + public function getWeekDayColor(): array + { + $color = $this->ordenTrabajoConfig->OT_WEEK_COLOR_DAY[0]; + if ($this->ot->pedido()->fecha_encuadernado) { + $week_day = Time::createFromFormat("Y-m-d H:i:s", $this->ot->pedido()->fecha_encuadernado)->getDayOfWeek(); + $color = $this->ordenTrabajoConfig->OT_WEEK_COLOR_DAY[$week_day]; + } + return $color; + } + public function getGeneralBackgroundColor() + { + $color = $this->ordenTrabajoConfig->OT_BACKGROUND_COLOR['default']; + $is_ferro_or_prototipo = ($this->presupuesto->ferro || $this->presupuesto->ferro_digital || $this->presupuesto->prototipo); + $color = $is_ferro_or_prototipo ? $this->ordenTrabajoConfig->OT_BACKGROUND_COLOR['ferro'] : $color; + $color = $this->isPOD ? $this->ordenTrabajoConfig->OT_BACKGROUND_COLOR['pod'] : $color; + $color = $this->pedido->inaplazable ? $this->ordenTrabajoConfig->OT_BACKGROUND_COLOR['inaplazable'] : $color; + return $color; + } + public function getPapelImpresionBackgroundColor() + { + $papel = $this->presupuesto->presupuestoLineaImpresion()->papel_generico(); + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['default']; + $papel_code = $papel->code_ot; + if ($papel_code) { + if (strpos($papel_code, "BCLOF")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['blanco']; + } + if (strpos($papel_code, "AH") && $papel->code == "OFF2") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['ahuesado']; + } + if (strpos($papel_code, "MARF")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['marfil']; + } + if (strpos($papel_code, "VOLAH")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['volumen_ahuesado']; + } + if ($papel_code == "EM") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['estucado_mate']; + } + if ($papel_code == "CGE") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['cartulina']; + } + } + + return $color; + } + public function getPapelImpresionCubiertaBackgroundColor() + { + $papel = $this->presupuesto->presupuestoLineaCubierta()->papel_generico(); + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['default']; + $papel_code = $papel->code_ot; + if ($papel_code) { + if (strpos($papel_code, "BCLOF")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['blanco']; + } + if (strpos($papel_code, "AH") && $papel->code == "OFF2") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['ahuesado']; + } + if (strpos($papel_code, "MARF")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['marfil']; + } + if (strpos($papel_code, "VOLAH")) { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['volumen_ahuesado']; + } + if ($papel_code == "EM") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['estucado_mate']; + } + if ($papel_code == "CGE") { + $color = $this->ordenTrabajoConfig->OT_PAPEL_COLOR['cartulina']; + } + } + return $color; + } + public function getPlastificadoColor() + { + $acabados = $this->presupuesto->acabados(); + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['default']; + foreach ($acabados as $key => $acabado) { + $tarifa_acabado = $acabado->tarifa(); + if ($tarifa_acabado->code) { + $plastificado_code = $tarifa_acabado->code; + if ($plastificado_code == "BRIL") { + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['BRIL']; + } + if ($plastificado_code == "MATE") { + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['MATE']; + } + if ($plastificado_code == "ANTI") { + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['ANTIRAYADO']; + } + if ($plastificado_code == "SAND") { + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['SANDY']; + } + } + } + return $color; + } + public function getImpresionInteriorPPALColor() + { + $isRotativa = $this->presupuesto->presupuestoLineaImpresion()->isRotativa(); + $color = $isRotativa ? $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['ROTATIVA'] : $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['GENERAL'] ; + $color = $this->isPOD ? $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['POD'] : $color; + return $color; + + } + public function getPdfColors(): array + { + return [ + "general" => $this->getGeneralBackgroundColor(), + "week_day" => $this->getWeekDayColor(), + "ot" => $this->getEncuadernacionColor(), + "papel_interior" => $this->getPapelImpresionBackgroundColor(), + "papel_cubierta" => $this->getPapelImpresionCubiertaBackgroundColor(), + "plastificado" => $this->getPlastificadoColor(), + "impresion_interior_ppal" => $this->getImpresionInteriorPPALColor() + ]; + } } diff --git a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php index e4ef7af2..de716938 100644 --- a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php +++ b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php @@ -36,7 +36,7 @@ $settings = $session->get('settings');
id ?>>
-

titulo ?>

+
titulo ?>
format("d/m/Y H:i:s") ?>
@@ -46,79 +46,98 @@ $settings = $session->get('settings');
portada_path)) : '/assets/img/portada_not_found.png' ?>" />
-
py-2 rounded border-1 border-secondary"> +
;color:;">
-
- fecha_encuadernado ? week_day_humanize(Time::createFromFormat("Y-m-d H:i:s", $pedido->fecha_encuadernado)->getDayOfWeek(), true) : "" ?> +
;color:;"> + fecha_encuadernado ? week_day_humanize(Time::createFromFormat("Y-m-d H:i:s", $pedido->fecha_encuadernado)->getDayOfWeek() - 1, true) : "" ?> Comercial: first_name . " " . $cliente->comercial()->last_name ?>
-
- presupuestoLineaImpresion()->isRotativa() ? "Rotativa" : "Plana" ?> +
+ ;color:;"> + + ROTATIVA + presupuestoLineaImpresion()->isRotativa()): ?> + ROTATIVA + + GENERAL + + + +
-
+
-
"> - " id="fecha_encuadernado_at">fecha_encuadernado ? Time::createFromFormat("Y-m-d H:i:s", $pedido->fecha_encuadernado)->format('d/m/Y') : "" ?> -
-
- tarifa()->code ?? "?" : "?" ?> +
+ ;">fecha_encuadernado ? Time::createFromFormat("Y-m-d H:i:s", $pedido->fecha_encuadernado)->format('d/m/Y') : "??" ?>
- - + + - - + + - - + + - - + + - - + +
IN
IN
PO
PORT.
PL
ACABAD.
EN
ENCUAD.
MA
MANIPUL.
-
-
-
- papel_impresion()->papel_code_ot ?> -
-
border border-right border-dark"> - -
-
- papel_impresion()->papel_code_ot ?> -
-
- tarifa()->code : "" ?> +
+
+
;color:;"> + tarifa()->code ?? "?" : "?" ?>
-
-
-
-
- id ?> +
+
;color:;"> + papel_impresion()->papel_code_ot ?>
-
+
"> + +
+
;color:;"> + papel_impresion()->papel_code_ot ?> +
+
;color:;"> + tarifa()->code : "" ?> +
+ $acabado): ?> + tarifa()->isUVI()): ?> +
;color:white;"> + + tarifa()->code ?> +
+ + +
+
+
"> +
+
+ ;">id ?> +
+
barcode
@@ -132,25 +151,25 @@ $settings = $session->get('settings');
- + - + - + - - + +
ClienteCLIENTE - nombre ?> + alias ?>
TituloTITULO titulo ?>
ISBNISBN isbn ?>
CIFcif ?>PEDIDO CLIENTEid ?>
@@ -198,18 +217,18 @@ $settings = $session->get('settings');
IMP. INTERIOR
- - - - - - - - - - - -
ancho ?>xalto ?> tirada ?> tipo ?> lomo_cubierta,2,',','.') ?>
+ + + + + + + + + + + +
ancho ?>xalto ?> tirada ?> tipo ?> lomo_cubierta, 2, ',', '.') ?>
@@ -296,7 +315,7 @@ $settings = $session->get('settings'); - + @@ -319,7 +338,7 @@ $settings = $session->get('settings'); - + diff --git a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js index 65f4aca3..11006c26 100644 --- a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js +++ b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js @@ -1,5 +1,4 @@ $(() => { - console.log("PDF") var opt = { margin: 2, filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", diff --git a/httpdocs/themes/vuexy/css/pdf.ot.css b/httpdocs/themes/vuexy/css/pdf.ot.css index db367ef9..97ec5c7e 100644 --- a/httpdocs/themes/vuexy/css/pdf.ot.css +++ b/httpdocs/themes/vuexy/css/pdf.ot.css @@ -39,7 +39,7 @@ body{ align-content : center; justify-content: center; font-weight: bold; - font-size : 20px; + font-size : 14px; } .esquema{ From c76f4428a6fcabd1f23cd9c23f8921a5fee3993d Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 16 Apr 2025 15:51:09 +0200 Subject: [PATCH 02/15] ot general features --- ci4/app/Config/OrdenTrabajo.php | 1 + .../Controllers/Produccion/Ordentrabajo.php | 5 + ...-16-153000_AddEspiralOrdenTrabajoDates.php | 41 +++ .../Presupuestos/PresupuestoEntity.php | 12 + .../Produccion/OrdenTrabajoDateEntity.php | 1 + .../Produccion/OrdenTrabajoEntity.php | 10 + ci4/app/Language/es/Produccion.php | 14 +- .../Models/OrdenTrabajo/OrdenTrabajoDate.php | 1 + ci4/app/Services/ProductionService.php | 256 +++++++++++++++++- .../vuexy/form/produccion/ot/otDates.php | 12 +- .../vuexy/form/produccion/ot/otHeader.php | 21 +- .../produccion/ot/otPreimpresionReview.php | 12 +- .../vuexy/form/produccion/ot/otProgress.php | 127 +++++---- .../vuexy/form/produccion/ot/otTask.php | 4 +- .../Views/themes/vuexy/pdfs/orden_trabajo.php | 6 +- 15 files changed, 427 insertions(+), 96 deletions(-) create mode 100644 ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php diff --git a/ci4/app/Config/OrdenTrabajo.php b/ci4/app/Config/OrdenTrabajo.php index dcedbdc3..35f58438 100644 --- a/ci4/app/Config/OrdenTrabajo.php +++ b/ci4/app/Config/OrdenTrabajo.php @@ -25,6 +25,7 @@ class OrdenTrabajo extends BaseConfig "retractilado5_at" => "retractilado5_user_id", "prototipo_at" => "prototipo_user_id", "marcapaginas_at" => "marcapaginas_user_id", + "espiral_at" => "espiral_user_id", //FERRO "pendiente_ferro_at" => "pendiente_ferro_user_id", "ferro_en_cliente_at" => "ferro_en_cliente_user_id", diff --git a/ci4/app/Controllers/Produccion/Ordentrabajo.php b/ci4/app/Controllers/Produccion/Ordentrabajo.php index 6ffd2d9d..d483680a 100755 --- a/ci4/app/Controllers/Produccion/Ordentrabajo.php +++ b/ci4/app/Controllers/Produccion/Ordentrabajo.php @@ -152,8 +152,13 @@ class Ordentrabajo extends BaseController $this->viewData["presupuesto"] = $this->produccionService->getPresupuesto(); $this->viewData["cliente"] = $this->produccionService->getCliente(); $this->viewData["ot"] = $this->produccionService->getOrdenTrabajo(); + $this->viewData["is_finalizada"] = $this->produccionService->getOrdenTrabajo()->estado == "F"; $this->viewData["user_dates"] = $this->produccionService->userDates(); $this->viewData["pedido_user_dates"] = $this->produccionService->pedidoUserDates(); + $this->viewData["colors"] = $this->produccionService->getPdfColors(); + $this->viewData["tiempo_estimado"] = $this->produccionService->getTiempoProcesamientoHHMM(); + $this->viewData["flags"] = $this->produccionService->getFlags(); + return view(static::$viewPath . $this->editRoute, $this->viewData); } diff --git a/ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php b/ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php new file mode 100644 index 00000000..bdf79a02 --- /dev/null +++ b/ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php @@ -0,0 +1,41 @@ + [ + "type" => "DATE", + "null" => true, + ], + ]; + protected array $USERS = [ + "espiral_user_id" => [ + "type" => "INT", + "unsigned" => true, + "constraint" => 10, + "null" => true, + ], + ]; + + public function up() + { + $this->forge->addColumn("orden_trabajo_dates", $this->DATES); + $this->forge->addColumn("orden_trabajo_users", $this->USERS); + foreach ($this->USERS as $key => $value) { + $this->forge->addForeignKey([$key],"users",["id"]); + } + } + + public function down() + { + $this->forge->dropColumn("orden_trabajo_dates", array_keys($this->DATES)); + $this->forge->dropColumn("orden_trabajo_users", array_keys($this->USERS)); + + + } +} diff --git a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php index c9c71790..8d776bc7 100755 --- a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php +++ b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php @@ -4,8 +4,10 @@ namespace App\Entities\Presupuestos; use App\Entities\Clientes\ClienteEntity; use App\Entities\Configuracion\PapelFormatoEntity; +use App\Entities\Configuracion\TipoPresupuestoEntity; use App\Models\Clientes\ClienteModel; use App\Models\Configuracion\PapelFormatoModel; +use App\Models\Configuracion\TipoPresupuestoModel; use App\Models\Presupuestos\PresupuestoAcabadosModel; use App\Models\Presupuestos\PresupuestoEncuadernacionesModel; use App\Models\Presupuestos\PresupuestoFicheroModel; @@ -300,5 +302,15 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity $files = $m->where('presupuesto_id',$this->attributes['id'])->findAll(); return $files ?? []; } + public function tipo_presupuesto() : ?TipoPresupuestoEntity + { + $tipo_presupuesto = null; + $m = model(TipoPresupuestoModel::class); + if($this->attributes["tipo_impresion_id"]){ + $tipo_presupuesto = $m->find($this->attributes['tipo_impresion_id']); + } + return $tipo_presupuesto; + + } } diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php index e106c57c..19ad97ab 100644 --- a/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php +++ b/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php @@ -28,6 +28,7 @@ class OrdenTrabajoDateEntity extends Entity "retractilado5_at"=> null, "prototipo_at"=> null, "marcapaginas_at"=> null, + "espiral_at"=> null, //FERRO "pendiente_ferro_at" => null, "ferro_en_cliente_at" => null, diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php index 8bc67adc..9df7e7ce 100644 --- a/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php +++ b/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php @@ -153,4 +153,14 @@ class OrdenTrabajoEntity extends Entity } return $portada_path; } + public function getEstadoText(): string + { + $estados = [ + "E" => lang('Produccion.error'), + "I" => lang('Produccion.iniciada'), + "F" => lang('Produccion.finalizada'), + "PM" => lang("Produccion.pendiente_material") + ]; + return $estados[$this->attributes["estado"]]; + } } diff --git a/ci4/app/Language/es/Produccion.php b/ci4/app/Language/es/Produccion.php index e5b622b0..cd8b95d3 100644 --- a/ci4/app/Language/es/Produccion.php +++ b/ci4/app/Language/es/Produccion.php @@ -71,6 +71,7 @@ return [ "tiempo_consumido" => "Tiempo consumido", "tiempo_estimado" => "Tiempo estimado", "finalizar_orden" => "Finalizar orden", + "reactivar_orden" => "Reactivar", "comments" => "Comentarios orden trabajo", "preview_pdf" => "Previsualizar PDF", "imprimir_codigo_safekat" => "Imprimir código SAFEKAT", @@ -105,13 +106,22 @@ return [ "pre_codbarras" => "Revisión código barras", "pre_imposicion" => "Revisión imposición", - + "iniciada" => "Iniciada", + "finalizada" => "Finalizada", + "error" => "Error", + "pendiente_material" => "Pendiente material", + "empty" => "Vacio", "errors" => [ "date_not_exist" => "Esta fecha no existe en el modelo", "attr_not_exist" => "El atributo {0,string} no pertenece al modelo Pedido" - ] + ], + + "progress_preimpresion" => "Preimpresión", + "progress_logistica" => "Ferro/Logística", + "progress_impresion" => "Impresión", + "progress_manipulado" => "Manipulado/Acabado" diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php index 555f6415..51234724 100644 --- a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php +++ b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php @@ -35,6 +35,7 @@ class OrdenTrabajoDate extends Model "retractilado5_at", "prototipo_at", "marcapaginas_at", + "espiral_at", //FERRO "pendiente_ferro_at", "ferro_en_cliente_at", diff --git a/ci4/app/Services/ProductionService.php b/ci4/app/Services/ProductionService.php index 72411210..784365a7 100644 --- a/ci4/app/Services/ProductionService.php +++ b/ci4/app/Services/ProductionService.php @@ -35,7 +35,17 @@ use Exception; */ class ProductionService extends BaseService { + /** + * Tipos de impresion para identificar linea de impresion plana/general + * + * @var array + */ public array $TIPOS_PLANA = ['lp_bn', 'lp_color', 'lp_colorhq']; + /** + * Tipos de impresion para idenficiar si es rotativa + * + * @var array + */ public array $TIPOS_ROTATIVA = ['lp_rot_bn', 'lp_rot_color']; protected OrdenTrabajoModel $otModel; @@ -48,14 +58,98 @@ class ProductionService extends BaseService protected PedidoModel $pedidoModel; protected UserModel $userModel; protected ConfigVariableModel $configVariableModel; - protected string $defaultMaquinaCorteName = 'HT-1000'; - protected int $podValue = 0; - protected bool $isPOD = false; protected MaquinaEntity $defaultMaquinaCorte; protected MaquinaModel $maquinaModel; protected OrdenTrabajo $ordenTrabajoConfig; - public string $statusColor; + + /** + * Nombre de la maquina por defecto para realizar la tarea de corte. + * + * @var string 'HT-1000' + */ + protected string $defaultMaquinaCorteName = 'HT-1000'; + /** + * Color del header en el formulario de orden de trabajo + * + * @var string + */ + public string $statusColor; + /** + * Valor límite del POD + * + * `$this->configVariableModel->getVariable('POD')->value;` + * @var integer + */ + protected int $podValue = 0; + /** + * Indica si es POD + * + * `tirada <= podValue` + * @var boolean + */ + protected bool $isPOD = false; + + /** + * Indica si la orden de trabajo contiene gofrado + * Se usa para mostrar la fecha correspondiente en la vista + * @var boolean + */ + public bool $isGofrado = false; //* CHECK DONE + /** + * Indica si la orden de trabajo contiene gofrado + * Se usa para mostrar la fecha correspondiente en la vista + * TODO Hay que implementar un boolean en `lg_tarifa_acabado` para identificar + * @var boolean + */ + public bool $isGrapado = true; //TODO + /** + * Indica si la orden de trabajo contiene espiral + * Se usa para mostrar la fecha correspondiente en la vista + * TODO Hay que implementar un boolean en `lg_tarifa_manipulado` para identificar + * DEFAULT true hasta implementacion + * @var boolean + */ + public bool $isEspiral = true; //TODO + /** + * Indica si la orden de trabajo contiene UVI + * Se usa para mostrar la fecha correspondiente en la vista + * @var boolean + */ + public bool $isUVI = false; //* CHECK DONE + /** + * Indica si la orden de trabajo contiene plastificado + * Se usa para mostrar la fecha correspondiente en la vista + * TODO Hay que implementar un boolean en `lg_tarifa_acabado` para identificar + * DEFAULT true hasta implementacion + * @var boolean + */ + public bool $isPlastificado = true; //TODO + /** + * Indica si la orden de trabajo contiene cubierta + * Se usa para mostrar la fecha correspondiente en la vista + * @var boolean + */ + public bool $isCubierta = false; //* CHECK DONE + /** + * Indica si la impresion es en color + * Se usa para mostrar la fecha correspondiente en la vista + * @var boolean + */ + public bool $isColor = false; //* CHECK DONE + /** + * Indica si la impresion es en bn + * Se usa para mostrar la fecha correspondiente en la vista + * @var boolean + */ + public bool $isBN = false; //* CHECK DONE + /** + * Indica si hay una tarea de corte + * Se usa para mostrar la fecha correspondiente en la vista + * ! Se añade por defecto siempre en una rotativa una tarea de corte + * @var boolean + */ + public bool $isCorte = false; //* CHECK DONE /** * Pedido Entity * @@ -83,10 +177,10 @@ class ProductionService extends BaseService $this->configVariableModel = model(ConfigVariableModel::class); $this->podValue = $this->configVariableModel->getVariable('POD')->value; } + public function init(int $orden_trabajo_id): self { try { - //code... $this->maquinaModel = model(MaquinaModel::class); $this->otModel = model(OrdenTrabajoModel::class); $this->ot = $this->otModel->find($orden_trabajo_id); @@ -177,12 +271,22 @@ class ProductionService extends BaseService $this->otDate->updateUserDateMap($this->ot->id, $data); return $otDateId; } + /** + * Crea un registro en `orden_trabajo_users` + * + * @return integer|boolean|string + */ protected function storeOrdenTrabajoUsers(): int|bool|string { return $this->otUser->insert([ "orden_trabajo_id" => $this->ot->id, ]); } + /** + * Crea un registro en `orden_trabajo_users` si no ha sido creado previamente + * + * @return integer|boolean|string + */ public function reInsertOrdenTrabajoUsers(): int|bool|string { $status = false; @@ -191,6 +295,11 @@ class ProductionService extends BaseService } return $status; } + /** + * Crea un registro en `orden_trabajo_dates` si no ha sido creado previamente + * + * @return integer|boolean|string + */ public function reInsertOrdenTrabajoDates(): int|bool|string { $status = false; @@ -199,6 +308,11 @@ class ProductionService extends BaseService } return $status; } + /** + * General las correspondientes tareas de la orden de trabajo en la table `orden_trabajo_tareas` + * + * @return integer|boolean|string + */ protected function storeAllTareas() { $this->storeOrdenTrabajoTareas(); @@ -208,6 +322,12 @@ class ProductionService extends BaseService $this->storeOrdenTrabajoEncuadernacionTareas(); // $this->storeOrdenTrabajoExtraTareas(); } + /** + * Regenera las tareas. + * !! Se eliminan las que hay previamente sin `softDelete` + * + * @return integer|boolean|string + */ public function resetAllTareas(): BaseResult|bool { $r = $this->otTarea->where("orden_trabajo_id", $this->ot->id)->delete(purge: true); @@ -244,6 +364,12 @@ class ProductionService extends BaseService } return $insert_query_result; } + /** + * Inserta una tarea de corte si la impresion es en `rotativa` + * + * @param PresupuestoLineaEntity $pLinea + * @return OrdenTrabajoTareaEntity|null + */ protected function storeTareaCorte(PresupuestoLineaEntity $pLinea): ?OrdenTrabajoTareaEntity { $otCorte = null; @@ -264,6 +390,11 @@ class ProductionService extends BaseService return $otCorte; } + /** + * General las tareas de acabado segun las líneas de presupuesto_acabados + * + * @return boolean + */ protected function storeOrdenTrabajoAcabadoTareas(): bool { $p_lineas = $this->presupuesto_lineas_acabado(); @@ -290,6 +421,11 @@ class ProductionService extends BaseService } return true; } + /** + * General las tareas de acabado segun las líneas de presupuesto_manipulados + * + * @return boolean + */ protected function storeOrdenTrabajoManipuladoTareas(): bool { $p_lineas = $this->presupuesto_lineas_manipulado(); @@ -316,6 +452,11 @@ class ProductionService extends BaseService } return true; } + /** + * General las tareas de acabado segun las líneas de presupuesto_preimpresion + * + * @return boolean + */ protected function storeOrdenTrabajoPreimpresionTareas(): bool { $p_lineas = $this->presupuesto_lineas_preimpresion(); @@ -342,6 +483,11 @@ class ProductionService extends BaseService } return true; } + /** + * General las tareas de acabado segun las líneas de presupuesto_encuadernaciones + * + * @return boolean + */ protected function storeOrdenTrabajoEncuadernacionTareas(): bool { $p_lineas = $this->presupuesto_lineas_encuadernaciones(); @@ -1126,19 +1272,23 @@ class ProductionService extends BaseService $seconds = array_sum($time_tareas_seconds); return float_seconds_to_hhmm_string($seconds); } - public function getTiempoTareasImpresionHHMM():string { + public function getTiempoTareasImpresionHHMM(): string + { $tareas_impresion = $this->ot->tareas_impresion(); - $time_tareas_seconds = array_map(fn($q) => $q->tiempo_estimado ?? 0, $tareas_impresion); - $seconds = array_sum($time_tareas_seconds); - return float_seconds_to_hhmm_string($seconds); - + $tiempo_seconds = 0; + foreach ($tareas_impresion as $key => $tarea) { + if ($tarea->is_corte == false) { + $tiempo_seconds += $tarea->tiempo_estimado; + } + } + return float_seconds_to_hhmm_string($tiempo_seconds); } - public function getUVI() : ?TarifaAcabadoEntity + public function getUVI(): ?TarifaAcabadoEntity { $uvi = null; $acabados = $this->presupuesto->acabados(); foreach ($acabados as $key => $acabado) { - if($acabado->tarifa()->isUVI()){ + if ($acabado->tarifa()->isUVI()) { $uvi = $acabado->tarifa(); } } @@ -1360,6 +1510,9 @@ class ProductionService extends BaseService if ($plastificado_code == "SAND") { $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['SANDY']; } + if ($plastificado_code == "GOF") { + $color = $this->ordenTrabajoConfig->OT_PLASTIFICADO_COLOR['GOFRADO']; + } } } return $color; @@ -1367,10 +1520,9 @@ class ProductionService extends BaseService public function getImpresionInteriorPPALColor() { $isRotativa = $this->presupuesto->presupuestoLineaImpresion()->isRotativa(); - $color = $isRotativa ? $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['ROTATIVA'] : $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['GENERAL'] ; + $color = $isRotativa ? $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['ROTATIVA'] : $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['GENERAL']; $color = $this->isPOD ? $this->ordenTrabajoConfig->OT_IMPRESION_INTERIOR_PPAL_COLOR['POD'] : $color; return $color; - } public function getPdfColors(): array { @@ -1384,4 +1536,80 @@ class ProductionService extends BaseService "impresion_interior_ppal" => $this->getImpresionInteriorPPALColor() ]; } + + public function getFlags() + { + $this->color(); + return [ + "isGofrado" => $this->gofrado(), + "isEspiral" => $this->isEspiral, + "isUVI" => $this->uvi(), + "isPlastificado" => $this->isPlastificado, + "isCubierta" => $this->cubierta(), + "isColor" => $this->isColor, + "isBN" => $this->isBN, + "isCorte" => $this->corte(), + "isGrapado" => $this->isGrapado + ]; + } + public function gofrado(): bool + { + $flag = false; + $acabados = $this->presupuesto->acabados(); + foreach ($acabados as $key => $acabado) { + $tarifa_acabado = $acabado->tarifa(); + if ($tarifa_acabado->code) { + $plastificado_code = $tarifa_acabado->code; + if ($plastificado_code == "GOF") { + $flag = true; + break; + } + } + } + $this->isGofrado = $flag; + return $this->isGofrado; + } + public function uvi(): bool + { + $flag = false; + $tarifa_acabado_uvi = $this->getUVI(); + if ($tarifa_acabado_uvi) { + $flag = true; + } + $this->isUVI = $flag; + return $this->isUVI; + } + public function cubierta(): bool + { + $lineaCubierta = $this->presupuesto->presupuestoLineaCubierta(); + if ($lineaCubierta) { + $this->isCubierta = true; + } + return $this->isCubierta; + } + public function color(): bool + { + $linea_impresion = $this->presupuesto->presupuestoLineaImpresion(); + if ($linea_impresion) { + if ($linea_impresion->isColor()) { + $this->isColor = true; + $this->isBN = false; + } else { + $this->isColor = false; + $this->isBN = true; + } + } + return $this->isColor; + } + public function corte(): bool + { + $ot_tareas = $this->ot->tareas(); + foreach ($ot_tareas as $key => $tarea) { + if ($tarea->is_corte) { + $this->isCorte = true; + break; + } + } + return $this->isCorte; + } } diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php index c45bb0c8..532f6237 100644 --- a/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php +++ b/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php @@ -22,7 +22,7 @@
- + >
@@ -31,7 +31,7 @@
- + />
@@ -39,7 +39,7 @@
- + />
@@ -49,13 +49,13 @@
- + />
- + - + @@ -242,7 +242,7 @@ $settings = $session->get('settings'); - + From 2a8c4b9da605dd4e2e763f98f9e8b21bc2b05061 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 16 Apr 2025 19:55:30 +0200 Subject: [PATCH 03/15] fix ot --- .../Produccion/OrdenTrabajoUserEntity.php | 2 + .../Models/OrdenTrabajo/OrdenTrabajoUser.php | 1 + ci4/app/Services/ProductionService.php | 23 ++++++----- .../produccion/ot/otPreimpresionReview.php | 2 +- .../Views/themes/vuexy/pdfs/orden_trabajo.php | 2 +- .../assets/js/safekat/pages/produccion/ot.js | 40 ++++++++++++++++--- httpdocs/themes/vuexy/css/pdf.ot.css | 7 ++-- 7 files changed, 57 insertions(+), 20 deletions(-) diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php index 57356b8b..0a95037a 100644 --- a/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php +++ b/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php @@ -32,6 +32,8 @@ class OrdenTrabajoUserEntity extends Entity "retractilado5_user_id" => null, "prototipo_user_id" => null, "marcapaginas_user_id" => null, + "espiral_user_id" => null, + //FERRO "pendiente_ferro_user_id" => null, "ferro_en_cliente_user_id" => null, diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php index df4d0541..443bbcd0 100644 --- a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php +++ b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php @@ -36,6 +36,7 @@ class OrdenTrabajoUser extends Model "retractilado5_user_id", "prototipo_user_id", "marcapaginas_user_id", + "espiral_user_id", //FERRO "pendiente_ferro_user_id", "ferro_en_cliente_user_id", diff --git a/ci4/app/Services/ProductionService.php b/ci4/app/Services/ProductionService.php index 784365a7..e90f025c 100644 --- a/ci4/app/Services/ProductionService.php +++ b/ci4/app/Services/ProductionService.php @@ -188,6 +188,7 @@ class ProductionService extends BaseService $this->setPedido($pedido); $this->defaultMaquinaCorte = $this->maquinaModel->where('nombre', $this->defaultMaquinaCorteName)->first(); $this->statusColor = $this->ordenTrabajoConfig->OT_COLORS["sin_imprimir"]; + $this->updateProgress(); return $this; } catch (\Throwable $th) { throw $th; @@ -305,6 +306,7 @@ class ProductionService extends BaseService $status = false; if ($this->otDate->where('orden_trabajo_id', $this->ot->id)->countAllResults() == 0) { $status = $this->storeOrdenTrabajoDates(); + $this->resetAllTareas(); } return $status; } @@ -1266,7 +1268,7 @@ class ProductionService extends BaseService } return $pedidoUserDates; } - public function getTiempoProcesamientoHHMM(): string + public function getTiempoProcesamientoHHMM(): ?string { $time_tareas_seconds = array_map(fn($q) => $q->tiempo_estimado ?? 0, $this->ot->tareas()); $seconds = array_sum($time_tareas_seconds); @@ -1303,15 +1305,18 @@ class ProductionService extends BaseService $status = false; $total = count($userDates) + count($pedidoUserDates); if ($this->ot->estado != "F") { - foreach ($userDates as $key => $value) { - if ($this->ot->dates()->{$key} != null) $fill_dates++; - } - foreach ($pedidoUserDates as $key => $value) { - if ($this->pedido->{$key} != null) $fill_dates++; - } + if ($this->ot->dates()) { - $progreso = (float) $fill_dates / $total * 100; - $status = $this->otModel->update($this->ot->id, ["progreso" => round($progreso, 2)]); + foreach ($userDates as $key => $value) { + if ($this->ot->dates()->{$key} != null) $fill_dates++; + } + foreach ($pedidoUserDates as $key => $value) { + if ($this->pedido->{$key} != null) $fill_dates++; + } + + $progreso = (float) $fill_dates / $total * 100; + $status = $this->otModel->update($this->ot->id, ["progreso" => round($progreso, 2)]); + } } else { $status = $this->otModel->update($this->ot->id, ["progreso" => 100]); } diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php index d9f0fcfd..1d2d2524 100644 --- a/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php +++ b/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php @@ -14,7 +14,7 @@ Revisar formato - - + + @@ -252,7 +258,11 @@ $settings = $session->get('settings'); - +
Plastificado tarifa()->nombre ?> UVI ?? code : "" ?> Máquina $q->nombre, $acabados[0]->maquinas())) ?> Operariotarifa()->nombre ?> solapas ? "SI" : "NO" ?> hasSobrecubierta() ? "SI" : "NO" ?>____________________ guardas ? "SI" : "NO" ?> retractilado ? "SI" : "NO" ?> marcapaginas ? "SI" : "NO" ?> ancho ?>xalto ?> tirada ?> tirada ?> + merma ?> tipo ?> tipo_presupuesto()?->codigo ?? "" ?> lomo_cubierta, 2, ',', '.') ?>
paginas ?>tirada ?>tirada ?> ?? formas)->formas ?> maquina()->nombre ?>Tiempo
paginas ?>tirada ?> paginas * $presupuesto->tirada ?>tirada ?> ?? formas)->formas ?> maquina()->nombre ?>
papel_impresion ?> papel_impresion()->gramaje . " " . "gr" ?>rotativa_metros_total, 2, ',', '.') ?> metros + isRotativa()): ?> + rotativa_metros_total, 2, ',', '.') ?> metros + +
diff --git a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js index 11006c26..093f26cb 100644 --- a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js +++ b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js @@ -1,11 +1,11 @@ $(() => { - var opt = { - margin: 2, - filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", - image: { type: 'jpeg', quality: 1 }, - html2canvas: { scale: 4 }, - jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } - }; - let elementToPdf = $('body')[0] - html2pdf().set(opt).from(elementToPdf).save() + // var opt = { + // margin: 2, + // filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", + // image: { type: 'jpeg', quality: 1 }, + // html2canvas: { scale: 4 }, + // jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } + // }; + // let elementToPdf = $('body')[0] + // html2pdf().set(opt).from(elementToPdf).save() }) \ No newline at end of file From 36f5d42d031648bd8cac34b477d738972baaca3a Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 16 Apr 2025 20:27:08 +0200 Subject: [PATCH 05/15] pdf uncomment --- .../assets/js/safekat/pages/pdf/otDownload.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js index 093f26cb..11006c26 100644 --- a/httpdocs/assets/js/safekat/pages/pdf/otDownload.js +++ b/httpdocs/assets/js/safekat/pages/pdf/otDownload.js @@ -1,11 +1,11 @@ $(() => { - // var opt = { - // margin: 2, - // filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", - // image: { type: 'jpeg', quality: 1 }, - // html2canvas: { scale: 4 }, - // jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } - // }; - // let elementToPdf = $('body')[0] - // html2pdf().set(opt).from(elementToPdf).save() + var opt = { + margin: 2, + filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", + image: { type: 'jpeg', quality: 1 }, + html2canvas: { scale: 4 }, + jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } + }; + let elementToPdf = $('body')[0] + html2pdf().set(opt).from(elementToPdf).save() }) \ No newline at end of file From 972d0c4ec81ae58941c5a879d0c7c17ba76118a9 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 16 Apr 2025 20:31:18 +0200 Subject: [PATCH 06/15] pdf download file name --- .../themes/vuexy/pdfs/orden_trabajo copy.php | 356 ------------------ .../Views/themes/vuexy/pdfs/orden_trabajo.php | 2 +- 2 files changed, 1 insertion(+), 357 deletions(-) delete mode 100644 ci4/app/Views/themes/vuexy/pdfs/orden_trabajo copy.php diff --git a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo copy.php b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo copy.php deleted file mode 100644 index c750a9ea..00000000 --- a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo copy.php +++ /dev/null @@ -1,356 +0,0 @@ -get('settings'); -?> - - - - - - - - - - - - - - - - - - -<?= $presupuesto->titulo ?>[OT:<?= $ot->id ?>] - - - - - -
id ?>> -
-
titulo ?>
-
format("d/m/Y H:i:s") ?>
-
-
-
-
- portada_path)) ?>"> -
-
-
-

presupuestoLineaImpresion()->isRotativa() ? "Rotativa" : "Plana" ?>

-
-
- fecha_encuadernado_at ? week_day_humanize(Time::createFromFormat("Y-m-d", $dates->fecha_encuadernado_at)->getDayOfWeek(), true) : "" ?> -
Comercial: first_name . " " . $cliente->comercial()->last_name ?>
-
-
"> -
- " id="fecha_encuadernado_at">fecha_encuadernado_at ? Time::createFromFormat("Y-m-d", $dates->fecha_encuadernado_at)?->format("d/m/Y") : "" ?> - -
- - - - - - - - - - - - - - - - - - - - - -
IN
PO
PL
EN
MA
-
-
-
-
- - - - -
RF
-
-
-
-
- BCLF 100 -
-
- 0:3 -
-
- EM 300 -
-
- BRILLO -
-
-
-
-

id ?>

-
-
- barcode -
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - -
Cliente -

nombre ?>

-
Titulo -

titulo ?>

-
ISBNisbn ?>
CIFcif ?>
- -
-
-
-
-
- A -
-
-
-
- A -
-
-
-
- A -
-
-
-
- A -
-
-
-
- - - - - -
Imposicion400x400
-
-
- - -
-
- -
-
IMP. INTERIOR
- - - - - - - - - - - - - - - - - - - - - - - - - - -
PáginasEjemplaresTintasFormasMáquinaClicsTiempo
paginas ?>tirada ?>??formas)->formas ?>maquina()->nombre ?>rotativa_clicks_total ?>horas_maquina * 3600) ?>
papel_impresion ?>papel_impresion()->gramaje . " " . "gr" ?>rotativa_metros_total, 2, ',', '.') ?> metros
-
-
Comentarios impresión interior
-
-

-

-
-

-

-
-
-
- -
-
IMP. CUBIERTA
- - - - - - - - - - - - - - - - - - - - - - - -
TintasEjemplaresMaquinaMarcapaginasTiempo
??tirada ?>maquina()->nombre ?>marcapaginas ? "SI" : "NO" ?>horas_maquina * 3600) ?>
formas)->maquina_ancho ?>xformas)->maquina_alto ?>ancho ?>xalto ?>papel_impresion ?>papel_impresion()->gramaje . " " . "gr" ?>
-
-
Comentarios cubierta
-
-

-

-
-
-
-
-
ENCUADERNACIÓN
- - - - - - - -
Plastificadotarifa()->nombre ?>UVI ??
- - - - - -
MAQUINA $q->nombre, $acabados[0]->maquinas())) ?>
- - - - - -
OPERARIOusers()->plastificado_by->getFullName() ?>
- 0): ?> - - - - - - - - - - - $value): ?> - - - - - - - - - - -
EncuadernacionSolapasSobrecubiertaPlegadoGuardasRetractiladoMarcapáginas
tarifa()->nombre ?>solapas ? "SI" : "NO" ?>hasSobrecubierta() ? "SI" : "NO" ?> ______ pliegos de ______ guardas ? "SI" : "NO" ?>retractilado ? "SI" : "NO" ?>marcapaginas ? "SI" : "NO" ?>
-
-
Comentarios encuadernacion:
-
-

-

-
-
- -
- -
-
LOGISTICA
- - - - - - - - - - - - - -
Peso UnidadPeso PedidoCajasCorte Pie
gr 1000 ? number_format($peso_pedido / 1000, 2, ',', '.') . " kg" : number_format($peso_pedido, 2, ',', '.') . " gr" ?> --
-
-
Comentarios logistica:
-
-

-

-
-
-
- - - - - - - - - - - -
- - - - \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php index a7b92795..cc92a616 100644 --- a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php +++ b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php @@ -33,7 +33,7 @@ $settings = $session->get('settings'); -
id ?>> +
id."_".$presupuesto->titulo ?>">
titulo ?>
From c3d38e29a4f390c91efce1b6fc1ebac904cd06b1 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Sun, 20 Apr 2025 19:26:07 +0200 Subject: [PATCH 07/15] imposiciones --- ci4/app/Config/Routes.php | 18 +- .../Configuracion/Imposiciones.php | 368 +++++++----------- ...4-18-210000_AddTableImposicionEsquemas.php | 79 ++++ ...-04-18-213000_AddFkEsquemaImposiciones.php | 30 ++ ci4/app/Entities/Configuracion/Imposicion.php | 25 +- .../Configuracion/ImposicionEsquemaEntity.php | 26 ++ ci4/app/Language/en/Imposiciones.php | 7 + ci4/app/Language/en/Validation.php | 47 ++- ci4/app/Language/es/Imposiciones.php | 38 ++ ci4/app/Language/es/Validation.php | 47 ++- .../Configuracion/ImposicionEsquemaModel.php | 123 ++++++ .../Models/Configuracion/ImposicionModel.php | 38 +- .../components/modals/modalNewImposicion.php | 20 + .../tables/imposicion_esquema_table.php | 12 + .../_imposicionEsquemaFormItems.php | 64 +++ .../imposiciones/_imposicionFormItems.php | 116 +++--- .../viewImposicionEsquemaForm.php | 41 ++ .../imposiciones/viewImposicionForm.php | 46 ++- .../imposiciones/viewImposicionList.php | 209 +++------- .../imposiciones/viewImposicionNewForm.php | 40 ++ .../vuexy/main/menus/configuracion_menu.php | 7 + .../Views/themes/vuexy/pdfs/orden_trabajo.php | 32 +- .../datatables/ImposicionDatatable.js | 66 ++++ .../datatables/ImposicionEsquemaDatatable.js | 35 ++ .../components/forms/ImposicionEsquemaForm.js | 179 +++++++++ .../components/forms/ImposicionForm.js | 195 ++++++++++ .../components/imposicionEsquemaDrawing.js | 164 ++++++++ .../pages/configuracion/imposiciones/edit.js | 8 + .../imposiciones/edit_esquema.js | 8 + .../configuracion/imposiciones/imposicion.js | 56 +++ .../pages/configuracion/imposiciones/new.js | 8 + .../pages/configuracion/imposiciones/view.js | 8 + .../assets/js/safekat/pages/pdf/otDownload.js | 2 +- httpdocs/themes/vuexy/css/pdf.ot.css | 10 +- 34 files changed, 1676 insertions(+), 496 deletions(-) create mode 100644 ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php create mode 100644 ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php create mode 100644 ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php create mode 100644 ci4/app/Language/en/Imposiciones.php create mode 100644 ci4/app/Language/es/Imposiciones.php create mode 100644 ci4/app/Models/Configuracion/ImposicionEsquemaModel.php create mode 100644 ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php create mode 100644 ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php create mode 100644 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php create mode 100644 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php create mode 100644 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php create mode 100644 httpdocs/assets/js/safekat/components/datatables/ImposicionDatatable.js create mode 100644 httpdocs/assets/js/safekat/components/datatables/ImposicionEsquemaDatatable.js create mode 100644 httpdocs/assets/js/safekat/components/forms/ImposicionEsquemaForm.js create mode 100644 httpdocs/assets/js/safekat/components/forms/ImposicionForm.js create mode 100644 httpdocs/assets/js/safekat/components/imposicionEsquemaDrawing.js create mode 100644 httpdocs/assets/js/safekat/pages/configuracion/imposiciones/edit.js create mode 100644 httpdocs/assets/js/safekat/pages/configuracion/imposiciones/edit_esquema.js create mode 100644 httpdocs/assets/js/safekat/pages/configuracion/imposiciones/imposicion.js create mode 100644 httpdocs/assets/js/safekat/pages/configuracion/imposiciones/new.js create mode 100644 httpdocs/assets/js/safekat/pages/configuracion/imposiciones/view.js diff --git a/ci4/app/Config/Routes.php b/ci4/app/Config/Routes.php index fb3beb7d..101f054e 100644 --- a/ci4/app/Config/Routes.php +++ b/ci4/app/Config/Routes.php @@ -146,17 +146,25 @@ $routes->group('tipologiaslibros', ['namespace' => 'App\Controllers\Configuracio $routes->group('imposiciones', ['namespace' => 'App\Controllers\Configuracion'], function ($routes) { $routes->get('', 'Imposiciones::index', ['as' => 'imposicionList']); $routes->get('add', 'Imposiciones::add', ['as' => 'newImposicion']); - $routes->post('add', 'Imposiciones::add', ['as' => 'createImposicion']); + $routes->get('add/esquema', 'Imposiciones::add_esquema', ['as' => 'newImposicionEsquema']); + $routes->get('find/(:num)', 'Imposiciones::find_imposicion/$1', ['as' => 'findImposicion']); + $routes->get('esquema/find/(:num)', 'Imposiciones::find_imposicion_esquema/$1', ['as' => 'findImposicionEsquema']); $routes->post('create', 'Imposiciones::create', ['as' => 'ajaxCreateImposicion']); - $routes->put('(:num)/update', 'Imposiciones::update/$1', ['as' => 'ajaxUpdateImposicion']); - $routes->post('(:num)/edit', 'Imposiciones::edit/$1', ['as' => 'updateImposicion']); - $routes->post('datatable', 'Imposiciones::datatable', ['as' => 'dataTableOfImposiciones']); + $routes->post('esquema/create', 'Imposiciones::create_imposicion_esquema', ['as' => 'ajaxCreateImposicionEsquema']); + $routes->post('(:num)', 'Imposiciones::update/$1', ['as' => 'ajaxUpdateImposicion']); + $routes->post('esquema/(:num)', 'Imposiciones::update_imposicion_esquema/$1', ['as' => 'ajaxUpdateImposicionEsquema']); + $routes->delete('(:num)', 'Imposiciones::delete/$1', ['as' => 'deleteImposicion']); + $routes->delete('esquema/(:num)', 'Imposiciones::delete_imposicion_esquema/$1', ['as' => 'deleteImposicionEsquema']); + $routes->get('edit/(:num)', 'Imposiciones::edit/$1', ['as' => 'updateImposicionForm']); + $routes->get('esquema/edit/(:num)', 'Imposiciones::edit_imposicion_esquema/$1', ['as' => 'updateImposicionEsquemaForm']); + $routes->get('datatable', 'Imposiciones::datatable', ['as' => 'dataTableOfImposiciones']); + $routes->get('esquema/datatable', 'Imposiciones::datatable_imposicion_esquema', ['as' => 'dataTableOfEsquemaImposiciones']); $routes->post('allmenuitems', 'Imposiciones::allItemsSelect', ['as' => 'select2ItemsOfImposiciones']); $routes->post('menuitems', 'Imposiciones::menuItems', ['as' => 'menuItemsOfImposiciones']); $routes->get('select', 'Imposiciones::selectImposicion', ['as' => 'selectImposicion']); + $routes->get('esquema/select', 'Imposiciones::selectImposicionEsquema', ['as' => 'selectImposicionEsquema']); }); -$routes->resource('imposiciones', ['namespace' => 'App\Controllers\Configuracion', 'controller' => 'Imposiciones', 'except' => 'show,new,create,update']); $routes->group('papelimpresiontipologias', ['namespace' => 'App\Controllers\Configuracion'], function ($routes) { $routes->get('add', 'Papelimpresiontipologias::add', ['as' => 'newPapelImpresionTipologia']); diff --git a/ci4/app/Controllers/Configuracion/Imposiciones.php b/ci4/app/Controllers/Configuracion/Imposiciones.php index 58986982..83da4971 100755 --- a/ci4/app/Controllers/Configuracion/Imposiciones.php +++ b/ci4/app/Controllers/Configuracion/Imposiciones.php @@ -2,37 +2,41 @@ namespace App\Controllers\Configuracion; - +use App\Controllers\BaseController; use App\Controllers\BaseResourceController; - use App\Models\Collection; use App\Entities\Configuracion\Imposicion; - +use App\Models\Configuracion\ImposicionEsquemaModel; use App\Models\Configuracion\ImposicionModel; +use CodeIgniter\HTTP\RequestInterface; +use CodeIgniter\HTTP\ResponseInterface; +use CodeIgniter\Validation\Validation; +use Hermawan\DataTables\DataTable; +use Psr\Log\LoggerInterface; -class Imposiciones extends \App\Controllers\BaseResourceController +class Imposiciones extends BaseController { protected $modelName = ImposicionModel::class; - protected $format = 'json'; - - protected static $singularObjectName = 'Imposicion'; - protected static $singularObjectNameCc = 'imposicion'; - protected static $pluralObjectName = 'Imposiciones'; - protected static $pluralObjectNameCc = 'imposiciones'; - + protected ImposicionModel $model; + protected ImposicionEsquemaModel $imposicionEsquemaModel; protected static $controllerSlug = 'imposiciones'; + protected $format = 'json'; protected static $viewPath = 'themes/vuexy/form/configuracion/imposiciones/'; protected $indexRoute = 'imposicionList'; + protected array $viewData = []; + protected Validation $validation; - - public function initController(\CodeIgniter\HTTP\RequestInterface $request, \CodeIgniter\HTTP\ResponseInterface $response, \Psr\Log\LoggerInterface $logger) + public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger) { $this->viewData['pageTitle'] = lang('Imposiciones.moduleTitle'); $this->viewData['usingSweetAlert'] = true; + $this->model = model($this->modelName); + $this->validation = service("validation"); + $this->imposicionEsquemaModel = model(ImposicionEsquemaModel::class); parent::initController($request, $response, $logger); } @@ -47,7 +51,10 @@ class Imposiciones extends \App\Controllers\BaseResourceController 'usingServerSideDataTable' => true, ]; + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_imposiciones"), 'route' => route_to("imposicionList"), 'active' => true], + ]; $viewData = array_merge($this->viewData, $viewData); // merge any possible values from the parent controller class return view(static::$viewPath . 'viewImposicionList', $viewData); @@ -56,234 +63,147 @@ class Imposiciones extends \App\Controllers\BaseResourceController public function add() { + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_imposiciones"), 'route' => route_to("imposicionList"), 'active' => true], - - - - if ($this->request->getPost()) : - - $nullIfEmpty = true; // !(phpversion() >= '8.1'); - - $postData = $this->request->getPost(); - - $sanitizedData = $this->sanitized($postData, $nullIfEmpty); - - - $noException = true; - if ($successfulResult = $this->canValidate()) : // if ($successfulResult = $this->validate($this->formValidationRules) ) : - - - if ($this->canValidate()) : - try { - $successfulResult = $this->model->skipValidation(true)->save($sanitizedData); - } catch (\Exception $e) { - $noException = false; - $this->dealWithException($e); - } - else: - $this->viewData['errorMessage'] = lang('Basic.global.formErr1', [lang('Basic.global.record')]); - $this->session->setFlashdata('formErrors', $this->model->errors()); - endif; - - $thenRedirect = true; // Change this to false if you want your user to stay on the form after submission - endif; - if ($noException && $successfulResult) : - - $id = $this->model->db->insertID(); - - $message = lang('Basic.global.saveSuccess', [lang('Basic.global.record')]) . '.'; - - if ($thenRedirect) : - if (!empty($this->indexRoute)) : - return redirect()->to(route_to($this->indexRoute))->with('sweet-success', $message); - else: - return $this->redirect2listView('sweet-success', $message); - endif; - else: - $this->session->setFlashData('sweet-success', $message); - endif; - - endif; // $noException && $successfulResult - - endif; // ($requestMethod === 'post') - - $this->viewData['imposicion'] = isset($sanitizedData) ? new Imposicion($sanitizedData) : new Imposicion(); - $this->viewData['orientacionList'] = $this->getOrientacionOptions(); - - $this->viewData['formAction'] = route_to('createImposicion'); - - $this->viewData['boxTitle'] = lang('Basic.global.addNew') . ' ' . lang('Imposiciones.moduleTitle') . ' ' . lang('Basic.global.addNewSuffix'); - - - return $this->displayForm(__METHOD__); - } // end function add() - - public function edit($requestedId = null) + ]; + return view(static::$viewPath . 'viewImposicionNewForm', $this->viewData); + } + public function add_esquema() { + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_imposiciones"), 'route' => route_to("imposicionList"), 'active' => true], + ]; + $this->viewData["imposicion_esquema"] = null; - if ($requestedId == null) : - return $this->redirect2listView(); - endif; - $id = filter_var($requestedId, FILTER_SANITIZE_URL); - $imposicion = $this->model->find($id); + return view(static::$viewPath . 'viewImposicionEsquemaForm', $this->viewData); + } + public function edit($imposicion_id = null) + { + if ($imposicion_id) { + $this->viewData["imposicion"] = $this->model->find($imposicion_id); + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_imposiciones"), 'route' => route_to("imposicionList"), 'active' => false], + ['title' => $this->viewData["imposicion"]->full_name, 'route' => route_to("updateImposicionForm", $imposicion_id), 'active' => true], - if ($imposicion == false) : - $message = lang('Basic.global.notFoundWithIdErr', [mb_strtolower(lang('Imposiciones.imposicion')), $id]); - return $this->redirect2listView('sweet-error', $message); - endif; + ]; + } + return view(static::$viewPath . 'viewImposicionForm', $this->viewData); + } + public function edit_imposicion_esquema($imposicion_esquema_id = null) + { + if ($imposicion_esquema_id) { + $this->viewData["imposicion_esquema"] = $this->imposicionEsquemaModel->find($imposicion_esquema_id); + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_imposiciones"), 'route' => route_to("imposicionList"), 'active' => false], + ['title' => $this->viewData["imposicion_esquema"]->name, 'route' => route_to("updateImposicionEsquemaForm", $imposicion_esquema_id), 'active' => true], - - - if ($this->request->getPost()) : - - $nullIfEmpty = true; // !(phpversion() >= '8.1'); - - $postData = $this->request->getPost(); - - $sanitizedData = $this->sanitized($postData, $nullIfEmpty); - - - $noException = true; - if ($successfulResult = $this->canValidate()) : // if ($successfulResult = $this->validate($this->formValidationRules) ) : - - - if ($this->canValidate()) : - try { - $successfulResult = $this->model->skipValidation(true)->update($id, $sanitizedData); - } catch (\Exception $e) { - $noException = false; - $this->dealWithException($e); - } - else: - $this->viewData['warningMessage'] = lang('Basic.global.formErr1', [mb_strtolower(lang('Imposiciones.imposicion'))]); - $this->session->setFlashdata('formErrors', $this->model->errors()); - - endif; - - $imposicion->fill($sanitizedData); - - $thenRedirect = false; - endif; - if ($noException && $successfulResult) : - $id = $imposicion->id ?? $id; - $message = lang('Basic.global.updateSuccess', [lang('Basic.global.record')]) . '.'; - - if ($thenRedirect) : - if (!empty($this->indexRoute)) : - return redirect()->to(route_to($this->indexRoute))->with('sweet-success', $message); - else: - return $this->redirect2listView('sweet-success', $message); - endif; - else: - $this->session->setFlashData('sweet-success', $message); - endif; - - endif; // $noException && $successfulResult - endif; // ($requestMethod === 'post') - - $this->viewData['imposicion'] = $imposicion; - $this->viewData['orientacionList'] = $this->getOrientacionOptions(); - - $this->viewData['formAction'] = route_to('updateImposicion', $id); - - $this->viewData['boxTitle'] = lang('Basic.global.edit2') . ' ' . lang('Imposiciones.moduleTitle') . ' ' . lang('Basic.global.edit3'); - - - return $this->displayForm(__METHOD__, $id); - } // end function edit(...) + ]; + } + return view(static::$viewPath . 'viewImposicionEsquemaForm', $this->viewData); + } + public function update($imposicion_id = null) + { + if ($imposicion_id) { + $bodyData = $this->request->getPost(); + $status = $this->model->update($imposicion_id, $bodyData); + if ($status) { + $imposicionEntity = $this->model->find($imposicion_id); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "errors" => $this->model->errors(), "status" => true])->setStatusCode(400); + } + return $this->response->setJSON(["message" => lang("App.global_alert_save_success"), "status" => $status, "data" => $imposicionEntity]); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "message" => "", "status" => false])->setStatusCode(400); + } + } + public function update_imposicion_esquema($imposicion_esquema_id = null) + { + if ($imposicion_esquema_id) { + $bodyData = $this->request->getPost(); + $status = $this->imposicionEsquemaModel->update($imposicion_esquema_id, $bodyData); + if ($status) { + $imposicionEsquemaEntity = $this->imposicionEsquemaModel->find($imposicion_esquema_id); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "errors" => $this->imposicionEsquemaModel->errors(), "status" => true])->setStatusCode(400); + } + return $this->response->setJSON(["message" => lang("App.global_alert_save_success"), "status" => $status, "data" => $imposicionEsquemaEntity]); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "message" => "", "status" => false])->setStatusCode(400); + } + } + public function delete($imposicion_id = null) + { + $status = $this->model->delete($imposicion_id); + return $this->response->setJSON(["message" => lang("App.user_alert_delete"), "status" => true]); + } + public function delete_imposicion_esquema($imposicion_esquema_id = null) + { + $status = $this->imposicionEsquemaModel->delete($imposicion_esquema_id); + return $this->response->setJSON(["message" => lang("App.user_alert_delete"), "status" => $status]); + } public function datatable() { - if ($this->request->isAJAX()) { - $reqData = $this->request->getPost(); - if (!isset($reqData['draw']) || !isset($reqData['columns'])) { - $errstr = 'No data available in response to this specific request.'; - $response = $this->respond(Collection::datatable([], 0, 0, $errstr), 400, $errstr); - return $response; - } - $start = $reqData['start'] ?? 0; - $length = $reqData['length'] ?? 5; - $search = $reqData['search']['value']; - $requestedOrder = $reqData['order']['0']['column'] ?? 1; - $order = ImposicionModel::SORTABLE[$requestedOrder > 0 ? $requestedOrder : 1]; - $dir = $reqData['order']['0']['dir'] ?? 'asc'; - - $resourceData = $this->model->getResource($search)->orderBy($order, $dir)->limit($length, $start)->get()->getResultObject(); - - return $this->respond(Collection::datatable( - $resourceData, - $this->model->getResource()->countAllResults(), - $this->model->getResource($search)->countAllResults() - )); - } else { - return $this->failUnauthorized('Invalid request', 403); - } + $q = $this->model->queryDatatable(); + return DataTable::of($q) + ->add( + 'action', + fn($q) => "
". ImposicionModel::datatable_buttons($q->id)."
" + ) + ->toJson(true); } - - public function allItemsSelect() + public function datatable_imposicion_esquema() { - if ($this->request->isAJAX()) { - $onlyActiveOnes = true; - $reqVal = $this->request->getPost('val') ?? 'id'; - $menu = $this->model->getAllForMenu($reqVal . ', ancho', 'ancho', $onlyActiveOnes, false); - $nonItem = new \stdClass; - $nonItem->id = ''; - $nonItem->ancho = '- ' . lang('Basic.global.None') . ' -'; - array_unshift($menu, $nonItem); - - $newTokenHash = csrf_hash(); - $csrfTokenName = csrf_token(); - $data = [ - 'menu' => $menu, - $csrfTokenName => $newTokenHash - ]; - return $this->respond($data); - } else { - return $this->failUnauthorized('Invalid request', 403); - } - } - - public function menuItems() - { - if ($this->request->isAJAX()) { - $searchStr = goSanitize($this->request->getPost('searchTerm'))[0]; - $reqId = goSanitize($this->request->getPost('id'))[0]; - $reqText = goSanitize($this->request->getPost('text'))[0]; - $onlyActiveOnes = false; - $columns2select = [$reqId ?? 'id', $reqText ?? 'ancho']; - $onlyActiveOnes = false; - $menu = $this->model->getSelect2MenuItems($columns2select, $columns2select[1], $onlyActiveOnes, $searchStr); - $nonItem = new \stdClass; - $nonItem->id = ''; - $nonItem->text = '- ' . lang('Basic.global.None') . ' -'; - array_unshift($menu, $nonItem); - - $newTokenHash = csrf_hash(); - $csrfTokenName = csrf_token(); - $data = [ - 'menu' => $menu, - $csrfTokenName => $newTokenHash - ]; - return $this->respond($data); - } else { - return $this->failUnauthorized('Invalid request', 403); - } + $q = $this->imposicionEsquemaModel->queryDatatable(); + return DataTable::of($q) + ->add( + 'action', + fn($q) => "
". ImposicionEsquemaModel::datatable_buttons($q->id)."
" + ) + ->toJson(true); } - protected function getOrientacionOptions() - { - $orientacionOptions = [ - '' => lang('Basic.global.pleaseSelect'), - 'H' => 'H', - 'V' => 'V', - ]; - return $orientacionOptions; - } public function selectImposicion() { $data = $this->model->querySelect($this->request->getGet('q')); return $this->response->setJSON($data); } + public function selectImposicionEsquema() + { + $data = $this->imposicionEsquemaModel->querySelect($this->request->getGet('q')); + return $this->response->setJSON($data); + } + public function find_imposicion(int $imposicion_id) + { + $imposicionEntity = $this->model->find($imposicion_id)->withImposicionEsquema(); + return $this->response->setJSON($imposicionEntity); + } + public function find_imposicion_esquema(int $imposicion_esquema_id) + { + $imposicionEsquemaEntity = $this->imposicionEsquemaModel->find($imposicion_esquema_id); + return $this->response->setJSON($imposicionEsquemaEntity); + } + public function create() + { + $bodyData = $this->request->getPost(); + $createdId = $this->model->insert($bodyData); + if ($createdId) { + return $this->response->setJSON(["message" => lang("App.global_alert_save_success"), "status" => true]); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "errors" => $this->model->errors(), "status" => true])->setStatusCode(400); + } + } + public function create_imposicion_esquema() + { + $bodyData = $this->request->getPost(); + $createdId = $this->imposicionEsquemaModel->insert($bodyData); + if ($createdId) { + return $this->response->setJSON(["message" => lang("App.global_alert_save_success"), "status" => true]); + } else { + return $this->response->setJSON(["message" => lang("App.global_alert_save_error"), "errors" => $this->imposicionEsquemaModel->errors(), "status" => true])->setStatusCode(400); + } + } } diff --git a/ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php b/ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php new file mode 100644 index 00000000..bb738594 --- /dev/null +++ b/ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php @@ -0,0 +1,79 @@ + [ + "type" => "INT", + "unsigned" => true, + "auto_increment" => true + ], + "name" => [ + "type" => "VARCHAR", + "constraint" => 255, + ], + "rows" => [ + "type" => "INT", + "unsigned" => true, + "default" => 0, + ], + "columns" => [ + "type" => "INT", + "unsigned" => true, + "default" => 0, + ], + "orientacion" => [ + "type" => "ENUM", + "constraint" => ["H","V"], + "default" => "H", + ], + "rotativa" => [ + "type" => "BOOLEAN", + "default" => false, + ], + "cosido" => [ + "type" => "BOOLEAN", + "default" => false, + ], + "svg_schema" => [ + "type" => "LONGTEXT", + "null" => true + ], + ]; + + public function up() + { + + $this->forge->addField($this->COLUMNS); + $currenttime = new RawSql("CURRENT_TIMESTAMP"); + $this->forge->addField([ + "created_at" => [ + "type" => "TIMESTAMP", + "default" => $currenttime, + + ], + "updated_at" => [ + "type" => "TIMESTAMP", + "null" => true, + + ], + "deleted_at" => [ + "type" => "TIMESTAMP", + "null" => true, + ], + ]); + $this->forge->addPrimaryKey("id"); + $this->forge->createTable("imposicion_esquemas"); + } + + public function down() + { + $this->forge->dropTable("imposicion_esquemas",true); + + } +} diff --git a/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php b/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php new file mode 100644 index 00000000..83fd8d30 --- /dev/null +++ b/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php @@ -0,0 +1,30 @@ +forge->addColumn("lg_imposiciones", [ + "imposicion_esquema_id" => [ + "type" => "INT", + "unsigned" => true, + ] + ]); + $this->forge->addForeignKey(["imposicion_esquema_id"],"imposicion_esquemas",["id"]); + $this->forge->processIndexes("lg_imposiciones"); + } + + public function down() + { + $this->forge->dropForeignKey("lg_imposiciones","lg_imposiciones_imposicion_esquema_id_foreign"); + $this->forge->dropColumn("lg_imposiciones","imposicion_esquema_id"); + + } +} diff --git a/ci4/app/Entities/Configuracion/Imposicion.php b/ci4/app/Entities/Configuracion/Imposicion.php index fcb0ddaa..9f6640db 100755 --- a/ci4/app/Entities/Configuracion/Imposicion.php +++ b/ci4/app/Entities/Configuracion/Imposicion.php @@ -1,6 +1,8 @@ null, "maquina" => null, "etiqueta" => null, + "imposicion_esquema_id" => null ]; protected $casts = [ "ancho" => "int", "alto" => "int", "unidades" => "?int", + "imposicion_esquema_id" => "?int" + ]; - public function getFullName() : string + public function getFullName(): string { - $ancho_x_alto = $this->attributes["ancho"] ."x". $this->attributes["alto"]; + $ancho_x_alto = $this->attributes["ancho"] . "x" . $this->attributes["alto"]; $unidades = $this->attributes["unidades"] ?? ""; $orientacion = $this->attributes["orientacion"] ?? ""; - return implode("_",[$ancho_x_alto,$unidades,$orientacion]); + return implode("_", [$ancho_x_alto, $unidades, $orientacion]); + } + public function withImposicionEsquema(): self + { + $this->attributes["imposicion_esquema"] = $this->imposicion_esquema(); + return $this; + } + public function imposicion_esquema(): ?ImposicionEsquemaEntity + { + $esquema = null; + if ($this->attributes["imposicion_esquema_id"]) { + $m = model(ImposicionEsquemaModel::class); + $esquema = $m->find($this->attributes["imposicion_esquema_id"]); + } + return $esquema; } } diff --git a/ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php b/ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php new file mode 100644 index 00000000..30723491 --- /dev/null +++ b/ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php @@ -0,0 +1,26 @@ + null, + "rows" => null, + "columns" => null, + "orientacion"=> null, + "rotativa"=> null, + "cosido"=> null, + "svg_schema"=> null + ]; + protected $dates = ['created_at', 'updated_at', 'deleted_at']; + protected $casts = [ + "name" => "string", + "rows" => "integer", + "columns" => "integer", + "rotativa"=> "boolean", + "cosido"=> "boolean", + ]; +} diff --git a/ci4/app/Language/en/Imposiciones.php b/ci4/app/Language/en/Imposiciones.php new file mode 100644 index 00000000..5d47a904 --- /dev/null +++ b/ci4/app/Language/en/Imposiciones.php @@ -0,0 +1,7 @@ + 'The {field} field may only contain alphabetical characters.', + 'alpha_dash' => 'The {field} field may only contain alphanumeric characters, underscores, and dashes.', + 'alpha_numeric' => 'The {field} field may only contain alphanumeric characters.', + 'alpha_numeric_punct' => 'The {field} field may only contain alphanumeric characters, spaces, and punctuation: ~!#$%&*-_+=|:.', + 'alpha_numeric_space' => 'The {field} field may only contain alphanumeric characters and spaces.', + 'alpha_space' => 'The {field} field may only contain alphabetical characters and spaces.', + 'decimal' => 'The {field} field must contain a decimal number.', + 'differs' => 'The {field} field must differ from the {param} field.', + 'exact_length' => 'The {field} field must be exactly {param} characters in length.', + 'field_exists' => 'The {field} field must exist.', + 'greater_than' => 'The {field} field must be greater than {param}.', + 'greater_than_equal_to' => 'The {field} field must be greater than or equal to {param}.', + 'hex' => 'The {field} field may only contain hexadecimal characters.', + 'if_exist' => 'The {field} field will be validated only if it exists.', + 'in_list' => 'The {field} field must be one of: {param}.', + 'integer' => 'The {field} field must contain an integer.', + 'is_natural' => 'The {field} field must only contain natural numbers.', + 'is_natural_no_zero' => 'The {field} field must only contain natural numbers greater than zero.', + 'is_not_unique' => 'The {field} field value already exists in the database.', + 'is_unique' => 'The {field} field value must be unique.', + 'less_than' => 'The {field} field must be less than {param}.', + 'less_than_equal_to' => 'The {field} field must be less than or equal to {param}.', + 'matches' => 'The {field} field does not match the {param} field.', + 'max_length' => 'The {field} field cannot exceed {param} characters in length.', + 'min_length' => 'The {field} field must be at least {param} characters in length.', + 'not_in_list' => 'The {field} field must not be one of: {param}.', + 'numeric' => 'The {field} field must contain only numeric characters.', + 'permit_empty' => 'The {field} field may be empty.', + 'regex_match' => 'The {field} field format is invalid.', + 'required' => 'The {field} field is required.', + 'required_with' => 'The {field} field is required when {param} is present.', + 'required_without' => 'The {field} field is required when {param} is absent.', + 'string' => 'The {field} field must be a string.', + 'timezone' => 'The {field} field must be a valid timezone.', + 'valid_base64' => 'The {field} field must contain a valid Base64 string.', + 'valid_cc_number' => 'The {field} must be a valid credit card number for the specified provider.', + 'valid_date' => 'The {field} field must contain a valid date in the format {param}.', + 'valid_email' => 'The {field} field must contain a valid email address.', + 'valid_emails' => 'All values in the {field} field must be valid email addresses.', + 'valid_ip' => 'The {field} field must contain a valid {param} IP address.', + 'valid_json' => 'The {field} field must contain a valid JSON string.', + 'valid_url' => 'The {field} field must contain a valid URL.', + 'valid_url_strict' => 'The {field} field must contain a valid URL using one of these schemas: {param}.', +]; diff --git a/ci4/app/Language/es/Imposiciones.php b/ci4/app/Language/es/Imposiciones.php new file mode 100644 index 00000000..a65e8f17 --- /dev/null +++ b/ci4/app/Language/es/Imposiciones.php @@ -0,0 +1,38 @@ + "Lista imposiciones", + "id" => "id", + "ancho" => "Ancho", + "alto" => "Alto", + "unidades" => "Unidades", + "orientacion" => "Orientación", + "maquina" => "Máquina", + "etiqueta" => "Etiqueta", + "imposicion" => "Imposición", + "btnNewImposicion" => "Nueva imposición", + "btnNewImposicionEsquema" => "Nuevo esquema", + "H" => "Horizontal", + "V" => "Vertical", + "imposicion_esquemas" => "Esquemas", + "imposicion_esquema" => "Esquema", + "imposicion_esquema_drawing" => "Esquema imposicion dibujo", + "imposicion_esquema_link" => "Imposicion esquema link", + + "validation" => [ + "alto" => [ + "required" => "Este campo es obligatorio", + ], + "ancho" => [ + "required" => "Este campo es obligatorio", + ] + ], + "esquema" => [ + "name" => "Nombre", + "rows" => "Filas", + "columns" => "Columnas", + "rotativa" => "Rotativa", + "cosido" => "Cosido/Grapado" + ] +]; diff --git a/ci4/app/Language/es/Validation.php b/ci4/app/Language/es/Validation.php index 54d1e7a4..e6871db2 100755 --- a/ci4/app/Language/es/Validation.php +++ b/ci4/app/Language/es/Validation.php @@ -1,4 +1,47 @@ 'El campo {field} solo puede contener caracteres alfabéticos.', + 'alpha_dash' => 'El campo {field} solo puede contener caracteres alfanuméricos, guiones y guiones bajos.', + 'alpha_numeric' => 'El campo {field} solo puede contener caracteres alfanuméricos.', + 'alpha_numeric_punct' => 'El campo {field} solo puede contener caracteres alfanuméricos, espacios y los siguientes signos de puntuación: ~!#$%&*-_+=|:.', + 'alpha_numeric_space' => 'El campo {field} solo puede contener caracteres alfanuméricos y espacios.', + 'alpha_space' => 'El campo {field} solo puede contener caracteres alfabéticos y espacios.', + 'decimal' => 'El campo {field} debe contener un número decimal.', + 'differs' => 'El campo {field} debe ser diferente al campo {param}.', + 'exact_length' => 'El campo {field} debe tener exactamente {param} caracteres.', + 'field_exists' => 'El campo {field} debe existir.', + 'greater_than' => 'El campo {field} debe ser mayor que {param}.', + 'greater_than_equal_to' => 'El campo {field} debe ser mayor o igual que {param}.', + 'hex' => 'El campo {field} solo puede contener caracteres hexadecimales.', + 'if_exist' => 'El campo {field} se validará solo si existe.', + 'in_list' => 'El campo {field} debe ser uno de los siguientes: {param}.', + 'integer' => 'El campo {field} debe contener un número entero.', + 'is_natural' => 'El campo {field} solo puede contener números naturales.', + 'is_natural_no_zero' => 'El campo {field} solo puede contener números naturales mayores que cero.', + 'is_not_unique' => 'El valor del campo {field} ya existe en la base de datos.', + 'is_unique' => 'El valor del campo {field} debe ser único.', + 'less_than' => 'El campo {field} debe ser menor que {param}.', + 'less_than_equal_to' => 'El campo {field} debe ser menor o igual que {param}.', + 'matches' => 'El campo {field} no coincide con el campo {param}.', + 'max_length' => 'El campo {field} no puede superar los {param} caracteres.', + 'min_length' => 'El campo {field} debe tener al menos {param} caracteres.', + 'not_in_list' => 'El campo {field} no debe ser uno de los siguientes: {param}.', + 'numeric' => 'El campo {field} solo puede contener caracteres numéricos.', + 'permit_empty' => 'El campo {field} puede estar vacío.', + 'regex_match' => 'El campo {field} no tiene el formato correcto.', + 'required' => 'El campo {field} es obligatorio.', + 'required_with' => 'El campo {field} es obligatorio cuando {param} está presente.', + 'required_without' => 'El campo {field} es obligatorio cuando {param} no está presente.', + 'string' => 'El campo {field} debe ser una cadena de texto.', + 'timezone' => 'El campo {field} debe contener una zona horaria válida.', + 'valid_base64' => 'El campo {field} debe contener una cadena Base64 válida.', + 'valid_cc_number' => 'El campo {field} debe contener un número de tarjeta de crédito válido para el proveedor especificado.', + 'valid_date' => 'El campo {field} debe contener una fecha válida con el formato {param}.', + 'valid_email' => 'El campo {field} debe contener una dirección de correo electrónico válida.', + 'valid_emails' => 'Todos los valores del campo {field} deben ser direcciones de correo electrónico válidas.', + 'valid_ip' => 'El campo {field} debe contener una dirección IP válida del tipo {param}.', + 'valid_json' => 'El campo {field} debe contener una cadena JSON válida.', + 'valid_url' => 'El campo {field} debe contener una URL válida.', + 'valid_url_strict' => 'El campo {field} debe contener una URL válida con el esquema: {param}.', +]; diff --git a/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php b/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php new file mode 100644 index 00000000..448054dd --- /dev/null +++ b/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php @@ -0,0 +1,123 @@ + [ + "label" => "Imposiciones.esquema.name", + "rules" => "required|alpha_numeric_punct", + ], + "rows" => [ + "label" => "Imposiciones.esquema.rows", + "rules" => "required|integer" + ], + "columns" => [ + "label" => "Imposiciones.esquema.columns", + "rules" => "required|integer" + ], + "orientacion" => [ + "label" => "Imposiciones.esquema.orientacion", + "rules" => "required|in_list[V,H]" + ], + + ]; + protected $validationMessages = [ + "name" => [ + "required" => "Validation.required", + ], + "rows" => [ + "required" => "Validation.required", + "integer" => "Validation.integer", + ], + "columns" => [ + "required" => "Validation.required", + "integer" => "Validation.integer", + ], + "orientacion" => [ + "required" => "Validation.required", + "in_list" => "Validation.in_liust", + ], + ]; + protected $skipValidation = false; + protected $cleanValidationRules = true; + + // Callbacks + protected $allowCallbacks = true; + protected $beforeInsert = []; + protected $afterInsert = []; + protected $beforeUpdate = []; + protected $afterUpdate = []; + protected $beforeFind = []; + protected $afterFind = []; + protected $beforeDelete = []; + protected $afterDelete = []; + + public function querySelect(?string $q) + { + $query = $this->builder()->select([ + "id", + "name", + "svg_schema as description" + ]); + if ($q) { + $query->orLike("name", $q); + } + return $query + ->orderBy('id', 'ASC') + ->get()->getResultArray(); + } + public function queryDatatable() + { + return $this->builder() + ->select([ + "id", + "name", + "svg_schema" + + ])->where('deleted_at', null); + } + public static function datatable_buttons(int $id) + { + $btn = ""; + if (auth()->user()->inGroup("admin")) { + $btn .= ""; + $btn .= ""; + } + return $btn; + } +} diff --git a/ci4/app/Models/Configuracion/ImposicionModel.php b/ci4/app/Models/Configuracion/ImposicionModel.php index b21def73..02af0411 100755 --- a/ci4/app/Models/Configuracion/ImposicionModel.php +++ b/ci4/app/Models/Configuracion/ImposicionModel.php @@ -2,7 +2,10 @@ namespace App\Models\Configuracion; -class ImposicionModel extends \App\Models\BaseModel +use App\Entities\Configuracion\Imposicion; +use App\Models\BaseModel; + +class ImposicionModel extends BaseModel { protected $table = "lg_imposiciones"; @@ -23,8 +26,8 @@ class ImposicionModel extends \App\Models\BaseModel 7 => "t1.etiqueta", ]; - protected $allowedFields = ["ancho", "alto", "unidades", "orientacion", "maquina", "etiqueta"]; - protected $returnType = "App\Entities\Configuracion\Imposicion"; + protected $allowedFields = ["ancho", "alto", "unidades", "orientacion", "maquina", "etiqueta","imposicion_esquema_id"]; + protected $returnType = Imposicion::class; public static $labelField = "ancho"; @@ -53,6 +56,10 @@ class ImposicionModel extends \App\Models\BaseModel "label" => "Imposiciones.unidades", "rules" => "integer|permit_empty", ], + "imposicion_esquema_id" => [ + "label" => "Imposiciones.imposicion_esquema", + "rules" => "integer|permit_empty", + ], ]; protected $validationMessages = [ @@ -76,6 +83,9 @@ class ImposicionModel extends \App\Models\BaseModel "unidades" => [ "integer" => "Imposiciones.validation.unidades.integer", ], + "imposicion_esquema_id" => [ + "integer" => "Imposiciones.validation.unidades.integer", + ], ]; /** @@ -129,4 +139,26 @@ class ImposicionModel extends \App\Models\BaseModel ->orderBy('id', 'ASC') ->get()->getResultArray(); } + public function queryDatatable() + { + return $this->builder() + ->select([ + "id", + "ancho", + "alto", + "unidades", + "maquina", + "orientacion", + "etiqueta" + ])->where('deleted_at', null); + } + public static function datatable_buttons(int $id) + { + $btn = ""; + if(auth()->user()->inGroup("admin")){ + $btn.=""; + $btn.=""; + } + return $btn; + } } diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php b/ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php new file mode 100644 index 00000000..40fadd11 --- /dev/null +++ b/ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php @@ -0,0 +1,20 @@ + + \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php b/ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php new file mode 100644 index 00000000..5c285994 --- /dev/null +++ b/ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php @@ -0,0 +1,12 @@ + + + + + + + + + + + +
\ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php new file mode 100644 index 00000000..53cb5a46 --- /dev/null +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php @@ -0,0 +1,64 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+
+
+
+ +
\ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php index 6ffe399c..5556a088 100644 --- a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php @@ -1,64 +1,64 @@
-
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
+
+ + +
+
+ + +
-
- - -
- -
- - -
- -
- -
- -
- - -
- -
-
-
- - -
- -
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
\ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php new file mode 100644 index 00000000..73ad8f27 --- /dev/null +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php @@ -0,0 +1,41 @@ +include("themes/_commonPartialsBs/select2bs5") ?> +include("themes/_commonPartialsBs/sweetalert") ?> +extend('themes/vuexy/main/defaultlayout') ?> +section("content") ?> +
+
+
+
+

+
+
+
+ + +
+ +
+
+
+
+endSection() ?> + +section('css') ?> +" /> + + + +endSection() ?> + + +section('additionalExternalJs') ?> + + + + +endSection() ?> \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php index b1ebaed4..1175e877 100644 --- a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php @@ -1,26 +1,40 @@ include("themes/_commonPartialsBs/select2bs5") ?> include("themes/_commonPartialsBs/sweetalert") ?> -extend('themes/vuexy/main/defaultlayout') ?> +extend('themes/vuexy/main/defaultlayout') ?> section("content") ?>
-
+
-

+

-
- -
- - getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?> - -
- + +
+ + +
+
-
-
+
+
endSection() ?> + +section('css') ?> +" /> + + + +endSection() ?> + + +section('additionalExternalJs') ?> + + + +endSection() ?> \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php index 260e963b..b1e233f9 100644 --- a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php @@ -1,168 +1,83 @@ -include('themes/_commonPartialsBs/datatables') ?> -include('themes/_commonPartialsBs/sweetalert') ?> -extend('themes/vuexy/main/defaultlayout') ?> -section('content'); ?> +include('themes/_commonPartialsBs/datatables') ?> +include('themes/_commonPartialsBs/sweetalert') ?> +extend('themes/vuexy/main/defaultlayout') ?> +section('content'); ?> +
+ - -endSection() ?> + endSection() ?> -section('additionalInlineJs') ?> - - const lastColNr = $('#tableOfImposiciones').find("tr:first th").length - 1; - const actionBtns = function(data) { - return ` -
- - -
- `; - }; - theTable = $('#tableOfImposiciones').DataTable({ - processing: true, - serverSide: true, - autoWidth: true, - responsive: true, - scrollX: true, - lengthMenu: [ 5, 10, 25, 50, 75, 100, 250, 500, 1000, 2500 ], - pageLength: 10, - lengthChange: true, - "dom": 'lfBrtip', // 'lfBrtip', // you can try different layout combinations by uncommenting one or the other - // "dom": '<"top"lf><"clear">rt<"bottom"ipB><"clear">', // remember to comment this line if you uncomment the above - "buttons": [ - 'copy', 'csv', 'excel', 'print', { - extend: 'pdfHtml5', - orientation: 'landscape', - pageSize: 'A4' - } - ], - stateSave: true, - order: [[1, 'asc']], - language: { - url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json" - }, - ajax : $.fn.dataTable.pipeline( { - url: '', - method: 'POST', - headers: {'X-Requested-With': 'XMLHttpRequest'}, - async: true, - }), - columnDefs: [ - { - orderable: false, - searchable: false, - targets: [lastColNr] - } - ], - columns : [ - //{ 'data': actionBtns }, - { 'data': 'id' }, - { 'data': 'ancho' }, - { 'data': 'alto' }, - { 'data': 'unidades' }, - { 'data': 'orientacion' }, - { 'data': 'maquina' }, - { 'data': 'etiqueta' }, - { 'data': actionBtns } - ] - }); - - - - -$(document).on('click', '.btn-edit', function(e) { - window.location.href = `/${$(this).attr('data-id')}/edit`; - }); - -$(document).on('click', '.btn-delete', function(e) { - Swal.fire({ - title: '', - text: '', - icon: 'warning', - showCancelButton: true, - confirmButtonColor: '#3085d6', - confirmButtonText: '', - cancelButtonText: '', - cancelButtonColor: '#d33' - }) - .then((result) => { - const dataId = $(this).data('id'); - const row = $(this).closest('tr'); - if (result.value) { - $.ajax({ - url: `/${dataId}`, - method: 'DELETE', - }).done((data, textStatus, jqXHR) => { - Toast.fire({ - icon: 'success', - title: data.msg ?? jqXHR.statusText, - }); - - theTable.clearPipeline(); - theTable.row($(row)).invalidate().draw(); - }).fail((jqXHR, textStatus, errorThrown) => { - Toast.fire({ - icon: 'error', - title: jqXHR.responseJSON.messages.error, - }); - }) - } - }); - }); - -endSection() ?> -section('css') ?> + section('css') ?> + " /> + + + "> -endSection() ?> + endSection() ?> -section('additionalExternalJs') ?> + section('additionalExternalJs') ?> - - + + -endSection() ?> + + endSection() ?> \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php new file mode 100644 index 00000000..57c5d09f --- /dev/null +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php @@ -0,0 +1,40 @@ +include("themes/_commonPartialsBs/select2bs5") ?> +include("themes/_commonPartialsBs/sweetalert") ?> +extend('themes/vuexy/main/defaultlayout') ?> +section("content") ?> +
+
+
+
+

+
+
+
+ + +
+ +
+
+
+
+endSection() ?> + +section('css') ?> +" /> + + + +endSection() ?> + + +section('additionalExternalJs') ?> + + + +endSection() ?> \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php b/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php index bc04b2ed..ed70b71a 100644 --- a/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php +++ b/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php @@ -70,6 +70,13 @@ if ( + user()->inGroup('admin')) { ?> + + user()->can('usuarios.menu')) { ?>
+ ?> +
user()->can('presupuesto-cliente.create')) { ?>
@@ -39,6 +45,9 @@ "> PDF + + +
diff --git a/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php b/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php index c44f29dc..20ec1304 100644 --- a/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php +++ b/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php @@ -33,9 +33,6 @@
-
- -
@@ -45,8 +42,10 @@ "> - - + prototipo): ?> + + +
From 969966ac7859a175932292542f24c193e6f7d627 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Mon, 21 Apr 2025 08:32:21 +0200 Subject: [PATCH 13/15] add select imposicion datatable --- .../Configuracion/Imposiciones.php | 10 ++- ...-04-18-213000_AddFkEsquemaImposiciones.php | 3 +- .../Configuracion/ImposicionEsquemaModel.php | 2 +- .../Models/Configuracion/ImposicionModel.php | 20 +++--- .../imposiciones/viewImposicionList.php | 2 + .../datatables/ImposicionDatatable.js | 60 +++++++++++------- .../components/forms/ImposicionEsquemaForm.js | 61 +++++++++++-------- .../components/imposicionEsquemaDrawing.js | 38 +++++++----- .../configuracion/imposiciones/imposicion.js | 5 +- 9 files changed, 127 insertions(+), 74 deletions(-) diff --git a/ci4/app/Controllers/Configuracion/Imposiciones.php b/ci4/app/Controllers/Configuracion/Imposiciones.php index 83da4971..e47ad6be 100755 --- a/ci4/app/Controllers/Configuracion/Imposiciones.php +++ b/ci4/app/Controllers/Configuracion/Imposiciones.php @@ -106,6 +106,11 @@ class Imposiciones extends BaseController { if ($imposicion_id) { $bodyData = $this->request->getPost(); + if(isset($bodyData["imposicion_esquema_id"])){ + if($bodyData["imposicion_esquema_id"] == ""){ + $bodyData["imposicion_esquema_id"] = null; + } + } $status = $this->model->update($imposicion_id, $bodyData); if ($status) { $imposicionEntity = $this->model->find($imposicion_id); @@ -148,9 +153,10 @@ class Imposiciones extends BaseController { $q = $this->model->queryDatatable(); return DataTable::of($q) + ->add('esquema', fn($q) => ["imposicionId" => $q->id,"esquemaId" => $q->esquemaId, "esquemaName" => $q->esquemaName]) ->add( 'action', - fn($q) => "
". ImposicionModel::datatable_buttons($q->id)."
" + fn($q) => "
" . ImposicionModel::datatable_buttons($q->id) . "
" ) ->toJson(true); } @@ -160,7 +166,7 @@ class Imposiciones extends BaseController return DataTable::of($q) ->add( 'action', - fn($q) => "
". ImposicionEsquemaModel::datatable_buttons($q->id)."
" + fn($q) => "
" . ImposicionEsquemaModel::datatable_buttons($q->id) . "
" ) ->toJson(true); } diff --git a/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php b/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php index 83fd8d30..fd0fe949 100644 --- a/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php +++ b/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php @@ -15,9 +15,10 @@ class AddFkEsquemaImposiciones extends Migration "imposicion_esquema_id" => [ "type" => "INT", "unsigned" => true, + "null" => true ] ]); - $this->forge->addForeignKey(["imposicion_esquema_id"],"imposicion_esquemas",["id"]); + $this->forge->addForeignKey(["imposicion_esquema_id"],"imposicion_esquemas",["id"],'SET NULL','SET NULL'); $this->forge->processIndexes("lg_imposiciones"); } diff --git a/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php b/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php index 448054dd..220ad4b5 100644 --- a/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php +++ b/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php @@ -93,7 +93,7 @@ class ImposicionEsquemaModel extends Model "id", "name", "svg_schema as description" - ]); + ])->where('deleted_at', null); if ($q) { $query->orLike("name", $q); } diff --git a/ci4/app/Models/Configuracion/ImposicionModel.php b/ci4/app/Models/Configuracion/ImposicionModel.php index 02af0411..9fb05470 100755 --- a/ci4/app/Models/Configuracion/ImposicionModel.php +++ b/ci4/app/Models/Configuracion/ImposicionModel.php @@ -143,14 +143,18 @@ class ImposicionModel extends BaseModel { return $this->builder() ->select([ - "id", - "ancho", - "alto", - "unidades", - "maquina", - "orientacion", - "etiqueta" - ])->where('deleted_at', null); + "lg_imposiciones.id", + "lg_imposiciones.ancho", + "lg_imposiciones.alto", + "lg_imposiciones.unidades", + "lg_imposiciones.maquina", + "lg_imposiciones.orientacion", + "lg_imposiciones.etiqueta", + "imposicion_esquemas.id as esquemaId", + "imposicion_esquemas.name as esquemaName" + ]) + ->join("imposicion_esquemas","imposicion_esquemas.id = lg_imposiciones.imposicion_esquema_id","left") + ->where('lg_imposiciones.deleted_at', null); } public static function datatable_buttons(int $id) { diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php index b1e233f9..8f445874 100644 --- a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php +++ b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php @@ -1,4 +1,5 @@ include('themes/_commonPartialsBs/datatables') ?> +include("themes/_commonPartialsBs/select2bs5") ?> include('themes/_commonPartialsBs/sweetalert') ?> extend('themes/vuexy/main/defaultlayout') ?> section('content'); ?> @@ -31,6 +32,7 @@ + diff --git a/httpdocs/assets/js/safekat/components/datatables/ImposicionDatatable.js b/httpdocs/assets/js/safekat/components/datatables/ImposicionDatatable.js index 166760be..8b3132be 100644 --- a/httpdocs/assets/js/safekat/components/datatables/ImposicionDatatable.js +++ b/httpdocs/assets/js/safekat/components/datatables/ImposicionDatatable.js @@ -1,3 +1,6 @@ +import ClassSelect from "../select2.js"; +import Ajax from "../ajax.js"; + class ImposicionDatatable { constructor(domItem) { @@ -10,6 +13,7 @@ class ImposicionDatatable { { data: 'orientacion', searchable: true, sortable: true }, { data: 'maquina', searchable: true, sortable: true }, { data: 'etiqueta', searchable: true, sortable: true }, + { data: 'esquema', searchable: true, sortable: true, render: this.renderImposicionEsquemaCell.bind(this) }, { data: 'action', searchable: true, sortable: true }, ] this.datatableEsquemaColumns = [ @@ -27,7 +31,7 @@ class ImposicionDatatable { bottomEnd: 'paging' }, columnDefs: [ - { className: 'dt-center', targets: '_all' }, + { className: 'dt-center', targets: [0, 1, 2, 3, 4, 5, 6] }, ], serverSide: true, pageLength: 25, @@ -36,29 +40,43 @@ class ImposicionDatatable { }, columns: this.datatableColumns, ajax: '/imposiciones/datatable', + createdRow: (row, data, dataIndex) => { + this.createSelectImposicion(row, data) + } }); + // this.datatable.on("draw.dt", this.createSelectImposicion.bind(this)) + this.item.on("change", ".imposicion-esquema-select", this.handleChangeImposicionEsquema.bind(this)) } - initEsquema() { - this.datatableEsquema = this.item.DataTable({ - processing: true, - layout: { - topStart: 'pageLength', - topEnd: 'search', - bottomStart: 'info', - bottomEnd: 'paging' - }, - columnDefs: [ - { className: 'dt-center', targets: '_all' }, - ], - serverSide: true, - pageLength: 25, - language: { - url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json" - }, - columns: this.datatableEsquemaColumns, - ajax: '/imposiciones/esquema/datatable', - }); + + renderImposicionEsquemaCell(d, t) { + return `` } + createSelectImposicion(row, data) { + let selectEsquema = new ClassSelect($(row).find(".imposicion-esquema-select"), '/imposiciones/esquema/select', 'Seleccione un esquema', true) + selectEsquema.init() + if (data.esquema.esquemaId) { + selectEsquema.setOption(data.esquema.esquemaId, data.esquema.esquemaName) + } + } + handleChangeImposicionEsquema(event) { + let imposicionId = $(event.currentTarget).data("id") + let ajax = new Ajax(`/imposiciones/${imposicionId}`, + { + "imposicion_esquema_id": $(event.currentTarget).val(), + }, + null, + this.handleChangeImposicionEsquemaSuccess.bind(this), + this.handleChangeImposicionEsquemaError.bind(this)) + if (imposicionId) { + ajax.post() + } + } + handleChangeImposicionEsquemaSuccess(response) { + popSuccessAlert(response.message) + } + handleChangeImposicionEsquemaError() { } + } diff --git a/httpdocs/assets/js/safekat/components/forms/ImposicionEsquemaForm.js b/httpdocs/assets/js/safekat/components/forms/ImposicionEsquemaForm.js index c5183bbb..7110795b 100644 --- a/httpdocs/assets/js/safekat/components/forms/ImposicionEsquemaForm.js +++ b/httpdocs/assets/js/safekat/components/forms/ImposicionEsquemaForm.js @@ -4,7 +4,12 @@ import ImposicionEsquemaDrawing from '../imposicionEsquemaDrawing.js'; class ImposicionEsquemaForm { constructor(domItem) { this.item = domItem - this.drawing = new ImposicionEsquemaDrawing($("#imposicion-esquema-drawing")) + if ($("#imposicion-esquema-drawing").length > 0) { + + this.drawing = new ImposicionEsquemaDrawing($("#imposicion-esquema-drawing")) + } else { + this.drawing = null + } this.modelId = this.item.data("id"); this.btnSubmitUpdateImposicion = this.item.find("#btnSubmitUpdateImposicionEsquema") this.btnSubmitNewImposicion = this.item.find("#btnSubmitNewImposicionEsquema") @@ -29,31 +34,34 @@ class ImposicionEsquemaForm { } init() { - this.item.on("change", "#esquema-rows", (event) => { - let rows = $(event.currentTarget).val() - this.drawing.setRows(rows) - }) - this.item.on("change", "#esquema-rotativa", (event) => { - let rotativa = $(event.currentTarget).prop("checked") - this.drawing.setRotativa(rotativa) - }) - this.item.on("change", "#esquema-cosido", (event) => { - let cosido = $(event.currentTarget).prop("checked") - this.drawing.setCosido(cosido) - }) - this.item.on("change", "#esquema-orientacion", (event) => { - let orientation = $(event.currentTarget).val() - this.drawing.setOrientation(orientation) - }) - this.item.on("change", "#esquema-columns", (event) => { - let columns = $(event.currentTarget).val() - this.drawing.setColumns(columns) - }) - if (this.modelId) { - this.btnSubmitUpdateImposicion.on("click", this.handleUpdate.bind(this)) - this.handleGetData() - } else { - this.initNew() + if (this.drawing) { + this.drawing.setOrientation($("#esquema-orientacion").val()) + this.item.on("change", "#esquema-rows", (event) => { + let rows = $(event.currentTarget).val() + this.drawing.setRows(rows) + }) + this.item.on("change", "#esquema-rotativa", (event) => { + let rotativa = $(event.currentTarget).prop("checked") + this.drawing.setRotativa(rotativa) + }) + this.item.on("change", "#esquema-cosido", (event) => { + let cosido = $(event.currentTarget).prop("checked") + this.drawing.setCosido(cosido) + }) + this.item.on("change", "#esquema-orientacion", (event) => { + let orientation = $(event.currentTarget).val() + this.drawing.setOrientation(orientation) + }) + this.item.on("change", "#esquema-columns", (event) => { + let columns = $(event.currentTarget).val() + this.drawing.setColumns(columns) + }) + if (this.modelId) { + this.btnSubmitUpdateImposicion.on("click", this.handleUpdate.bind(this)) + this.handleGetData() + } else { + this.initNew() + } } } initNew() { @@ -156,6 +164,7 @@ class ImposicionEsquemaForm { this.disable() this.item.find(".invalid-feedback").remove() this.btnSubmitNewImposicion.addClass("d-none") + this.btnSubmitUpdateImposicion.addClass("d-none") popSuccessAlert(response.message) } postErrorNew(error) { diff --git a/httpdocs/assets/js/safekat/components/imposicionEsquemaDrawing.js b/httpdocs/assets/js/safekat/components/imposicionEsquemaDrawing.js index 406469a3..f6522914 100644 --- a/httpdocs/assets/js/safekat/components/imposicionEsquemaDrawing.js +++ b/httpdocs/assets/js/safekat/components/imposicionEsquemaDrawing.js @@ -7,14 +7,18 @@ class ImposicionEsquemaDrawing { height: 100, } this.rectangleCosidoDimensions = { - width: 50*2, + width: 50 * 2, height: 100, } this.offsetX = this.rectangleDimensions.width + 20 this.offsetY = this.rectangleDimensions.height + 20 this.offsetCosidoX = this.rectangleCosidoDimensions.width + 20 this.offsetCosidoY = this.rectangleCosidoDimensions.height + 20 - this.dw = new Two(this.params).appendTo(this.item[0]) + this.dw = null + if (this.item.length > 0) { + + this.dw = new Two(this.params).appendTo(this.item[0]) + } this.rows = 1 this.columns = 1 this.rotativa = false @@ -87,10 +91,10 @@ class ImposicionEsquemaDrawing { } drawRowsCosido(y = 0) { for (let index = 0; index < this.columns; index++) { - let rectangle = this.dw.makeRectangle(this.rectangleCosidoDimensions.width/2 + this.offsetCosidoX * index , this.rectangleCosidoDimensions.height /2 + y, this.rectangleCosidoDimensions.width, this.rectangleCosidoDimensions.height) - let textA = this.dw.makeText("N", this.rectangleCosidoDimensions.width/4 + this.offsetCosidoX * index, this.rectangleCosidoDimensions.height /2 + y) - let textB = this.dw.makeText("1", this.rectangleCosidoDimensions.width*3/4 + this.offsetCosidoX * index, this.rectangleCosidoDimensions.height /2 + y) - let line = this.dw.makeLine(rectangle.position.x,y,rectangle.position.x,this.rectangleCosidoDimensions.height + y) + let rectangle = this.dw.makeRectangle(this.rectangleCosidoDimensions.width / 2 + this.offsetCosidoX * index, this.rectangleCosidoDimensions.height / 2 + y, this.rectangleCosidoDimensions.width, this.rectangleCosidoDimensions.height) + let textA = this.dw.makeText("N", this.rectangleCosidoDimensions.width / 4 + this.offsetCosidoX * index, this.rectangleCosidoDimensions.height / 2 + y) + let textB = this.dw.makeText("1", this.rectangleCosidoDimensions.width * 3 / 4 + this.offsetCosidoX * index, this.rectangleCosidoDimensions.height / 2 + y) + let line = this.dw.makeLine(rectangle.position.x, y, rectangle.position.x, this.rectangleCosidoDimensions.height + y) this.textShapes.push(textA) this.textShapes.push(textB) @@ -124,10 +128,10 @@ class ImposicionEsquemaDrawing { drawOrientationCosido() { let vector; if (this.orientation == "H") { - vector = this.dw.makeArrow(-this.rectangleDimensions.width/2, (this.offsetCosidoY) * this.rows, (this.offsetCosidoX) * (this.columns), (this.offsetCosidoY) * this.rows) + vector = this.dw.makeArrow(-this.rectangleDimensions.width / 2, (this.offsetCosidoY) * this.rows, (this.offsetCosidoX) * (this.columns), (this.offsetCosidoY) * this.rows) this.dw.renderer.setSize((this.offsetCosidoX) * this.columns, (this.offsetCosidoY) * this.rows) - let width = (this.offsetCosidoX) * this.columns*1.1 - let height = (this.offsetCosidoY) * this.rows * 1.1 + let width = (this.offsetCosidoX) * this.columns * 1.1 + let height = (this.offsetCosidoY) * this.rows * 1.1 Two.SVGRenderer.Utils.setAttributes(this.dw.renderer.domElement, { viewBox: `0 0 ${width} ${height}` }) } else { vector = this.dw.makeArrow((this.offsetCosidoX) * this.columns, 0, (this.offsetCosidoX) * this.columns, (this.offsetCosidoY) * this.rows) @@ -141,23 +145,29 @@ class ImposicionEsquemaDrawing { this.vectorShapes.push(vector) } drawSchema() { + this.remove(); for (let index = 0; index < this.rows; index++) { - if(this.cosido){ + if (this.cosido) { this.drawRowsCosido(this.offsetY * index) - }else{ + } else { this.drawRows(this.offsetY * index) } } - if(this.cosido){ + if (this.cosido) { this.drawOrientationCosido() - }else{ + } else { this.drawOrientation() } this.dw.update() } getSVG() { - return this.dw.renderer.domElement.outerHTML + if (this.dw) { + + return this.dw.renderer.domElement.outerHTML + } else { + return null + } } } diff --git a/httpdocs/assets/js/safekat/pages/configuracion/imposiciones/imposicion.js b/httpdocs/assets/js/safekat/pages/configuracion/imposiciones/imposicion.js index 14bc9ca9..5d51fd5f 100644 --- a/httpdocs/assets/js/safekat/pages/configuracion/imposiciones/imposicion.js +++ b/httpdocs/assets/js/safekat/pages/configuracion/imposiciones/imposicion.js @@ -20,6 +20,9 @@ class Imposicion { this.imposicionEsquemaDatatable.init() this.itemTable.on("click", ".imposicion-delete", this.deleteRow.bind(this)) this.itemEsquemaTable.on("click", ".imposicion-esquema-delete", this.deleteEsquemaRow.bind(this)) + this.imposicionEsquemaForm = new ImposicionEsquemaForm(this.itemEsquemaForm) + this.imposicionForm = new ImposicionForm(this.itemForm) + } edit() { @@ -47,7 +50,7 @@ class Imposicion { alertConfirmationDelete().then((result) => { if (result.isConfirmed) { this.imposicionEsquemaForm.handleDelete(modelId) - this.imposicionEsquemaDatatable.datatableEsquema.ajax.reload() + this.imposicionEsquemaDatatable.datatable.ajax.reload() } }) } From 12e06937c4a03d4f0127beb24bb3015892eed1fb Mon Sep 17 00:00:00 2001 From: amazuecos Date: Mon, 21 Apr 2025 12:55:45 +0200 Subject: [PATCH 14/15] add 755 app --- ci4/app/Config/Auth.php | 0 ci4/app/Config/AuthGroups.php | 0 ci4/app/Config/AuthJWT.php | 0 ci4/app/Config/AuthToken.php | 0 ci4/app/Config/CURLRequest.php | 0 ci4/app/Config/Feature.php | 0 ci4/app/Config/Kint.php | 0 ci4/app/Config/LogoImpresion.php | 0 ci4/app/Config/OrdenTrabajo.php | 0 ci4/app/Config/PedidoXML.php | 0 ci4/app/Config/Publisher.php | 0 ci4/app/Config/RBAC/.gitkeep | 0 ci4/app/Config/Routes.php | 0 ci4/app/Config/Routes/ApiRoutes.php | 0 ci4/app/Config/Routes/ComprasRoutes.php | 0 ci4/app/Config/Routes/ConfiguracionRoutes.php | 0 ci4/app/Config/Routes/PresupuestosRoutes.php | 0 ci4/app/Config/Routes/TarifasRoutes.php | 0 ci4/app/Config/Routing.php | 0 ci4/app/Config/Safekat.php | 0 ci4/app/Config/Session.php | 0 ci4/app/Config/Toolbar.php | 0 ci4/app/Config/Wiki/WikiRoutes.php | 0 ci4/app/Controllers/API/ImprimelibrosApi.php | 0 ci4/app/Controllers/BaseResourceController.php | 0 ci4/app/Controllers/Chat/ChatController.php | 0 ci4/app/Controllers/Clientes/Clienteusuarios.php | 0 ci4/app/Controllers/Configuracion/ConfigErrores.php | 0 ci4/app/Controllers/Configuracion/ConfigVariables.php | 0 ci4/app/Controllers/Configuracion/FormasPago.php | 0 ci4/app/Controllers/Configuracion/MaquinaTarea.php | 0 ci4/app/Controllers/Configuracion/SeriesFacturas.php | 0 ci4/app/Controllers/Configuracion/Ubicaciones.php | 0 ci4/app/Controllers/Excel/PrintGiros.php | 0 ci4/app/Controllers/Excel/PrintLineas.php | 0 ci4/app/Controllers/Facturacion/FacturasLineas.php | 0 ci4/app/Controllers/Facturacion/FacturasPagos.php | 0 ci4/app/Controllers/Logistica/LogisticaController.php | 0 ci4/app/Controllers/Mensajeria/MensajesDirectos.php | 0 ci4/app/Controllers/Pdf/PrintAlbaranes.php | 0 ci4/app/Controllers/Pdf/PrintFacturas.php | 0 ci4/app/Controllers/Pedidos/Albaran.php | 0 ci4/app/Controllers/Presupuestos/Buscador.php | 0 ci4/app/Controllers/Presupuestos/Importadorpresupuestos.php | 0 ci4/app/Controllers/Presupuestos/Presupuestoadmin.php | 0 .../Controllers/Presupuestos/Presupuestotiradasalternativas.php | 0 ci4/app/Controllers/Sistema/Actividad.php | 0 ci4/app/Controllers/Sistema/AuthAPIController.php | 0 ci4/app/Controllers/Sistema/Intranet.php | 0 ci4/app/Controllers/Soporte/Ticketcontroller.php | 0 ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php | 0 ci4/app/Controllers/Tarifas/Acabados/TarifaAcabados.php | 0 ci4/app/Controllers/Tarifas/Acabados/TarifaAcabadosLineas.php | 0 ci4/app/Controllers/Tarifas/Maquinas/TarifaMaquinas.php | 0 ci4/app/Controllers/Utiles.php | 0 ci4/app/Controllers/Wiki/WikiController.php | 0 .../Migrations/2024-04-09-173000_RemovePrecioUnidadFacturas.php | 0 ci4/app/Database/Migrations/2024-09-17-151435_ChatDepartments.php | 0 ci4/app/Database/Migrations/2024-09-17-151440_ChatsTable.php | 0 ci4/app/Database/Migrations/2024-09-17-151450_ChatMessages.php | 0 .../Database/Migrations/2024-09-17-151500_ChatDepartmentUsers.php | 0 .../Database/Migrations/2024-10-02-090620_ConfigVariablesApp.php | 0 ci4/app/Database/Migrations/2024-10-12-151500_ChatUsers.php | 0 .../Migrations/2024-10-13-185128_AlterChatTableAddTitleColumn.php | 0 .../Database/Migrations/2024-10-13-200759_ChatNotifications.php | 0 .../Migrations/2024-11-13-161331_CheckWebClientesPapeles.php | 0 .../2024-11-17-194547_ModifyNullableComercialSoporte.php | 0 ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php | 0 .../Migrations/2024-11-20-162124_CambiarTicksPapelImpresion.php | 0 .../2024-11-25-173558_AddTickInteriorPapelImpresion.php | 0 .../Migrations/2024-11-27-105608_AddTickTapaDuraPapelImp.php | 0 .../Database/Migrations/2024-11-30-160000_TareasServicioTable.php | 0 .../Database/Migrations/2024-11-30-170000_OrdenTrabajoTable.php | 0 .../Migrations/2024-11-30-170001_OrdenTrabajoTareasTable.php | 0 .../Migrations/2024-11-30-170002_OrdenTrabajoDatesTable.php | 0 .../Migrations/2024-11-30-170002_OrdenTrabajoUsersTable.php | 0 .../2024-11-30-170006_OrdenTrabajoMaquetacionesTable.php | 0 .../2024-11-30-171007_OrdenTrabajoMaquetacionMovimientosTable.php | 0 .../Migrations/2024-12-08-195700_AlterColumnServiciosCliente.php | 0 .../Migrations/2024-12-14-121014_RemoveEstampadoBarnizado.php | 0 .../Database/Migrations/2024-12-16-180000_MaquinaTareasTable.php | 0 .../Migrations/2024-12-16-183531_TarifaAcabadoMaquinaTable.php | 0 .../Migrations/2024-12-16-183550_TarifaManipuladoMaquinaTable.php | 0 .../2024-12-16-183607_TarifaPreimpresionMaquinaTable.php | 0 .../2024-12-16-183619_TarifaEncuadernacionMaquinaTable.php | 0 .../Migrations/2024-12-17-183619_TarifaExtraMaquinaTable.php | 0 .../Migrations/2025-02-14-114500_create_tickets_system.php | 0 ...6-194726_AlterTableTarifasCheckPresupuestoClienteMigration.php | 0 .../2025-02-16-224244_AlterAddColumnActivoPapelGenerico.php | 0 ...leTarifasExtraPreimpresionCheckPresupuestoClienteMigration.php | 0 .../Migrations/2025-02-22-074400_WikiSectionsMigration.php | 0 .../Database/Migrations/2025-02-22-080000_WikiPagesMigration.php | 0 .../Migrations/2025-02-22-080100_WikiContentsMigration.php | 0 .../Database/Migrations/2025-02-22-080200_WikiFilesMigration.php | 0 .../Database/Migrations/2025-02-24-093400_serviciosAcabado.php | 0 .../Migrations/2025-03-02-080000_WikiSectionRolesMigration.php | 0 .../Migrations/2025-03-02-120000_WikiSectionNameMigration.php | 0 .../2025-03-17-080000_AddForeignChatDepartmentUsers.php | 0 .../Migrations/2025-03-26-210001_AlterOrdenTrabajoUsers.php | 0 .../Migrations/2025-03-26-210002_AlterOrdenTrabajoDates.php | 0 .../2025-03-31-080000_AddColumnIsCorteOrdenTrabajoTarea.php | 0 .../2025-03-31-204200_AlterForeignKeysOrdenTrabajoTareas.php | 0 .../Migrations/2025-04-02-074000_ImpresoraEtiquetasTable.php | 0 .../Migrations/2025-04-03-233800_OrdenTrabajoFilesTable.php | 0 ...2025-04-04-212900_AddColumnIsPedidoEsperaOrdenTrabajoTable.php | 0 .../Database/Migrations/2025-04-11-040000_DropIsDeletedField.php | 0 .../Migrations/2025-04-11-180001_AddUserIdFechaEntregaPedido.php | 0 .../2025-04-12-130000_AddCantidadConceptoPedidoLinea.php | 0 .../2025-04-14-204500_UpdateDateFieldsOrdenTrabajoDates.php | 0 .../2025-04-14-235200_AddFkOrdenTrabajoChatDepartment.php | 0 .../Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php | 0 .../Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php | 0 .../Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php | 0 ci4/app/Database/Seeds/ChatSeeder.php | 0 ci4/app/Database/Seeds/DefaultConfigVariablesSeeder.php | 0 ci4/app/Database/Seeds/EtiquetaImpresoraSeeder.php | 0 ci4/app/Database/Seeds/MaquinaTareaSeeder.php | 0 ci4/app/Database/Seeds/MessageSeeder.php | 0 ci4/app/Database/Seeds/TicketsSeeder.php | 0 ci4/app/Database/Seeds/WikiSectionSeeder.php | 0 ci4/app/Entities/Chat/ChatDepartmentEntity.php | 0 ci4/app/Entities/Chat/ChatDepartmentUserEntity.php | 0 ci4/app/Entities/Chat/ChatEntity.php | 0 ci4/app/Entities/Chat/ChatMessageEntity.php | 0 ci4/app/Entities/Chat/ChatNotificationEntity.php | 0 ci4/app/Entities/Chat/ChatUserEntity.php | 0 ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php | 0 ci4/app/Entities/Configuracion/ImpresoraEtiquetaEntity.php | 0 ci4/app/Entities/Configuracion/SeriesFacturasEntity.php | 0 ci4/app/Entities/Configuracion/ServicioClienteEntity.php | 0 ci4/app/Entities/Configuracion/UbicacionesEntity.php | 0 ci4/app/Entities/Facturas/FacturaEntity.php | 0 ci4/app/Entities/Facturas/FacturaLineaEntity.php | 0 ci4/app/Entities/Facturas/FacturaPagoEntity.php | 0 ci4/app/Entities/Mensajeria/ConversacionEntity.php | 0 ci4/app/Entities/Mensajeria/ParticipanteEntity.php | 0 ci4/app/Entities/Pedidos/AlbaranEntity.php | 0 ci4/app/Entities/Pedidos/AlbaranLineaEntity.php | 0 ci4/app/Entities/Pedidos/PedidoEntity.php | 0 ci4/app/Entities/Pedidos/PedidoLineaEntity.php | 0 ci4/app/Entities/Presupuestos/PresupuestoFicheroEntity.php | 0 ci4/app/Entities/Presupuestos/PresupuestoManipuladosEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoFileEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionEntity.php | 0 .../Produccion/OrdenTrabajoMaquetacionMovimientoEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoTareaEntity.php | 0 ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php | 0 ci4/app/Entities/Sistema/ActivityEntity.php | 0 ci4/app/Entities/Sistema/SettingsEntity.php | 0 ci4/app/Entities/Soporte/TicketEntity.php | 0 ci4/app/Entities/Soporte/TicketRespuestaEntity.php | 0 ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php | 0 ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php | 0 ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoLineaEntity.php | 0 .../Tarifas/Acabados/TarifasAcabadosServicioAcabadoEntity.php | 0 ci4/app/Entities/Tarifas/Maquinas/TareaMaquinaEntity.php | 0 ci4/app/Entities/Tarifas/Maquinas/TarifaAcabadoMaquinaEntity.php | 0 .../Tarifas/Maquinas/TarifaEncuadernacionMaquinaEntity.php | 0 ci4/app/Entities/Tarifas/Maquinas/TarifaExtraMaquinaEntity.php | 0 .../Entities/Tarifas/Maquinas/TarifaManipuladoMaquinaEntity.php | 0 .../Entities/Tarifas/Maquinas/TarifaPreimpresionMaquinaEntity.php | 0 ci4/app/Entities/Usuarios/GroupEntity.php | 0 ci4/app/Entities/Usuarios/GroupsUsersEntity.php | 0 ci4/app/Entities/Usuarios/PermisosEntity.php | 0 ci4/app/Entities/Wiki/WikiContentEntity.php | 0 ci4/app/Entities/Wiki/WikiFileEntity.php | 0 ci4/app/Entities/Wiki/WikiPageEntity.php | 0 ci4/app/Entities/Wiki/WikiSectionEntity.php | 0 ci4/app/Entities/Wiki/WikiSectionRoleEntity.php | 0 ci4/app/Filters/Cors.php | 0 ci4/app/Helpers/general_helper.php | 0 ci4/app/Helpers/logger_helper.php | 0 ci4/app/Helpers/rbac_helper.php | 0 ci4/app/Helpers/time_helper.php | 0 ci4/app/Language/en/Auth.php | 0 ci4/app/Language/en/Chat.php | 0 ci4/app/Language/en/Facturas.php | 0 ci4/app/Language/en/FormasPago.php | 0 ci4/app/Language/en/Imposiciones.php | 0 ci4/app/Language/en/Pedidos.php | 0 ci4/app/Language/en/Produccion.php | 0 ci4/app/Language/en/Wiki.php | 0 ci4/app/Language/es/Auth.php | 0 ci4/app/Language/es/Chat.php | 0 ci4/app/Language/es/ConfigVariables.php | 0 ci4/app/Language/es/ErrorPresupuesto.php | 0 ci4/app/Language/es/Facturas.php | 0 ci4/app/Language/es/Imposiciones.php | 0 ci4/app/Language/es/Logistica.php | 0 ci4/app/Language/es/MaquinaTarea.php | 0 ci4/app/Language/es/Pedidos.php | 0 ci4/app/Language/es/Produccion.php | 0 ci4/app/Language/es/RolesPermisos.php | 0 ci4/app/Language/es/SeriesFacturas.php | 0 ci4/app/Language/es/Tickets.php | 0 ci4/app/Language/es/Ubicaciones.php | 0 ci4/app/Language/es/Wiki.php | 0 ci4/app/Libraries/SafekatFtpClient.php | 0 ci4/app/Models/BaseModel.php | 0 ci4/app/Models/Chat/ChatDeparmentModel.php | 0 ci4/app/Models/Chat/ChatDeparmentUserModel.php | 0 ci4/app/Models/Chat/ChatMessageModel.php | 0 ci4/app/Models/Chat/ChatModel.php | 0 ci4/app/Models/ChatNotification.php | 0 ci4/app/Models/ChatUser.php | 0 ci4/app/Models/Clientes/ClienteUsuariosModel.php | 0 ci4/app/Models/CollectionModel.php | 0 ci4/app/Models/Configuracion/ConfigVariableModel.php | 0 ci4/app/Models/Configuracion/ImposicionEsquemaModel.php | 0 ci4/app/Models/Configuracion/ImpresoraEtiquetaModel.php | 0 ci4/app/Models/Configuracion/MaquinaTareaModel.php | 0 ci4/app/Models/Configuracion/SeriesFacturasModel.php | 0 ci4/app/Models/Configuracion/ServicioClienteModel.php | 0 ci4/app/Models/Configuracion/ServicioClienteTareaModel.php | 0 ci4/app/Models/Configuracion/UbicacionesModel.php | 0 ci4/app/Models/Facturas/FacturaLineaModel.php | 0 ci4/app/Models/Facturas/FacturaModel.php | 0 ci4/app/Models/Facturas/FacturaPagoModel.php | 0 ci4/app/Models/Mensajeria/ConversacionModel.php | 0 ci4/app/Models/Mensajeria/ParticipanteModel.php | 0 ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php | 0 ci4/app/Models/OrdenTrabajo/OrdenTrabajoFileModel.php | 0 ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php | 0 ci4/app/Models/OrdenTrabajo/OrdenTrabajoTarea.php | 0 ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php | 0 ci4/app/Models/Pedidos/AlbaranLineaModel.php | 0 ci4/app/Models/Pedidos/AlbaranModel.php | 0 ci4/app/Models/Pedidos/PedidoLineaModel.php | 0 ci4/app/Models/Pedidos/PedidoModel.php | 0 ci4/app/Models/Presupuestos/BuscadorModel.php | 0 ci4/app/Models/Presupuestos/ErrorPresupuesto.php | 0 ci4/app/Models/Presupuestos/ImportadorModel.php | 0 ci4/app/Models/Presupuestos/PresupuestoFicheroModel.php | 0 ci4/app/Models/Sistema/ActivityModel.php | 0 ci4/app/Models/Soporte/TicketModel.php | 0 ci4/app/Models/Soporte/TicketRespuestaModel.php | 0 ci4/app/Models/Soporte/ticketFileModel.php | 0 ci4/app/Models/Tarifas/Acabados/ServicioAcabadoModel.php | 0 ci4/app/Models/Tarifas/Acabados/TarifaAcabadoLineaModel.php | 0 ci4/app/Models/Tarifas/Acabados/TarifaAcabadoModel.php | 0 .../Tarifas/Acabados/TarifasAcabadoServiciosAcabadoModel.php | 0 ci4/app/Models/Tarifas/Maquinas/TarifaAcabadoMaquinaModel.php | 0 .../Models/Tarifas/Maquinas/TarifaEncuadernacionMaquinaModel.php | 0 ci4/app/Models/Tarifas/Maquinas/TarifaExtraMaquinaModel.php | 0 ci4/app/Models/Tarifas/Maquinas/TarifaManipuladoMaquinaModel.php | 0 .../Models/Tarifas/Maquinas/TarifaPreimpresionMaquinaModel.php | 0 ci4/app/Models/Usuarios/GroupModel.php | 0 ci4/app/Models/Usuarios/GroupsUsersModel.php | 0 ci4/app/Models/Usuarios/PermisosModel.php | 0 ci4/app/Models/Wiki/WikiContentModel.php | 0 ci4/app/Models/Wiki/WikiFileModel.php | 0 ci4/app/Models/Wiki/WikiPageModel.php | 0 ci4/app/Models/Wiki/WikiSectionModel.php | 0 ci4/app/Models/Wiki/WikiSectionRoleModel.php | 0 ci4/app/Services/ChatService.php | 0 ci4/app/Services/EmailService.php | 0 ci4/app/Services/ImpresoraEtiquetaService.php | 0 ci4/app/Services/MaquinaService.php | 0 ci4/app/Services/MessageService.php | 0 ci4/app/Services/PapelImpresionService.php | 0 ci4/app/Services/PedidoXMLService.php | 0 ci4/app/Services/PresupuestoClienteService.php | 0 ci4/app/Services/ProductionService.php | 0 ci4/app/Services/TarifaMaquinaService.php | 0 ci4/app/Views/Shield/Email/email_2fa_email.php | 0 ci4/app/Views/Shield/Email/email_activate_email.php | 0 ci4/app/Views/Shield/Email/magic_link_email.php | 0 ci4/app/Views/Shield/email_2fa_show.php | 0 ci4/app/Views/Shield/email_2fa_verify.php | 0 ci4/app/Views/Shield/email_activate_show.php | 0 ci4/app/Views/Shield/layout.php | 0 ci4/app/Views/Shield/login.php | 0 ci4/app/Views/Shield/magic_link_form.php | 0 ci4/app/Views/Shield/magic_link_message.php | 0 ci4/app/Views/Shield/register.php | 0 ci4/app/Views/themes/_commonPartialsBs/_modalInput.php | 0 ci4/app/Views/themes/_commonPartialsBs/_modalMessageDialog.php | 0 ci4/app/Views/themes/_commonPartialsBs/translate.js | 0 ci4/app/Views/themes/vuexy/components/alerts/alert.php | 0 ci4/app/Views/themes/vuexy/components/chat_direct.php | 0 ci4/app/Views/themes/vuexy/components/chat_factura.php | 0 ci4/app/Views/themes/vuexy/components/chat_general.php | 0 ci4/app/Views/themes/vuexy/components/chat_internal_factura.php | 0 .../Views/themes/vuexy/components/chat_internal_orden_trabajo.php | 0 ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php | 0 .../Views/themes/vuexy/components/chat_internal_presupuesto.php | 0 ci4/app/Views/themes/vuexy/components/chat_orden_trabajo.php | 0 ci4/app/Views/themes/vuexy/components/chat_pedido.php | 0 ci4/app/Views/themes/vuexy/components/chat_presupuesto.php | 0 ci4/app/Views/themes/vuexy/components/dropzone.php | 0 ci4/app/Views/themes/vuexy/components/forms/chat_department.php | 0 ci4/app/Views/themes/vuexy/components/forms/maquina_tarea.php | 0 ci4/app/Views/themes/vuexy/components/forms/tarifa_maquinas.php | 0 ci4/app/Views/themes/vuexy/components/internal_messages.php | 0 .../themes/vuexy/components/modals/modalAddNewChatParticipant.php | 0 ci4/app/Views/themes/vuexy/components/modals/modalDireccion.php | 0 .../themes/vuexy/components/modals/modalNewDirectMessage.php | 0 .../vuexy/components/modals/modalNewDirectMessageClient.php | 0 .../Views/themes/vuexy/components/modals/modalNewImposicion.php | 0 .../themes/vuexy/components/modals/modalNewInternalMessage.php | 0 .../Views/themes/vuexy/components/modals/modalOtTaskManual.php | 0 ci4/app/Views/themes/vuexy/components/modals/modalSection.php | 0 .../vuexy/components/tables/chat_department_users_table.php | 0 .../themes/vuexy/components/tables/chat_departments_table.php | 0 .../themes/vuexy/components/tables/imposicion_esquema_table.php | 0 .../Views/themes/vuexy/components/tables/maquina_tarea_table.php | 0 ci4/app/Views/themes/vuexy/components/tables/messages_table.php | 0 ci4/app/Views/themes/vuexy/components/tables/ot_table.php | 0 ci4/app/Views/themes/vuexy/components/tables/ot_task_table.php | 0 .../vuexy/components/tables/planning_papel_gramaje_table.php | 0 .../vuexy/components/tables/planning_papel_pliego_table.php | 0 .../Views/themes/vuexy/components/tables/planning_plana_table.php | 0 .../Views/themes/vuexy/components/tables/planning_rot_table.php | 0 ci4/app/Views/themes/vuexy/form/activity/activityList.php | 0 .../vuexy/form/clientes/cliente/_clienteDireccionesForm.php | 0 .../themes/vuexy/form/clientes/cliente/_clienteFormItems.php | 0 .../vuexy/form/clientes/cliente/_facturacionClienteItems.php | 0 .../themes/vuexy/form/clientes/cliente/_pedidosClienteItems.php | 0 .../vuexy/form/clientes/cliente/_presupuestosClienteItems.php | 0 .../Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php | 0 .../Views/themes/vuexy/form/clientes/cliente/viewClienteList.php | 0 .../vuexy/form/clientes/contactos/_contactoDeClienteFormItems.php | 0 .../vuexy/form/clientes/contactos/viewContactoDeClienteForm.php | 0 .../vuexy/form/clientes/contactos/viewContactoDeClienteList.php | 0 .../form/clientes/direcciones/viewClienteDireccionesList.php | 0 .../clientes/distribuidores/_distribuidorDeClienteFormItems.php | 0 .../clientes/distribuidores/viewDistribuidorDeClienteForm.php | 0 .../clientes/distribuidores/viewDistribuidorDeClienteList.php | 0 .../plantillaprecios/_ClienteplantillapreciosFormItems.php | 0 .../clientes/plantillaprecios/viewClienteplantillapreciosForm.php | 0 .../clientes/plantillaprecios/viewClienteplantillapreciosList.php | 0 .../themes/vuexy/form/compras/proveedores/_proveedorFormItems.php | 0 .../vuexy/form/compras/proveedores/_proveedorTipoFormItems.php | 0 .../themes/vuexy/form/compras/proveedores/viewProveedorForm.php | 0 .../themes/vuexy/form/compras/proveedores/viewProveedorList.php | 0 .../vuexy/form/compras/proveedores/viewProveedorTipoForm.php | 0 .../vuexy/form/compras/proveedores/viewProveedorTipoList.php | 0 .../comunidades-autonomas/_comunidadAutonomaFormItems.php | 0 .../comunidades-autonomas/viewComunidadAutonomaForm.php | 0 .../comunidades-autonomas/viewComunidadAutonomaList.php | 0 .../configuracion/error_presupuesto/viewErrorPresupuestoForm.php | 0 .../configuracion/error_presupuesto/viewErrorPresupuestoList.php | 0 .../form/configuracion/formas-pago/_formaDePagoFormItems.php | 0 .../vuexy/form/configuracion/formas-pago/viewFormaDePagoForm.php | 0 .../vuexy/form/configuracion/formas-pago/viewFormaDePagoList.php | 0 .../configuracion/imposiciones/_imposicionEsquemaFormItems.php | 0 .../form/configuracion/imposiciones/_imposicionFormItems.php | 0 .../form/configuracion/imposiciones/viewImposicionEsquemaForm.php | 0 .../vuexy/form/configuracion/imposiciones/viewImposicionForm.php | 0 .../vuexy/form/configuracion/imposiciones/viewImposicionList.php | 0 .../form/configuracion/imposiciones/viewImposicionNewForm.php | 0 .../vuexy/form/configuracion/maquina_tareas/editMaquinaTarea.php | 0 .../vuexy/form/configuracion/maquina_tareas/viewMaquinaTarea.php | 0 .../vuexy/form/configuracion/maquinas/_maquinaFormItems.php | 0 .../form/configuracion/maquinas/_maquinaPorDefectoFormItems.php | 0 .../themes/vuexy/form/configuracion/maquinas/viewMaquinaForm.php | 0 .../themes/vuexy/form/configuracion/maquinas/viewMaquinaList.php | 0 .../form/configuracion/maquinas/viewMaquinaPorDefectoForm.php | 0 .../form/configuracion/maquinas/viewMaquinaPorDefectoList.php | 0 .../Views/themes/vuexy/form/configuracion/messages/configView.php | 0 .../vuexy/form/configuracion/messages/editChatDepartmentForm.php | 0 .../themes/vuexy/form/configuracion/paises/_paisFormItems.php | 0 .../Views/themes/vuexy/form/configuracion/paises/viewPaisForm.php | 0 .../Views/themes/vuexy/form/configuracion/paises/viewPaisList.php | 0 .../vuexy/form/configuracion/papel/_papelGenericoFormItems.php | 0 .../vuexy/form/configuracion/papel/_papelImpresionFormItems.php | 0 .../vuexy/form/configuracion/papel/viewPapelGenericoForm.php | 0 .../vuexy/form/configuracion/papel/viewPapelGenericoList.php | 0 .../vuexy/form/configuracion/papel/viewPapelImpresionForm.php | 0 .../vuexy/form/configuracion/papel/viewPapelImpresionList.php | 0 .../form/configuracion/papelformato/_papelFormatoFormItems.php | 0 .../form/configuracion/papelformato/viewPapelFormatoForm.php | 0 .../form/configuracion/papelformato/viewPapelFormatoList.php | 0 .../vuexy/form/configuracion/provincias/_provinciaFormItems.php | 0 .../vuexy/form/configuracion/provincias/viewProvinciaForm.php | 0 .../vuexy/form/configuracion/provincias/viewProvinciaList.php | 0 .../configuracion/series-facturas/_seriesFacturasFormItems.php | 0 .../form/configuracion/series-facturas/viewSeriesFacturasForm.php | 0 .../form/configuracion/series-facturas/viewSeriesFacturasList.php | 0 .../form/configuracion/tipologias/_tipologiaLibrosFormItems.php | 0 .../form/configuracion/tipologias/viewTipologiaLibrosForm.php | 0 .../form/configuracion/tipologias/viewTipologiaLibrosList.php | 0 .../form/configuracion/ubicaciones/_ubicacionesFormItems.php | 0 .../vuexy/form/configuracion/ubicaciones/viewUbicacionesForm.php | 0 .../vuexy/form/configuracion/ubicaciones/viewUbicacionesList.php | 0 .../vuexy/form/configuracion/variables/viewVariablesList.php | 0 ci4/app/Views/themes/vuexy/form/facturas/_addPedidosItems.php | 0 .../Views/themes/vuexy/form/facturas/_facturaCabeceraItems.php | 0 ci4/app/Views/themes/vuexy/form/facturas/_facturaLineasItems.php | 0 ci4/app/Views/themes/vuexy/form/facturas/_pagosFacturasItems.php | 0 .../themes/vuexy/form/facturas/_rectificadaFacturasItems.php | 0 ci4/app/Views/themes/vuexy/form/facturas/viewAddFactura.php | 0 ci4/app/Views/themes/vuexy/form/facturas/viewFacturaForm.php | 0 ci4/app/Views/themes/vuexy/form/facturas/viewFacturasList.php | 0 ci4/app/Views/themes/vuexy/form/group/viewUserGroupForm.php | 0 ci4/app/Views/themes/vuexy/form/group/viewUserGroupList.php | 0 ci4/app/Views/themes/vuexy/form/home/viewHome.php | 0 ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php | 0 ci4/app/Views/themes/vuexy/form/mensajes/mensajeria.js | 0 ci4/app/Views/themes/vuexy/form/mensajes/mensajesView.php | 0 ci4/app/Views/themes/vuexy/form/mensajes/messageChat.php | 0 ci4/app/Views/themes/vuexy/form/mensajes/messageChatFactura.php | 0 ci4/app/Views/themes/vuexy/form/mensajes/messageChatInternal.php | 0 ci4/app/Views/themes/vuexy/form/mensajes/messageChatPedido.php | 0 .../Views/themes/vuexy/form/mensajes/messageChatPresupuesto.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/_albaranesItems.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/_cabeceraItems.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/_facturasItems.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/_lineasItems.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/viewPedidoForm.php | 0 ci4/app/Views/themes/vuexy/form/pedidos/viewPedidosList.php | 0 .../themes/vuexy/form/presupuestos/admin/_comentariosItems.php | 0 .../Views/themes/vuexy/form/presupuestos/admin/_datosEnvios.php | 0 .../themes/vuexy/form/presupuestos/admin/_datosLibroItems.php | 0 .../form/presupuestos/admin/_datosPresupuestoClienteItems.php | 0 .../vuexy/form/presupuestos/admin/_datosPresupuestoItems.php | 0 .../themes/vuexy/form/presupuestos/admin/_datosServiciosItems.php | 0 .../vuexy/form/presupuestos/admin/_lineasPresupuestoItems.php | 0 .../Views/themes/vuexy/form/presupuestos/admin/_mensajeria.php | 0 .../vuexy/form/presupuestos/admin/_presupuestoDireccionesForm.php | 0 .../Views/themes/vuexy/form/presupuestos/admin/_previewItems.php | 0 .../themes/vuexy/form/presupuestos/admin/_resumenCreditoItems.php | 0 .../vuexy/form/presupuestos/admin/_resumenPresupuestoItems.php | 0 .../vuexy/form/presupuestos/admin/_tiradasAlternativasItems.php | 0 .../vuexy/form/presupuestos/admin/viewPresupuestoAdminList.php | 0 .../vuexy/form/presupuestos/admin/viewPresupuestoadminForm.php | 0 .../themes/vuexy/form/presupuestos/buscador/viewBuscadorList.php | 0 .../themes/vuexy/form/presupuestos/cliente/items/_buttons.php | 0 .../vuexy/form/presupuestos/cliente/items/_datosGenerales.php | 0 .../themes/vuexy/form/presupuestos/cliente/items/_direcciones.php | 0 .../vuexy/form/presupuestos/cliente/items/_disenioCubierta.php | 0 .../vuexy/form/presupuestos/cliente/items/_disenioInterior.php | 0 .../themes/vuexy/form/presupuestos/cliente/items/_interior.php | 0 .../presupuestos/cliente/items/_presupuestoDireccionesForm.php | 0 .../themes/vuexy/form/presupuestos/cliente/items/_resumen.php | 0 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/loader.php | 0 .../vuexy/form/presupuestos/cliente/viewPresupuestoList.php | 0 .../form/presupuestos/cliente/viewPresupuestoclienteForm.php | 0 .../form/presupuestos/importador/viewImportadorPresupuestos.php | 0 ci4/app/Views/themes/vuexy/form/presupuestos/index.php | 0 .../Views/themes/vuexy/form/presupuestos/tapa-blanda-encolada.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otComments.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otCosts.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otDetails.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otFerrosEnvios.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otFiles.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otHeader.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otPortada.php | 0 .../themes/vuexy/form/produccion/ot/otPreimpresionReview.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otProgress.php | 0 ci4/app/Views/themes/vuexy/form/produccion/ot/otTask.php | 0 .../themes/vuexy/form/produccion/ot/viewPlanningRotativa.php | 0 .../Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php | 0 .../Views/themes/vuexy/form/produccion/viewOrdenTrabajoList.php | 0 ci4/app/Views/themes/vuexy/form/profile/profileDetails.php | 0 ci4/app/Views/themes/vuexy/form/soporte/viewTicketForm.php | 0 ci4/app/Views/themes/vuexy/form/soporte/viewTicketList.php | 0 .../themes/vuexy/form/tarifas/acabado/_tarifaAcabadoFormItems.php | 0 .../vuexy/form/tarifas/acabado/viewServiciosAcabadoForm.php | 0 .../vuexy/form/tarifas/acabado/viewServiciosAcabadoList.php | 0 .../themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoForm.php | 0 .../themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php | 0 .../tarifas/encuadernacion/_tarifaEncuadernacionFormItems.php | 0 .../form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php | 0 .../form/tarifas/encuadernacion/viewTarifaEncuadernacionList.php | 0 .../themes/vuexy/form/tarifas/envios/_tarifaEnvioFormItems.php | 0 .../themes/vuexy/form/tarifas/envios/viewTarifaEnvioForm.php | 0 .../themes/vuexy/form/tarifas/envios/viewTarifaEnvioList.php | 0 .../themes/vuexy/form/tarifas/extra/_tarifaextraFormItems.php | 0 .../Views/themes/vuexy/form/tarifas/extra/viewTarifaextraForm.php | 0 .../Views/themes/vuexy/form/tarifas/extra/viewTarifaextraList.php | 0 .../vuexy/form/tarifas/manipulado/_tarifaManipuladoFormItems.php | 0 .../vuexy/form/tarifas/manipulado/viewTarifaManipuladoForm.php | 0 .../vuexy/form/tarifas/manipulado/viewTarifaManipuladoList.php | 0 .../form/tarifas/preimpresion/_tarifapreimpresionFormItems.php | 0 .../form/tarifas/preimpresion/viewTarifapreimpresionForm.php | 0 .../form/tarifas/preimpresion/viewTarifapreimpresionList.php | 0 ci4/app/Views/themes/vuexy/form/test_js/test_js.js | 0 ci4/app/Views/themes/vuexy/form/test_js/viewTest.php | 0 ci4/app/Views/themes/vuexy/form/user/_userFormItems.php | 0 ci4/app/Views/themes/vuexy/form/user/viewUserForm.php | 0 ci4/app/Views/themes/vuexy/form/user/viewUserList.php | 0 ci4/app/Views/themes/vuexy/mail/mail_layout.php | 0 ci4/app/Views/themes/vuexy/mail/messageNotification.php | 0 .../themes/vuexy/mail/messageNotificationClienteContacto.php | 0 ci4/app/Views/themes/vuexy/main/breadcrumbs.php | 0 ci4/app/Views/themes/vuexy/main/defaultlayout.php | 0 ci4/app/Views/themes/vuexy/main/footer.php | 0 ci4/app/Views/themes/vuexy/main/header.php | 0 ci4/app/Views/themes/vuexy/main/menu_digitalizacion.php | 0 ci4/app/Views/themes/vuexy/main/menu_impresion.php | 0 ci4/app/Views/themes/vuexy/main/menu_maquetacion.php | 0 ci4/app/Views/themes/vuexy/main/menus/catalogo_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/clientes_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/compras_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/dashboard_menu.php | 0 .../Views/themes/vuexy/main/menus/facturacion_cliente_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/facturacion_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/importacion_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/logistica_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/maquinista_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/mensajes_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/pedidos_menu.php | 0 .../Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/presupuesto_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/produccion_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/sistema_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/soporte_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/tarifas_menu.php | 0 ci4/app/Views/themes/vuexy/main/menus/wiki_menu.php | 0 ci4/app/Views/themes/vuexy/main/presupuestos_layout.php | 0 ci4/app/Views/themes/vuexy/main/selector_menu.php | 0 ci4/app/Views/themes/vuexy/pdfs/albaran.php | 0 ci4/app/Views/themes/vuexy/pdfs/factura.php | 0 ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php | 0 ci4/app/Views/themes/vuexy/pdfs/presupuesto.php | 0 ci4/app/Views/themes/vuexy/wiki/breadcrumbs.php | 0 ci4/app/Views/themes/vuexy/wiki/layout.php | 0 ci4/app/Views/themes/vuexy/wiki/pages/render.php | 0 ci4/app/Views/themes/vuexy/wiki/sidebar.php | 0 524 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 ci4/app/Config/Auth.php mode change 100644 => 100755 ci4/app/Config/AuthGroups.php mode change 100644 => 100755 ci4/app/Config/AuthJWT.php mode change 100644 => 100755 ci4/app/Config/AuthToken.php mode change 100644 => 100755 ci4/app/Config/CURLRequest.php mode change 100644 => 100755 ci4/app/Config/Feature.php mode change 100644 => 100755 ci4/app/Config/Kint.php mode change 100644 => 100755 ci4/app/Config/LogoImpresion.php mode change 100644 => 100755 ci4/app/Config/OrdenTrabajo.php mode change 100644 => 100755 ci4/app/Config/PedidoXML.php mode change 100644 => 100755 ci4/app/Config/Publisher.php mode change 100644 => 100755 ci4/app/Config/RBAC/.gitkeep mode change 100644 => 100755 ci4/app/Config/Routes.php mode change 100644 => 100755 ci4/app/Config/Routes/ApiRoutes.php mode change 100644 => 100755 ci4/app/Config/Routes/ComprasRoutes.php mode change 100644 => 100755 ci4/app/Config/Routes/ConfiguracionRoutes.php mode change 100644 => 100755 ci4/app/Config/Routes/PresupuestosRoutes.php mode change 100644 => 100755 ci4/app/Config/Routes/TarifasRoutes.php mode change 100644 => 100755 ci4/app/Config/Routing.php mode change 100644 => 100755 ci4/app/Config/Safekat.php mode change 100644 => 100755 ci4/app/Config/Session.php mode change 100644 => 100755 ci4/app/Config/Toolbar.php mode change 100644 => 100755 ci4/app/Config/Wiki/WikiRoutes.php mode change 100644 => 100755 ci4/app/Controllers/API/ImprimelibrosApi.php mode change 100644 => 100755 ci4/app/Controllers/BaseResourceController.php mode change 100644 => 100755 ci4/app/Controllers/Chat/ChatController.php mode change 100644 => 100755 ci4/app/Controllers/Clientes/Clienteusuarios.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/ConfigErrores.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/ConfigVariables.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/FormasPago.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/MaquinaTarea.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/SeriesFacturas.php mode change 100644 => 100755 ci4/app/Controllers/Configuracion/Ubicaciones.php mode change 100644 => 100755 ci4/app/Controllers/Excel/PrintGiros.php mode change 100644 => 100755 ci4/app/Controllers/Excel/PrintLineas.php mode change 100644 => 100755 ci4/app/Controllers/Facturacion/FacturasLineas.php mode change 100644 => 100755 ci4/app/Controllers/Facturacion/FacturasPagos.php mode change 100644 => 100755 ci4/app/Controllers/Logistica/LogisticaController.php mode change 100644 => 100755 ci4/app/Controllers/Mensajeria/MensajesDirectos.php mode change 100644 => 100755 ci4/app/Controllers/Pdf/PrintAlbaranes.php mode change 100644 => 100755 ci4/app/Controllers/Pdf/PrintFacturas.php mode change 100644 => 100755 ci4/app/Controllers/Pedidos/Albaran.php mode change 100644 => 100755 ci4/app/Controllers/Presupuestos/Buscador.php mode change 100644 => 100755 ci4/app/Controllers/Presupuestos/Importadorpresupuestos.php mode change 100644 => 100755 ci4/app/Controllers/Presupuestos/Presupuestoadmin.php mode change 100644 => 100755 ci4/app/Controllers/Presupuestos/Presupuestotiradasalternativas.php mode change 100644 => 100755 ci4/app/Controllers/Sistema/Actividad.php mode change 100644 => 100755 ci4/app/Controllers/Sistema/AuthAPIController.php mode change 100644 => 100755 ci4/app/Controllers/Sistema/Intranet.php mode change 100644 => 100755 ci4/app/Controllers/Soporte/Ticketcontroller.php mode change 100644 => 100755 ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php mode change 100644 => 100755 ci4/app/Controllers/Tarifas/Acabados/TarifaAcabados.php mode change 100644 => 100755 ci4/app/Controllers/Tarifas/Acabados/TarifaAcabadosLineas.php mode change 100644 => 100755 ci4/app/Controllers/Tarifas/Maquinas/TarifaMaquinas.php mode change 100644 => 100755 ci4/app/Controllers/Utiles.php mode change 100644 => 100755 ci4/app/Controllers/Wiki/WikiController.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-04-09-173000_RemovePrecioUnidadFacturas.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-09-17-151435_ChatDepartments.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-09-17-151440_ChatsTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-09-17-151450_ChatMessages.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-09-17-151500_ChatDepartmentUsers.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-10-02-090620_ConfigVariablesApp.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-10-12-151500_ChatUsers.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-10-13-185128_AlterChatTableAddTitleColumn.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-10-13-200759_ChatNotifications.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-13-161331_CheckWebClientesPapeles.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-17-194547_ModifyNullableComercialSoporte.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-20-162124_CambiarTicksPapelImpresion.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-25-173558_AddTickInteriorPapelImpresion.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-27-105608_AddTickTapaDuraPapelImp.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-160000_TareasServicioTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-170000_OrdenTrabajoTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-170001_OrdenTrabajoTareasTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoDatesTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoUsersTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-170006_OrdenTrabajoMaquetacionesTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-11-30-171007_OrdenTrabajoMaquetacionMovimientosTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-08-195700_AlterColumnServiciosCliente.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-14-121014_RemoveEstampadoBarnizado.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-16-180000_MaquinaTareasTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-16-183531_TarifaAcabadoMaquinaTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-16-183550_TarifaManipuladoMaquinaTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-16-183607_TarifaPreimpresionMaquinaTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-16-183619_TarifaEncuadernacionMaquinaTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2024-12-17-183619_TarifaExtraMaquinaTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-14-114500_create_tickets_system.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-16-194726_AlterTableTarifasCheckPresupuestoClienteMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-16-224244_AlterAddColumnActivoPapelGenerico.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-20-080000_AlterTableTarifasExtraPreimpresionCheckPresupuestoClienteMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-22-074400_WikiSectionsMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-22-080000_WikiPagesMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-22-080100_WikiContentsMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-22-080200_WikiFilesMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-02-24-093400_serviciosAcabado.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-02-080000_WikiSectionRolesMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-02-120000_WikiSectionNameMigration.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-17-080000_AddForeignChatDepartmentUsers.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-26-210001_AlterOrdenTrabajoUsers.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-26-210002_AlterOrdenTrabajoDates.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-31-080000_AddColumnIsCorteOrdenTrabajoTarea.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-03-31-204200_AlterForeignKeysOrdenTrabajoTareas.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-02-074000_ImpresoraEtiquetasTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-03-233800_OrdenTrabajoFilesTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-04-212900_AddColumnIsPedidoEsperaOrdenTrabajoTable.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-11-040000_DropIsDeletedField.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-11-180001_AddUserIdFechaEntregaPedido.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-12-130000_AddCantidadConceptoPedidoLinea.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-14-204500_UpdateDateFieldsOrdenTrabajoDates.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-14-235200_AddFkOrdenTrabajoChatDepartment.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php mode change 100644 => 100755 ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php mode change 100644 => 100755 ci4/app/Database/Seeds/ChatSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/DefaultConfigVariablesSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/EtiquetaImpresoraSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/MaquinaTareaSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/MessageSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/TicketsSeeder.php mode change 100644 => 100755 ci4/app/Database/Seeds/WikiSectionSeeder.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatDepartmentEntity.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatDepartmentUserEntity.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatEntity.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatMessageEntity.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatNotificationEntity.php mode change 100644 => 100755 ci4/app/Entities/Chat/ChatUserEntity.php mode change 100644 => 100755 ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php mode change 100644 => 100755 ci4/app/Entities/Configuracion/ImpresoraEtiquetaEntity.php mode change 100644 => 100755 ci4/app/Entities/Configuracion/SeriesFacturasEntity.php mode change 100644 => 100755 ci4/app/Entities/Configuracion/ServicioClienteEntity.php mode change 100644 => 100755 ci4/app/Entities/Configuracion/UbicacionesEntity.php mode change 100644 => 100755 ci4/app/Entities/Facturas/FacturaEntity.php mode change 100644 => 100755 ci4/app/Entities/Facturas/FacturaLineaEntity.php mode change 100644 => 100755 ci4/app/Entities/Facturas/FacturaPagoEntity.php mode change 100644 => 100755 ci4/app/Entities/Mensajeria/ConversacionEntity.php mode change 100644 => 100755 ci4/app/Entities/Mensajeria/ParticipanteEntity.php mode change 100644 => 100755 ci4/app/Entities/Pedidos/AlbaranEntity.php mode change 100644 => 100755 ci4/app/Entities/Pedidos/AlbaranLineaEntity.php mode change 100644 => 100755 ci4/app/Entities/Pedidos/PedidoEntity.php mode change 100644 => 100755 ci4/app/Entities/Pedidos/PedidoLineaEntity.php mode change 100644 => 100755 ci4/app/Entities/Presupuestos/PresupuestoFicheroEntity.php mode change 100644 => 100755 ci4/app/Entities/Presupuestos/PresupuestoManipuladosEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoFileEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionMovimientoEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoTareaEntity.php mode change 100644 => 100755 ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php mode change 100644 => 100755 ci4/app/Entities/Sistema/ActivityEntity.php mode change 100644 => 100755 ci4/app/Entities/Sistema/SettingsEntity.php mode change 100644 => 100755 ci4/app/Entities/Soporte/TicketEntity.php mode change 100644 => 100755 ci4/app/Entities/Soporte/TicketRespuestaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoLineaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Acabados/TarifasAcabadosServicioAcabadoEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TareaMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TarifaAcabadoMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TarifaEncuadernacionMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TarifaExtraMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TarifaManipuladoMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Tarifas/Maquinas/TarifaPreimpresionMaquinaEntity.php mode change 100644 => 100755 ci4/app/Entities/Usuarios/GroupEntity.php mode change 100644 => 100755 ci4/app/Entities/Usuarios/GroupsUsersEntity.php mode change 100644 => 100755 ci4/app/Entities/Usuarios/PermisosEntity.php mode change 100644 => 100755 ci4/app/Entities/Wiki/WikiContentEntity.php mode change 100644 => 100755 ci4/app/Entities/Wiki/WikiFileEntity.php mode change 100644 => 100755 ci4/app/Entities/Wiki/WikiPageEntity.php mode change 100644 => 100755 ci4/app/Entities/Wiki/WikiSectionEntity.php mode change 100644 => 100755 ci4/app/Entities/Wiki/WikiSectionRoleEntity.php mode change 100644 => 100755 ci4/app/Filters/Cors.php mode change 100644 => 100755 ci4/app/Helpers/general_helper.php mode change 100644 => 100755 ci4/app/Helpers/logger_helper.php mode change 100644 => 100755 ci4/app/Helpers/rbac_helper.php mode change 100644 => 100755 ci4/app/Helpers/time_helper.php mode change 100644 => 100755 ci4/app/Language/en/Auth.php mode change 100644 => 100755 ci4/app/Language/en/Chat.php mode change 100644 => 100755 ci4/app/Language/en/Facturas.php mode change 100644 => 100755 ci4/app/Language/en/FormasPago.php mode change 100644 => 100755 ci4/app/Language/en/Imposiciones.php mode change 100644 => 100755 ci4/app/Language/en/Pedidos.php mode change 100644 => 100755 ci4/app/Language/en/Produccion.php mode change 100644 => 100755 ci4/app/Language/en/Wiki.php mode change 100644 => 100755 ci4/app/Language/es/Auth.php mode change 100644 => 100755 ci4/app/Language/es/Chat.php mode change 100644 => 100755 ci4/app/Language/es/ConfigVariables.php mode change 100644 => 100755 ci4/app/Language/es/ErrorPresupuesto.php mode change 100644 => 100755 ci4/app/Language/es/Facturas.php mode change 100644 => 100755 ci4/app/Language/es/Imposiciones.php mode change 100644 => 100755 ci4/app/Language/es/Logistica.php mode change 100644 => 100755 ci4/app/Language/es/MaquinaTarea.php mode change 100644 => 100755 ci4/app/Language/es/Pedidos.php mode change 100644 => 100755 ci4/app/Language/es/Produccion.php mode change 100644 => 100755 ci4/app/Language/es/RolesPermisos.php mode change 100644 => 100755 ci4/app/Language/es/SeriesFacturas.php mode change 100644 => 100755 ci4/app/Language/es/Tickets.php mode change 100644 => 100755 ci4/app/Language/es/Ubicaciones.php mode change 100644 => 100755 ci4/app/Language/es/Wiki.php mode change 100644 => 100755 ci4/app/Libraries/SafekatFtpClient.php mode change 100644 => 100755 ci4/app/Models/BaseModel.php mode change 100644 => 100755 ci4/app/Models/Chat/ChatDeparmentModel.php mode change 100644 => 100755 ci4/app/Models/Chat/ChatDeparmentUserModel.php mode change 100644 => 100755 ci4/app/Models/Chat/ChatMessageModel.php mode change 100644 => 100755 ci4/app/Models/Chat/ChatModel.php mode change 100644 => 100755 ci4/app/Models/ChatNotification.php mode change 100644 => 100755 ci4/app/Models/ChatUser.php mode change 100644 => 100755 ci4/app/Models/Clientes/ClienteUsuariosModel.php mode change 100644 => 100755 ci4/app/Models/CollectionModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/ConfigVariableModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/ImposicionEsquemaModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/ImpresoraEtiquetaModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/MaquinaTareaModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/SeriesFacturasModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/ServicioClienteModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/ServicioClienteTareaModel.php mode change 100644 => 100755 ci4/app/Models/Configuracion/UbicacionesModel.php mode change 100644 => 100755 ci4/app/Models/Facturas/FacturaLineaModel.php mode change 100644 => 100755 ci4/app/Models/Facturas/FacturaModel.php mode change 100644 => 100755 ci4/app/Models/Facturas/FacturaPagoModel.php mode change 100644 => 100755 ci4/app/Models/Mensajeria/ConversacionModel.php mode change 100644 => 100755 ci4/app/Models/Mensajeria/ParticipanteModel.php mode change 100644 => 100755 ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php mode change 100644 => 100755 ci4/app/Models/OrdenTrabajo/OrdenTrabajoFileModel.php mode change 100644 => 100755 ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php mode change 100644 => 100755 ci4/app/Models/OrdenTrabajo/OrdenTrabajoTarea.php mode change 100644 => 100755 ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php mode change 100644 => 100755 ci4/app/Models/Pedidos/AlbaranLineaModel.php mode change 100644 => 100755 ci4/app/Models/Pedidos/AlbaranModel.php mode change 100644 => 100755 ci4/app/Models/Pedidos/PedidoLineaModel.php mode change 100644 => 100755 ci4/app/Models/Pedidos/PedidoModel.php mode change 100644 => 100755 ci4/app/Models/Presupuestos/BuscadorModel.php mode change 100644 => 100755 ci4/app/Models/Presupuestos/ErrorPresupuesto.php mode change 100644 => 100755 ci4/app/Models/Presupuestos/ImportadorModel.php mode change 100644 => 100755 ci4/app/Models/Presupuestos/PresupuestoFicheroModel.php mode change 100644 => 100755 ci4/app/Models/Sistema/ActivityModel.php mode change 100644 => 100755 ci4/app/Models/Soporte/TicketModel.php mode change 100644 => 100755 ci4/app/Models/Soporte/TicketRespuestaModel.php mode change 100644 => 100755 ci4/app/Models/Soporte/ticketFileModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Acabados/ServicioAcabadoModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Acabados/TarifaAcabadoLineaModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Acabados/TarifaAcabadoModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Acabados/TarifasAcabadoServiciosAcabadoModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Maquinas/TarifaAcabadoMaquinaModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Maquinas/TarifaEncuadernacionMaquinaModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Maquinas/TarifaExtraMaquinaModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Maquinas/TarifaManipuladoMaquinaModel.php mode change 100644 => 100755 ci4/app/Models/Tarifas/Maquinas/TarifaPreimpresionMaquinaModel.php mode change 100644 => 100755 ci4/app/Models/Usuarios/GroupModel.php mode change 100644 => 100755 ci4/app/Models/Usuarios/GroupsUsersModel.php mode change 100644 => 100755 ci4/app/Models/Usuarios/PermisosModel.php mode change 100644 => 100755 ci4/app/Models/Wiki/WikiContentModel.php mode change 100644 => 100755 ci4/app/Models/Wiki/WikiFileModel.php mode change 100644 => 100755 ci4/app/Models/Wiki/WikiPageModel.php mode change 100644 => 100755 ci4/app/Models/Wiki/WikiSectionModel.php mode change 100644 => 100755 ci4/app/Models/Wiki/WikiSectionRoleModel.php mode change 100644 => 100755 ci4/app/Services/ChatService.php mode change 100644 => 100755 ci4/app/Services/EmailService.php mode change 100644 => 100755 ci4/app/Services/ImpresoraEtiquetaService.php mode change 100644 => 100755 ci4/app/Services/MaquinaService.php mode change 100644 => 100755 ci4/app/Services/MessageService.php mode change 100644 => 100755 ci4/app/Services/PapelImpresionService.php mode change 100644 => 100755 ci4/app/Services/PedidoXMLService.php mode change 100644 => 100755 ci4/app/Services/PresupuestoClienteService.php mode change 100644 => 100755 ci4/app/Services/ProductionService.php mode change 100644 => 100755 ci4/app/Services/TarifaMaquinaService.php mode change 100644 => 100755 ci4/app/Views/Shield/Email/email_2fa_email.php mode change 100644 => 100755 ci4/app/Views/Shield/Email/email_activate_email.php mode change 100644 => 100755 ci4/app/Views/Shield/Email/magic_link_email.php mode change 100644 => 100755 ci4/app/Views/Shield/email_2fa_show.php mode change 100644 => 100755 ci4/app/Views/Shield/email_2fa_verify.php mode change 100644 => 100755 ci4/app/Views/Shield/email_activate_show.php mode change 100644 => 100755 ci4/app/Views/Shield/layout.php mode change 100644 => 100755 ci4/app/Views/Shield/login.php mode change 100644 => 100755 ci4/app/Views/Shield/magic_link_form.php mode change 100644 => 100755 ci4/app/Views/Shield/magic_link_message.php mode change 100644 => 100755 ci4/app/Views/Shield/register.php mode change 100644 => 100755 ci4/app/Views/themes/_commonPartialsBs/_modalInput.php mode change 100644 => 100755 ci4/app/Views/themes/_commonPartialsBs/_modalMessageDialog.php mode change 100644 => 100755 ci4/app/Views/themes/_commonPartialsBs/translate.js mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/alerts/alert.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_direct.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_factura.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_general.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_internal_factura.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_internal_orden_trabajo.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_internal_presupuesto.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_orden_trabajo.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_pedido.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/chat_presupuesto.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/dropzone.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/forms/chat_department.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/forms/maquina_tarea.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/forms/tarifa_maquinas.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/internal_messages.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalAddNewChatParticipant.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalDireccion.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessage.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessageClient.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalNewInternalMessage.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalOtTaskManual.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/modals/modalSection.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/chat_department_users_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/chat_departments_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/maquina_tarea_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/messages_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/ot_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/ot_task_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/planning_papel_gramaje_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/planning_papel_pliego_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/planning_plana_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/components/tables/planning_rot_table.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/activity/activityList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteDireccionesForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/_facturacionClienteItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/_pedidosClienteItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/_presupuestosClienteItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/contactos/_contactoDeClienteFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/direcciones/viewClienteDireccionesList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/distribuidores/_distribuidorDeClienteFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/_ClienteplantillapreciosFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorTipoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/_comunidadAutonomaFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/_formaDePagoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/editMaquinaTarea.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/viewMaquinaTarea.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaPorDefectoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/messages/configView.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/messages/editChatDepartmentForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/paises/_paisFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelGenericoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelImpresionFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papelformato/_papelFormatoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/provincias/_provinciaFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/_seriesFacturasFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/tipologias/_tipologiaLibrosFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/_ubicacionesFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/configuracion/variables/viewVariablesList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/_addPedidosItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/_facturaCabeceraItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/_facturaLineasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/_pagosFacturasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/_rectificadaFacturasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/viewAddFactura.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/viewFacturaForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/facturas/viewFacturasList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/group/viewUserGroupForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/group/viewUserGroupList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/home/viewHome.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/mensajeria.js mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/mensajesView.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/messageChat.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/messageChatFactura.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/messageChatInternal.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/messageChatPedido.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/mensajes/messageChatPresupuesto.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/_albaranesItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/_cabeceraItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/_facturasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/_lineasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/viewPedidoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/pedidos/viewPedidosList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_comentariosItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosEnvios.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosLibroItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoClienteItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_lineasPresupuestoItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_mensajeria.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_presupuestoDireccionesForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenCreditoItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenPresupuestoItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/_tiradasAlternativasItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoAdminList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoadminForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/buscador/viewBuscadorList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_buttons.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_direcciones.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioCubierta.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioInterior.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_interior.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_presupuestoDireccionesForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_resumen.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/loader.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoclienteForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/importador/viewImportadorPresupuestos.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/index.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/presupuestos/tapa-blanda-encolada.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otComments.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otCosts.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otDetails.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otFerrosEnvios.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otFiles.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otHeader.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otPortada.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otProgress.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/otTask.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/ot/viewPlanningRotativa.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/profile/profileDetails.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/soporte/viewTicketForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/soporte/viewTicketList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/acabado/_tarifaAcabadoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/_tarifaEncuadernacionFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/envios/_tarifaEnvioFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/extra/_tarifaextraFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/manipulado/_tarifaManipuladoFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/_tarifapreimpresionFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/test_js/test_js.js mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/test_js/viewTest.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/user/_userFormItems.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/user/viewUserForm.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/form/user/viewUserList.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/mail/mail_layout.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/mail/messageNotification.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/mail/messageNotificationClienteContacto.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/breadcrumbs.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/defaultlayout.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/footer.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/header.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menu_digitalizacion.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menu_impresion.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menu_maquetacion.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/catalogo_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/clientes_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/compras_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/dashboard_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/facturacion_cliente_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/facturacion_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/importacion_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/logistica_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/maquinista_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/mensajes_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/pedidos_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/presupuesto_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/produccion_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/sistema_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/soporte_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/tarifas_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/menus/wiki_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/presupuestos_layout.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/main/selector_menu.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/pdfs/albaran.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/pdfs/factura.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/pdfs/presupuesto.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/wiki/breadcrumbs.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/wiki/layout.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/wiki/pages/render.php mode change 100644 => 100755 ci4/app/Views/themes/vuexy/wiki/sidebar.php diff --git a/ci4/app/Config/Auth.php b/ci4/app/Config/Auth.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/AuthGroups.php b/ci4/app/Config/AuthGroups.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/AuthJWT.php b/ci4/app/Config/AuthJWT.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/AuthToken.php b/ci4/app/Config/AuthToken.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/CURLRequest.php b/ci4/app/Config/CURLRequest.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Feature.php b/ci4/app/Config/Feature.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Kint.php b/ci4/app/Config/Kint.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/LogoImpresion.php b/ci4/app/Config/LogoImpresion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/OrdenTrabajo.php b/ci4/app/Config/OrdenTrabajo.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/PedidoXML.php b/ci4/app/Config/PedidoXML.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Publisher.php b/ci4/app/Config/Publisher.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/RBAC/.gitkeep b/ci4/app/Config/RBAC/.gitkeep old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes.php b/ci4/app/Config/Routes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes/ApiRoutes.php b/ci4/app/Config/Routes/ApiRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes/ComprasRoutes.php b/ci4/app/Config/Routes/ComprasRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes/ConfiguracionRoutes.php b/ci4/app/Config/Routes/ConfiguracionRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes/PresupuestosRoutes.php b/ci4/app/Config/Routes/PresupuestosRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routes/TarifasRoutes.php b/ci4/app/Config/Routes/TarifasRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Routing.php b/ci4/app/Config/Routing.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Safekat.php b/ci4/app/Config/Safekat.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Session.php b/ci4/app/Config/Session.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Toolbar.php b/ci4/app/Config/Toolbar.php old mode 100644 new mode 100755 diff --git a/ci4/app/Config/Wiki/WikiRoutes.php b/ci4/app/Config/Wiki/WikiRoutes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/API/ImprimelibrosApi.php b/ci4/app/Controllers/API/ImprimelibrosApi.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/BaseResourceController.php b/ci4/app/Controllers/BaseResourceController.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Chat/ChatController.php b/ci4/app/Controllers/Chat/ChatController.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Clientes/Clienteusuarios.php b/ci4/app/Controllers/Clientes/Clienteusuarios.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/ConfigErrores.php b/ci4/app/Controllers/Configuracion/ConfigErrores.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/ConfigVariables.php b/ci4/app/Controllers/Configuracion/ConfigVariables.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/FormasPago.php b/ci4/app/Controllers/Configuracion/FormasPago.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/MaquinaTarea.php b/ci4/app/Controllers/Configuracion/MaquinaTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/SeriesFacturas.php b/ci4/app/Controllers/Configuracion/SeriesFacturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Configuracion/Ubicaciones.php b/ci4/app/Controllers/Configuracion/Ubicaciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Excel/PrintGiros.php b/ci4/app/Controllers/Excel/PrintGiros.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Excel/PrintLineas.php b/ci4/app/Controllers/Excel/PrintLineas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Facturacion/FacturasLineas.php b/ci4/app/Controllers/Facturacion/FacturasLineas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Facturacion/FacturasPagos.php b/ci4/app/Controllers/Facturacion/FacturasPagos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Logistica/LogisticaController.php b/ci4/app/Controllers/Logistica/LogisticaController.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Mensajeria/MensajesDirectos.php b/ci4/app/Controllers/Mensajeria/MensajesDirectos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Pdf/PrintAlbaranes.php b/ci4/app/Controllers/Pdf/PrintAlbaranes.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Pdf/PrintFacturas.php b/ci4/app/Controllers/Pdf/PrintFacturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Pedidos/Albaran.php b/ci4/app/Controllers/Pedidos/Albaran.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Presupuestos/Buscador.php b/ci4/app/Controllers/Presupuestos/Buscador.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Presupuestos/Importadorpresupuestos.php b/ci4/app/Controllers/Presupuestos/Importadorpresupuestos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php b/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Presupuestos/Presupuestotiradasalternativas.php b/ci4/app/Controllers/Presupuestos/Presupuestotiradasalternativas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Sistema/Actividad.php b/ci4/app/Controllers/Sistema/Actividad.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Sistema/AuthAPIController.php b/ci4/app/Controllers/Sistema/AuthAPIController.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Sistema/Intranet.php b/ci4/app/Controllers/Sistema/Intranet.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Soporte/Ticketcontroller.php b/ci4/app/Controllers/Soporte/Ticketcontroller.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php b/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Tarifas/Acabados/TarifaAcabados.php b/ci4/app/Controllers/Tarifas/Acabados/TarifaAcabados.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Tarifas/Acabados/TarifaAcabadosLineas.php b/ci4/app/Controllers/Tarifas/Acabados/TarifaAcabadosLineas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Tarifas/Maquinas/TarifaMaquinas.php b/ci4/app/Controllers/Tarifas/Maquinas/TarifaMaquinas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Utiles.php b/ci4/app/Controllers/Utiles.php old mode 100644 new mode 100755 diff --git a/ci4/app/Controllers/Wiki/WikiController.php b/ci4/app/Controllers/Wiki/WikiController.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-04-09-173000_RemovePrecioUnidadFacturas.php b/ci4/app/Database/Migrations/2024-04-09-173000_RemovePrecioUnidadFacturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-09-17-151435_ChatDepartments.php b/ci4/app/Database/Migrations/2024-09-17-151435_ChatDepartments.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-09-17-151440_ChatsTable.php b/ci4/app/Database/Migrations/2024-09-17-151440_ChatsTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-09-17-151450_ChatMessages.php b/ci4/app/Database/Migrations/2024-09-17-151450_ChatMessages.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-09-17-151500_ChatDepartmentUsers.php b/ci4/app/Database/Migrations/2024-09-17-151500_ChatDepartmentUsers.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-10-02-090620_ConfigVariablesApp.php b/ci4/app/Database/Migrations/2024-10-02-090620_ConfigVariablesApp.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-10-12-151500_ChatUsers.php b/ci4/app/Database/Migrations/2024-10-12-151500_ChatUsers.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-10-13-185128_AlterChatTableAddTitleColumn.php b/ci4/app/Database/Migrations/2024-10-13-185128_AlterChatTableAddTitleColumn.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-10-13-200759_ChatNotifications.php b/ci4/app/Database/Migrations/2024-10-13-200759_ChatNotifications.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-13-161331_CheckWebClientesPapeles.php b/ci4/app/Database/Migrations/2024-11-13-161331_CheckWebClientesPapeles.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-17-194547_ModifyNullableComercialSoporte.php b/ci4/app/Database/Migrations/2024-11-17-194547_ModifyNullableComercialSoporte.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php b/ci4/app/Database/Migrations/2024-11-19-185529_TicksPapeles.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-20-162124_CambiarTicksPapelImpresion.php b/ci4/app/Database/Migrations/2024-11-20-162124_CambiarTicksPapelImpresion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-25-173558_AddTickInteriorPapelImpresion.php b/ci4/app/Database/Migrations/2024-11-25-173558_AddTickInteriorPapelImpresion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-27-105608_AddTickTapaDuraPapelImp.php b/ci4/app/Database/Migrations/2024-11-27-105608_AddTickTapaDuraPapelImp.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-160000_TareasServicioTable.php b/ci4/app/Database/Migrations/2024-11-30-160000_TareasServicioTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-170000_OrdenTrabajoTable.php b/ci4/app/Database/Migrations/2024-11-30-170000_OrdenTrabajoTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-170001_OrdenTrabajoTareasTable.php b/ci4/app/Database/Migrations/2024-11-30-170001_OrdenTrabajoTareasTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoDatesTable.php b/ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoDatesTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoUsersTable.php b/ci4/app/Database/Migrations/2024-11-30-170002_OrdenTrabajoUsersTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-170006_OrdenTrabajoMaquetacionesTable.php b/ci4/app/Database/Migrations/2024-11-30-170006_OrdenTrabajoMaquetacionesTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-11-30-171007_OrdenTrabajoMaquetacionMovimientosTable.php b/ci4/app/Database/Migrations/2024-11-30-171007_OrdenTrabajoMaquetacionMovimientosTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-08-195700_AlterColumnServiciosCliente.php b/ci4/app/Database/Migrations/2024-12-08-195700_AlterColumnServiciosCliente.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-14-121014_RemoveEstampadoBarnizado.php b/ci4/app/Database/Migrations/2024-12-14-121014_RemoveEstampadoBarnizado.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-16-180000_MaquinaTareasTable.php b/ci4/app/Database/Migrations/2024-12-16-180000_MaquinaTareasTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-16-183531_TarifaAcabadoMaquinaTable.php b/ci4/app/Database/Migrations/2024-12-16-183531_TarifaAcabadoMaquinaTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-16-183550_TarifaManipuladoMaquinaTable.php b/ci4/app/Database/Migrations/2024-12-16-183550_TarifaManipuladoMaquinaTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-16-183607_TarifaPreimpresionMaquinaTable.php b/ci4/app/Database/Migrations/2024-12-16-183607_TarifaPreimpresionMaquinaTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-16-183619_TarifaEncuadernacionMaquinaTable.php b/ci4/app/Database/Migrations/2024-12-16-183619_TarifaEncuadernacionMaquinaTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2024-12-17-183619_TarifaExtraMaquinaTable.php b/ci4/app/Database/Migrations/2024-12-17-183619_TarifaExtraMaquinaTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-14-114500_create_tickets_system.php b/ci4/app/Database/Migrations/2025-02-14-114500_create_tickets_system.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-16-194726_AlterTableTarifasCheckPresupuestoClienteMigration.php b/ci4/app/Database/Migrations/2025-02-16-194726_AlterTableTarifasCheckPresupuestoClienteMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-16-224244_AlterAddColumnActivoPapelGenerico.php b/ci4/app/Database/Migrations/2025-02-16-224244_AlterAddColumnActivoPapelGenerico.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-20-080000_AlterTableTarifasExtraPreimpresionCheckPresupuestoClienteMigration.php b/ci4/app/Database/Migrations/2025-02-20-080000_AlterTableTarifasExtraPreimpresionCheckPresupuestoClienteMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-22-074400_WikiSectionsMigration.php b/ci4/app/Database/Migrations/2025-02-22-074400_WikiSectionsMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-22-080000_WikiPagesMigration.php b/ci4/app/Database/Migrations/2025-02-22-080000_WikiPagesMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-22-080100_WikiContentsMigration.php b/ci4/app/Database/Migrations/2025-02-22-080100_WikiContentsMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-22-080200_WikiFilesMigration.php b/ci4/app/Database/Migrations/2025-02-22-080200_WikiFilesMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-02-24-093400_serviciosAcabado.php b/ci4/app/Database/Migrations/2025-02-24-093400_serviciosAcabado.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-02-080000_WikiSectionRolesMigration.php b/ci4/app/Database/Migrations/2025-03-02-080000_WikiSectionRolesMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-02-120000_WikiSectionNameMigration.php b/ci4/app/Database/Migrations/2025-03-02-120000_WikiSectionNameMigration.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-17-080000_AddForeignChatDepartmentUsers.php b/ci4/app/Database/Migrations/2025-03-17-080000_AddForeignChatDepartmentUsers.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-26-210001_AlterOrdenTrabajoUsers.php b/ci4/app/Database/Migrations/2025-03-26-210001_AlterOrdenTrabajoUsers.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-26-210002_AlterOrdenTrabajoDates.php b/ci4/app/Database/Migrations/2025-03-26-210002_AlterOrdenTrabajoDates.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-31-080000_AddColumnIsCorteOrdenTrabajoTarea.php b/ci4/app/Database/Migrations/2025-03-31-080000_AddColumnIsCorteOrdenTrabajoTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-03-31-204200_AlterForeignKeysOrdenTrabajoTareas.php b/ci4/app/Database/Migrations/2025-03-31-204200_AlterForeignKeysOrdenTrabajoTareas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-02-074000_ImpresoraEtiquetasTable.php b/ci4/app/Database/Migrations/2025-04-02-074000_ImpresoraEtiquetasTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-03-233800_OrdenTrabajoFilesTable.php b/ci4/app/Database/Migrations/2025-04-03-233800_OrdenTrabajoFilesTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-04-212900_AddColumnIsPedidoEsperaOrdenTrabajoTable.php b/ci4/app/Database/Migrations/2025-04-04-212900_AddColumnIsPedidoEsperaOrdenTrabajoTable.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-11-040000_DropIsDeletedField.php b/ci4/app/Database/Migrations/2025-04-11-040000_DropIsDeletedField.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-11-180001_AddUserIdFechaEntregaPedido.php b/ci4/app/Database/Migrations/2025-04-11-180001_AddUserIdFechaEntregaPedido.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-12-130000_AddCantidadConceptoPedidoLinea.php b/ci4/app/Database/Migrations/2025-04-12-130000_AddCantidadConceptoPedidoLinea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-14-204500_UpdateDateFieldsOrdenTrabajoDates.php b/ci4/app/Database/Migrations/2025-04-14-204500_UpdateDateFieldsOrdenTrabajoDates.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-14-235200_AddFkOrdenTrabajoChatDepartment.php b/ci4/app/Database/Migrations/2025-04-14-235200_AddFkOrdenTrabajoChatDepartment.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php b/ci4/app/Database/Migrations/2025-04-16-153000_AddEspiralOrdenTrabajoDates.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php b/ci4/app/Database/Migrations/2025-04-18-210000_AddTableImposicionEsquemas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php b/ci4/app/Database/Migrations/2025-04-18-213000_AddFkEsquemaImposiciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/ChatSeeder.php b/ci4/app/Database/Seeds/ChatSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/DefaultConfigVariablesSeeder.php b/ci4/app/Database/Seeds/DefaultConfigVariablesSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/EtiquetaImpresoraSeeder.php b/ci4/app/Database/Seeds/EtiquetaImpresoraSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/MaquinaTareaSeeder.php b/ci4/app/Database/Seeds/MaquinaTareaSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/MessageSeeder.php b/ci4/app/Database/Seeds/MessageSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/TicketsSeeder.php b/ci4/app/Database/Seeds/TicketsSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Database/Seeds/WikiSectionSeeder.php b/ci4/app/Database/Seeds/WikiSectionSeeder.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatDepartmentEntity.php b/ci4/app/Entities/Chat/ChatDepartmentEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatDepartmentUserEntity.php b/ci4/app/Entities/Chat/ChatDepartmentUserEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatEntity.php b/ci4/app/Entities/Chat/ChatEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatMessageEntity.php b/ci4/app/Entities/Chat/ChatMessageEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatNotificationEntity.php b/ci4/app/Entities/Chat/ChatNotificationEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Chat/ChatUserEntity.php b/ci4/app/Entities/Chat/ChatUserEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php b/ci4/app/Entities/Configuracion/ImposicionEsquemaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Configuracion/ImpresoraEtiquetaEntity.php b/ci4/app/Entities/Configuracion/ImpresoraEtiquetaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Configuracion/SeriesFacturasEntity.php b/ci4/app/Entities/Configuracion/SeriesFacturasEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Configuracion/ServicioClienteEntity.php b/ci4/app/Entities/Configuracion/ServicioClienteEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Configuracion/UbicacionesEntity.php b/ci4/app/Entities/Configuracion/UbicacionesEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Facturas/FacturaEntity.php b/ci4/app/Entities/Facturas/FacturaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Facturas/FacturaLineaEntity.php b/ci4/app/Entities/Facturas/FacturaLineaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Facturas/FacturaPagoEntity.php b/ci4/app/Entities/Facturas/FacturaPagoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Mensajeria/ConversacionEntity.php b/ci4/app/Entities/Mensajeria/ConversacionEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Mensajeria/ParticipanteEntity.php b/ci4/app/Entities/Mensajeria/ParticipanteEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Pedidos/AlbaranEntity.php b/ci4/app/Entities/Pedidos/AlbaranEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Pedidos/AlbaranLineaEntity.php b/ci4/app/Entities/Pedidos/AlbaranLineaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Pedidos/PedidoEntity.php b/ci4/app/Entities/Pedidos/PedidoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Pedidos/PedidoLineaEntity.php b/ci4/app/Entities/Pedidos/PedidoLineaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Presupuestos/PresupuestoFicheroEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoFicheroEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Presupuestos/PresupuestoManipuladosEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoManipuladosEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoDateEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoFileEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoFileEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionMovimientoEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoMaquetacionMovimientoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoTareaEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoTareaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php b/ci4/app/Entities/Produccion/OrdenTrabajoUserEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Sistema/ActivityEntity.php b/ci4/app/Entities/Sistema/ActivityEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Sistema/SettingsEntity.php b/ci4/app/Entities/Sistema/SettingsEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Soporte/TicketEntity.php b/ci4/app/Entities/Soporte/TicketEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Soporte/TicketRespuestaEntity.php b/ci4/app/Entities/Soporte/TicketRespuestaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php b/ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php b/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoLineaEntity.php b/ci4/app/Entities/Tarifas/Acabados/TarifaAcabadoLineaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Acabados/TarifasAcabadosServicioAcabadoEntity.php b/ci4/app/Entities/Tarifas/Acabados/TarifasAcabadosServicioAcabadoEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TareaMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TareaMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TarifaAcabadoMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TarifaAcabadoMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TarifaEncuadernacionMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TarifaEncuadernacionMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TarifaExtraMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TarifaExtraMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TarifaManipuladoMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TarifaManipuladoMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Tarifas/Maquinas/TarifaPreimpresionMaquinaEntity.php b/ci4/app/Entities/Tarifas/Maquinas/TarifaPreimpresionMaquinaEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Usuarios/GroupEntity.php b/ci4/app/Entities/Usuarios/GroupEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Usuarios/GroupsUsersEntity.php b/ci4/app/Entities/Usuarios/GroupsUsersEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Usuarios/PermisosEntity.php b/ci4/app/Entities/Usuarios/PermisosEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Wiki/WikiContentEntity.php b/ci4/app/Entities/Wiki/WikiContentEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Wiki/WikiFileEntity.php b/ci4/app/Entities/Wiki/WikiFileEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Wiki/WikiPageEntity.php b/ci4/app/Entities/Wiki/WikiPageEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Wiki/WikiSectionEntity.php b/ci4/app/Entities/Wiki/WikiSectionEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Entities/Wiki/WikiSectionRoleEntity.php b/ci4/app/Entities/Wiki/WikiSectionRoleEntity.php old mode 100644 new mode 100755 diff --git a/ci4/app/Filters/Cors.php b/ci4/app/Filters/Cors.php old mode 100644 new mode 100755 diff --git a/ci4/app/Helpers/general_helper.php b/ci4/app/Helpers/general_helper.php old mode 100644 new mode 100755 diff --git a/ci4/app/Helpers/logger_helper.php b/ci4/app/Helpers/logger_helper.php old mode 100644 new mode 100755 diff --git a/ci4/app/Helpers/rbac_helper.php b/ci4/app/Helpers/rbac_helper.php old mode 100644 new mode 100755 diff --git a/ci4/app/Helpers/time_helper.php b/ci4/app/Helpers/time_helper.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Auth.php b/ci4/app/Language/en/Auth.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Chat.php b/ci4/app/Language/en/Chat.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Facturas.php b/ci4/app/Language/en/Facturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/FormasPago.php b/ci4/app/Language/en/FormasPago.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Imposiciones.php b/ci4/app/Language/en/Imposiciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Pedidos.php b/ci4/app/Language/en/Pedidos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Produccion.php b/ci4/app/Language/en/Produccion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/en/Wiki.php b/ci4/app/Language/en/Wiki.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Auth.php b/ci4/app/Language/es/Auth.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Chat.php b/ci4/app/Language/es/Chat.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/ConfigVariables.php b/ci4/app/Language/es/ConfigVariables.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/ErrorPresupuesto.php b/ci4/app/Language/es/ErrorPresupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Facturas.php b/ci4/app/Language/es/Facturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Imposiciones.php b/ci4/app/Language/es/Imposiciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Logistica.php b/ci4/app/Language/es/Logistica.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/MaquinaTarea.php b/ci4/app/Language/es/MaquinaTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Pedidos.php b/ci4/app/Language/es/Pedidos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Produccion.php b/ci4/app/Language/es/Produccion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/RolesPermisos.php b/ci4/app/Language/es/RolesPermisos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/SeriesFacturas.php b/ci4/app/Language/es/SeriesFacturas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Tickets.php b/ci4/app/Language/es/Tickets.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Ubicaciones.php b/ci4/app/Language/es/Ubicaciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Language/es/Wiki.php b/ci4/app/Language/es/Wiki.php old mode 100644 new mode 100755 diff --git a/ci4/app/Libraries/SafekatFtpClient.php b/ci4/app/Libraries/SafekatFtpClient.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/BaseModel.php b/ci4/app/Models/BaseModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Chat/ChatDeparmentModel.php b/ci4/app/Models/Chat/ChatDeparmentModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Chat/ChatDeparmentUserModel.php b/ci4/app/Models/Chat/ChatDeparmentUserModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Chat/ChatMessageModel.php b/ci4/app/Models/Chat/ChatMessageModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Chat/ChatModel.php b/ci4/app/Models/Chat/ChatModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/ChatNotification.php b/ci4/app/Models/ChatNotification.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/ChatUser.php b/ci4/app/Models/ChatUser.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Clientes/ClienteUsuariosModel.php b/ci4/app/Models/Clientes/ClienteUsuariosModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/CollectionModel.php b/ci4/app/Models/CollectionModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/ConfigVariableModel.php b/ci4/app/Models/Configuracion/ConfigVariableModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php b/ci4/app/Models/Configuracion/ImposicionEsquemaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/ImpresoraEtiquetaModel.php b/ci4/app/Models/Configuracion/ImpresoraEtiquetaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/MaquinaTareaModel.php b/ci4/app/Models/Configuracion/MaquinaTareaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/SeriesFacturasModel.php b/ci4/app/Models/Configuracion/SeriesFacturasModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/ServicioClienteModel.php b/ci4/app/Models/Configuracion/ServicioClienteModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/ServicioClienteTareaModel.php b/ci4/app/Models/Configuracion/ServicioClienteTareaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Configuracion/UbicacionesModel.php b/ci4/app/Models/Configuracion/UbicacionesModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Facturas/FacturaLineaModel.php b/ci4/app/Models/Facturas/FacturaLineaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Facturas/FacturaModel.php b/ci4/app/Models/Facturas/FacturaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Facturas/FacturaPagoModel.php b/ci4/app/Models/Facturas/FacturaPagoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Mensajeria/ConversacionModel.php b/ci4/app/Models/Mensajeria/ConversacionModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Mensajeria/ParticipanteModel.php b/ci4/app/Models/Mensajeria/ParticipanteModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoDate.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoFileModel.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoFileModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoTarea.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php b/ci4/app/Models/OrdenTrabajo/OrdenTrabajoUser.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Pedidos/AlbaranLineaModel.php b/ci4/app/Models/Pedidos/AlbaranLineaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Pedidos/AlbaranModel.php b/ci4/app/Models/Pedidos/AlbaranModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Pedidos/PedidoLineaModel.php b/ci4/app/Models/Pedidos/PedidoLineaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Pedidos/PedidoModel.php b/ci4/app/Models/Pedidos/PedidoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Presupuestos/BuscadorModel.php b/ci4/app/Models/Presupuestos/BuscadorModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Presupuestos/ErrorPresupuesto.php b/ci4/app/Models/Presupuestos/ErrorPresupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Presupuestos/ImportadorModel.php b/ci4/app/Models/Presupuestos/ImportadorModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Presupuestos/PresupuestoFicheroModel.php b/ci4/app/Models/Presupuestos/PresupuestoFicheroModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Sistema/ActivityModel.php b/ci4/app/Models/Sistema/ActivityModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Soporte/TicketModel.php b/ci4/app/Models/Soporte/TicketModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Soporte/TicketRespuestaModel.php b/ci4/app/Models/Soporte/TicketRespuestaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Soporte/ticketFileModel.php b/ci4/app/Models/Soporte/ticketFileModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Acabados/ServicioAcabadoModel.php b/ci4/app/Models/Tarifas/Acabados/ServicioAcabadoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Acabados/TarifaAcabadoLineaModel.php b/ci4/app/Models/Tarifas/Acabados/TarifaAcabadoLineaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Acabados/TarifaAcabadoModel.php b/ci4/app/Models/Tarifas/Acabados/TarifaAcabadoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Acabados/TarifasAcabadoServiciosAcabadoModel.php b/ci4/app/Models/Tarifas/Acabados/TarifasAcabadoServiciosAcabadoModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Maquinas/TarifaAcabadoMaquinaModel.php b/ci4/app/Models/Tarifas/Maquinas/TarifaAcabadoMaquinaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Maquinas/TarifaEncuadernacionMaquinaModel.php b/ci4/app/Models/Tarifas/Maquinas/TarifaEncuadernacionMaquinaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Maquinas/TarifaExtraMaquinaModel.php b/ci4/app/Models/Tarifas/Maquinas/TarifaExtraMaquinaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Maquinas/TarifaManipuladoMaquinaModel.php b/ci4/app/Models/Tarifas/Maquinas/TarifaManipuladoMaquinaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Tarifas/Maquinas/TarifaPreimpresionMaquinaModel.php b/ci4/app/Models/Tarifas/Maquinas/TarifaPreimpresionMaquinaModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Usuarios/GroupModel.php b/ci4/app/Models/Usuarios/GroupModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Usuarios/GroupsUsersModel.php b/ci4/app/Models/Usuarios/GroupsUsersModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Usuarios/PermisosModel.php b/ci4/app/Models/Usuarios/PermisosModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Wiki/WikiContentModel.php b/ci4/app/Models/Wiki/WikiContentModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Wiki/WikiFileModel.php b/ci4/app/Models/Wiki/WikiFileModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Wiki/WikiPageModel.php b/ci4/app/Models/Wiki/WikiPageModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Wiki/WikiSectionModel.php b/ci4/app/Models/Wiki/WikiSectionModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Models/Wiki/WikiSectionRoleModel.php b/ci4/app/Models/Wiki/WikiSectionRoleModel.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/ChatService.php b/ci4/app/Services/ChatService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/EmailService.php b/ci4/app/Services/EmailService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/ImpresoraEtiquetaService.php b/ci4/app/Services/ImpresoraEtiquetaService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/MaquinaService.php b/ci4/app/Services/MaquinaService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/MessageService.php b/ci4/app/Services/MessageService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/PapelImpresionService.php b/ci4/app/Services/PapelImpresionService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/PedidoXMLService.php b/ci4/app/Services/PedidoXMLService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/PresupuestoClienteService.php b/ci4/app/Services/PresupuestoClienteService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/ProductionService.php b/ci4/app/Services/ProductionService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Services/TarifaMaquinaService.php b/ci4/app/Services/TarifaMaquinaService.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/Email/email_2fa_email.php b/ci4/app/Views/Shield/Email/email_2fa_email.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/Email/email_activate_email.php b/ci4/app/Views/Shield/Email/email_activate_email.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/Email/magic_link_email.php b/ci4/app/Views/Shield/Email/magic_link_email.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/email_2fa_show.php b/ci4/app/Views/Shield/email_2fa_show.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/email_2fa_verify.php b/ci4/app/Views/Shield/email_2fa_verify.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/email_activate_show.php b/ci4/app/Views/Shield/email_activate_show.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/layout.php b/ci4/app/Views/Shield/layout.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/login.php b/ci4/app/Views/Shield/login.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/magic_link_form.php b/ci4/app/Views/Shield/magic_link_form.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/magic_link_message.php b/ci4/app/Views/Shield/magic_link_message.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/Shield/register.php b/ci4/app/Views/Shield/register.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/_commonPartialsBs/_modalInput.php b/ci4/app/Views/themes/_commonPartialsBs/_modalInput.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/_commonPartialsBs/_modalMessageDialog.php b/ci4/app/Views/themes/_commonPartialsBs/_modalMessageDialog.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/_commonPartialsBs/translate.js b/ci4/app/Views/themes/_commonPartialsBs/translate.js old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/alerts/alert.php b/ci4/app/Views/themes/vuexy/components/alerts/alert.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_direct.php b/ci4/app/Views/themes/vuexy/components/chat_direct.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_factura.php b/ci4/app/Views/themes/vuexy/components/chat_factura.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_general.php b/ci4/app/Views/themes/vuexy/components/chat_general.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_internal_factura.php b/ci4/app/Views/themes/vuexy/components/chat_internal_factura.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_internal_orden_trabajo.php b/ci4/app/Views/themes/vuexy/components/chat_internal_orden_trabajo.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php b/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_internal_presupuesto.php b/ci4/app/Views/themes/vuexy/components/chat_internal_presupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_orden_trabajo.php b/ci4/app/Views/themes/vuexy/components/chat_orden_trabajo.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_pedido.php b/ci4/app/Views/themes/vuexy/components/chat_pedido.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/chat_presupuesto.php b/ci4/app/Views/themes/vuexy/components/chat_presupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/dropzone.php b/ci4/app/Views/themes/vuexy/components/dropzone.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/forms/chat_department.php b/ci4/app/Views/themes/vuexy/components/forms/chat_department.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/forms/maquina_tarea.php b/ci4/app/Views/themes/vuexy/components/forms/maquina_tarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/forms/tarifa_maquinas.php b/ci4/app/Views/themes/vuexy/components/forms/tarifa_maquinas.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/internal_messages.php b/ci4/app/Views/themes/vuexy/components/internal_messages.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalAddNewChatParticipant.php b/ci4/app/Views/themes/vuexy/components/modals/modalAddNewChatParticipant.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalDireccion.php b/ci4/app/Views/themes/vuexy/components/modals/modalDireccion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessage.php b/ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessage.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessageClient.php b/ci4/app/Views/themes/vuexy/components/modals/modalNewDirectMessageClient.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php b/ci4/app/Views/themes/vuexy/components/modals/modalNewImposicion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalNewInternalMessage.php b/ci4/app/Views/themes/vuexy/components/modals/modalNewInternalMessage.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalOtTaskManual.php b/ci4/app/Views/themes/vuexy/components/modals/modalOtTaskManual.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/modals/modalSection.php b/ci4/app/Views/themes/vuexy/components/modals/modalSection.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/chat_department_users_table.php b/ci4/app/Views/themes/vuexy/components/tables/chat_department_users_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/chat_departments_table.php b/ci4/app/Views/themes/vuexy/components/tables/chat_departments_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php b/ci4/app/Views/themes/vuexy/components/tables/imposicion_esquema_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/maquina_tarea_table.php b/ci4/app/Views/themes/vuexy/components/tables/maquina_tarea_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/messages_table.php b/ci4/app/Views/themes/vuexy/components/tables/messages_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/ot_table.php b/ci4/app/Views/themes/vuexy/components/tables/ot_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/ot_task_table.php b/ci4/app/Views/themes/vuexy/components/tables/ot_task_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/planning_papel_gramaje_table.php b/ci4/app/Views/themes/vuexy/components/tables/planning_papel_gramaje_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/planning_papel_pliego_table.php b/ci4/app/Views/themes/vuexy/components/tables/planning_papel_pliego_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/planning_plana_table.php b/ci4/app/Views/themes/vuexy/components/tables/planning_plana_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/components/tables/planning_rot_table.php b/ci4/app/Views/themes/vuexy/components/tables/planning_rot_table.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/activity/activityList.php b/ci4/app/Views/themes/vuexy/form/activity/activityList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteDireccionesForm.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteDireccionesForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_clienteFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_facturacionClienteItems.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_facturacionClienteItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_pedidosClienteItems.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_pedidosClienteItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/_presupuestosClienteItems.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/_presupuestosClienteItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteList.php b/ci4/app/Views/themes/vuexy/form/clientes/cliente/viewClienteList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/contactos/_contactoDeClienteFormItems.php b/ci4/app/Views/themes/vuexy/form/clientes/contactos/_contactoDeClienteFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteForm.php b/ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteList.php b/ci4/app/Views/themes/vuexy/form/clientes/contactos/viewContactoDeClienteList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/direcciones/viewClienteDireccionesList.php b/ci4/app/Views/themes/vuexy/form/clientes/direcciones/viewClienteDireccionesList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/_distribuidorDeClienteFormItems.php b/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/_distribuidorDeClienteFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteForm.php b/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteList.php b/ci4/app/Views/themes/vuexy/form/clientes/distribuidores/viewDistribuidorDeClienteList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/_ClienteplantillapreciosFormItems.php b/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/_ClienteplantillapreciosFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosForm.php b/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosList.php b/ci4/app/Views/themes/vuexy/form/clientes/plantillaprecios/viewClienteplantillapreciosList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorFormItems.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorTipoFormItems.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/_proveedorTipoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorForm.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorList.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoForm.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoList.php b/ci4/app/Views/themes/vuexy/form/compras/proveedores/viewProveedorTipoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/_comunidadAutonomaFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/_comunidadAutonomaFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaList.php b/ci4/app/Views/themes/vuexy/form/configuracion/comunidades-autonomas/viewComunidadAutonomaList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoList.php b/ci4/app/Views/themes/vuexy/form/configuracion/error_presupuesto/viewErrorPresupuestoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/_formaDePagoFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/_formaDePagoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoList.php b/ci4/app/Views/themes/vuexy/form/configuracion/formas-pago/viewFormaDePagoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionEsquemaFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/_imposicionFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionEsquemaForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/imposiciones/viewImposicionNewForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/editMaquinaTarea.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/editMaquinaTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/viewMaquinaTarea.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquina_tareas/viewMaquinaTarea.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaPorDefectoFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/_maquinaPorDefectoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaList.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoList.php b/ci4/app/Views/themes/vuexy/form/configuracion/maquinas/viewMaquinaPorDefectoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/messages/configView.php b/ci4/app/Views/themes/vuexy/form/configuracion/messages/configView.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/messages/editChatDepartmentForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/messages/editChatDepartmentForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/paises/_paisFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/paises/_paisFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisList.php b/ci4/app/Views/themes/vuexy/form/configuracion/paises/viewPaisList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelGenericoFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelGenericoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelImpresionFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/_papelImpresionFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoList.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelGenericoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionList.php b/ci4/app/Views/themes/vuexy/form/configuracion/papel/viewPapelImpresionList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/_papelFormatoFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/_papelFormatoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoList.php b/ci4/app/Views/themes/vuexy/form/configuracion/papelformato/viewPapelFormatoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/provincias/_provinciaFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/provincias/_provinciaFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaList.php b/ci4/app/Views/themes/vuexy/form/configuracion/provincias/viewProvinciaList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/_seriesFacturasFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/_seriesFacturasFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasList.php b/ci4/app/Views/themes/vuexy/form/configuracion/series-facturas/viewSeriesFacturasList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/_tipologiaLibrosFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/_tipologiaLibrosFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosList.php b/ci4/app/Views/themes/vuexy/form/configuracion/tipologias/viewTipologiaLibrosList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/_ubicacionesFormItems.php b/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/_ubicacionesFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesForm.php b/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesList.php b/ci4/app/Views/themes/vuexy/form/configuracion/ubicaciones/viewUbicacionesList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/configuracion/variables/viewVariablesList.php b/ci4/app/Views/themes/vuexy/form/configuracion/variables/viewVariablesList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/_addPedidosItems.php b/ci4/app/Views/themes/vuexy/form/facturas/_addPedidosItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/_facturaCabeceraItems.php b/ci4/app/Views/themes/vuexy/form/facturas/_facturaCabeceraItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/_facturaLineasItems.php b/ci4/app/Views/themes/vuexy/form/facturas/_facturaLineasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/_pagosFacturasItems.php b/ci4/app/Views/themes/vuexy/form/facturas/_pagosFacturasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/_rectificadaFacturasItems.php b/ci4/app/Views/themes/vuexy/form/facturas/_rectificadaFacturasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/viewAddFactura.php b/ci4/app/Views/themes/vuexy/form/facturas/viewAddFactura.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/viewFacturaForm.php b/ci4/app/Views/themes/vuexy/form/facturas/viewFacturaForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/facturas/viewFacturasList.php b/ci4/app/Views/themes/vuexy/form/facturas/viewFacturasList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/group/viewUserGroupForm.php b/ci4/app/Views/themes/vuexy/form/group/viewUserGroupForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/group/viewUserGroupList.php b/ci4/app/Views/themes/vuexy/form/group/viewUserGroupList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/home/viewHome.php b/ci4/app/Views/themes/vuexy/form/home/viewHome.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php b/ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/mensajeria.js b/ci4/app/Views/themes/vuexy/form/mensajes/mensajeria.js old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/mensajesView.php b/ci4/app/Views/themes/vuexy/form/mensajes/mensajesView.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/messageChat.php b/ci4/app/Views/themes/vuexy/form/mensajes/messageChat.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/messageChatFactura.php b/ci4/app/Views/themes/vuexy/form/mensajes/messageChatFactura.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/messageChatInternal.php b/ci4/app/Views/themes/vuexy/form/mensajes/messageChatInternal.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/messageChatPedido.php b/ci4/app/Views/themes/vuexy/form/mensajes/messageChatPedido.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/mensajes/messageChatPresupuesto.php b/ci4/app/Views/themes/vuexy/form/mensajes/messageChatPresupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/_albaranesItems.php b/ci4/app/Views/themes/vuexy/form/pedidos/_albaranesItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/_cabeceraItems.php b/ci4/app/Views/themes/vuexy/form/pedidos/_cabeceraItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/_facturasItems.php b/ci4/app/Views/themes/vuexy/form/pedidos/_facturasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/_lineasItems.php b/ci4/app/Views/themes/vuexy/form/pedidos/_lineasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/viewPedidoForm.php b/ci4/app/Views/themes/vuexy/form/pedidos/viewPedidoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/pedidos/viewPedidosList.php b/ci4/app/Views/themes/vuexy/form/pedidos/viewPedidosList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_comentariosItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_comentariosItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosEnvios.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosEnvios.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosLibroItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosLibroItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoClienteItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoClienteItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosPresupuestoItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_lineasPresupuestoItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_lineasPresupuestoItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_mensajeria.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_mensajeria.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_presupuestoDireccionesForm.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_presupuestoDireccionesForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenCreditoItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenCreditoItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenPresupuestoItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_resumenPresupuestoItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_tiradasAlternativasItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_tiradasAlternativasItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoAdminList.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoAdminList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoadminForm.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/viewPresupuestoadminForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/buscador/viewBuscadorList.php b/ci4/app/Views/themes/vuexy/form/presupuestos/buscador/viewBuscadorList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_buttons.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_buttons.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_direcciones.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_direcciones.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioCubierta.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioCubierta.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioInterior.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_disenioInterior.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_interior.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_interior.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_presupuestoDireccionesForm.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_presupuestoDireccionesForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_resumen.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_resumen.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/loader.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/loader.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoList.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoclienteForm.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/viewPresupuestoclienteForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/importador/viewImportadorPresupuestos.php b/ci4/app/Views/themes/vuexy/form/presupuestos/importador/viewImportadorPresupuestos.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/index.php b/ci4/app/Views/themes/vuexy/form/presupuestos/index.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/tapa-blanda-encolada.php b/ci4/app/Views/themes/vuexy/form/presupuestos/tapa-blanda-encolada.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otComments.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otComments.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otCosts.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otCosts.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otDates.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otDetails.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otDetails.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otFerrosEnvios.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otFerrosEnvios.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otFiles.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otFiles.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otHeader.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otHeader.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otPortada.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otPortada.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otPreimpresionReview.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otProgress.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otProgress.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/otTask.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/otTask.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/ot/viewPlanningRotativa.php b/ci4/app/Views/themes/vuexy/form/produccion/ot/viewPlanningRotativa.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php b/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoEdit.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoList.php b/ci4/app/Views/themes/vuexy/form/produccion/viewOrdenTrabajoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/profile/profileDetails.php b/ci4/app/Views/themes/vuexy/form/profile/profileDetails.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/soporte/viewTicketForm.php b/ci4/app/Views/themes/vuexy/form/soporte/viewTicketForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/soporte/viewTicketList.php b/ci4/app/Views/themes/vuexy/form/soporte/viewTicketList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/acabado/_tarifaAcabadoFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/acabado/_tarifaAcabadoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoList.php b/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewServiciosAcabadoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php b/ci4/app/Views/themes/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/_tarifaEncuadernacionFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/_tarifaEncuadernacionFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionList.php b/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/envios/_tarifaEnvioFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/envios/_tarifaEnvioFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioList.php b/ci4/app/Views/themes/vuexy/form/tarifas/envios/viewTarifaEnvioList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/extra/_tarifaextraFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/extra/_tarifaextraFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraList.php b/ci4/app/Views/themes/vuexy/form/tarifas/extra/viewTarifaextraList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/_tarifaManipuladoFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/_tarifaManipuladoFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoList.php b/ci4/app/Views/themes/vuexy/form/tarifas/manipulado/viewTarifaManipuladoList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/_tarifapreimpresionFormItems.php b/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/_tarifapreimpresionFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionList.php b/ci4/app/Views/themes/vuexy/form/tarifas/preimpresion/viewTarifapreimpresionList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/test_js/test_js.js b/ci4/app/Views/themes/vuexy/form/test_js/test_js.js old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/test_js/viewTest.php b/ci4/app/Views/themes/vuexy/form/test_js/viewTest.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/user/_userFormItems.php b/ci4/app/Views/themes/vuexy/form/user/_userFormItems.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/user/viewUserForm.php b/ci4/app/Views/themes/vuexy/form/user/viewUserForm.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/form/user/viewUserList.php b/ci4/app/Views/themes/vuexy/form/user/viewUserList.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/mail/mail_layout.php b/ci4/app/Views/themes/vuexy/mail/mail_layout.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/mail/messageNotification.php b/ci4/app/Views/themes/vuexy/mail/messageNotification.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/mail/messageNotificationClienteContacto.php b/ci4/app/Views/themes/vuexy/mail/messageNotificationClienteContacto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/breadcrumbs.php b/ci4/app/Views/themes/vuexy/main/breadcrumbs.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/defaultlayout.php b/ci4/app/Views/themes/vuexy/main/defaultlayout.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/footer.php b/ci4/app/Views/themes/vuexy/main/footer.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/header.php b/ci4/app/Views/themes/vuexy/main/header.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menu_digitalizacion.php b/ci4/app/Views/themes/vuexy/main/menu_digitalizacion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menu_impresion.php b/ci4/app/Views/themes/vuexy/main/menu_impresion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menu_maquetacion.php b/ci4/app/Views/themes/vuexy/main/menu_maquetacion.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/catalogo_menu.php b/ci4/app/Views/themes/vuexy/main/menus/catalogo_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/clientes_menu.php b/ci4/app/Views/themes/vuexy/main/menus/clientes_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/compras_menu.php b/ci4/app/Views/themes/vuexy/main/menus/compras_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php b/ci4/app/Views/themes/vuexy/main/menus/configuracion_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/dashboard_menu.php b/ci4/app/Views/themes/vuexy/main/menus/dashboard_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/facturacion_cliente_menu.php b/ci4/app/Views/themes/vuexy/main/menus/facturacion_cliente_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/facturacion_menu.php b/ci4/app/Views/themes/vuexy/main/menus/facturacion_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/importacion_menu.php b/ci4/app/Views/themes/vuexy/main/menus/importacion_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/logistica_menu.php b/ci4/app/Views/themes/vuexy/main/menus/logistica_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/maquinista_menu.php b/ci4/app/Views/themes/vuexy/main/menus/maquinista_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/mensajes_menu.php b/ci4/app/Views/themes/vuexy/main/menus/mensajes_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/pedidos_menu.php b/ci4/app/Views/themes/vuexy/main/menus/pedidos_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php b/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/presupuesto_menu.php b/ci4/app/Views/themes/vuexy/main/menus/presupuesto_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/produccion_menu.php b/ci4/app/Views/themes/vuexy/main/menus/produccion_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/sistema_menu.php b/ci4/app/Views/themes/vuexy/main/menus/sistema_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/soporte_menu.php b/ci4/app/Views/themes/vuexy/main/menus/soporte_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/tarifas_menu.php b/ci4/app/Views/themes/vuexy/main/menus/tarifas_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/menus/wiki_menu.php b/ci4/app/Views/themes/vuexy/main/menus/wiki_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/presupuestos_layout.php b/ci4/app/Views/themes/vuexy/main/presupuestos_layout.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/main/selector_menu.php b/ci4/app/Views/themes/vuexy/main/selector_menu.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/pdfs/albaran.php b/ci4/app/Views/themes/vuexy/pdfs/albaran.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/pdfs/factura.php b/ci4/app/Views/themes/vuexy/pdfs/factura.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php b/ci4/app/Views/themes/vuexy/pdfs/orden_trabajo.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/pdfs/presupuesto.php b/ci4/app/Views/themes/vuexy/pdfs/presupuesto.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/wiki/breadcrumbs.php b/ci4/app/Views/themes/vuexy/wiki/breadcrumbs.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/wiki/layout.php b/ci4/app/Views/themes/vuexy/wiki/layout.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/wiki/pages/render.php b/ci4/app/Views/themes/vuexy/wiki/pages/render.php old mode 100644 new mode 100755 diff --git a/ci4/app/Views/themes/vuexy/wiki/sidebar.php b/ci4/app/Views/themes/vuexy/wiki/sidebar.php old mode 100644 new mode 100755 From c344274f9d8e2d5f2af88c5bebf78506be0886e6 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 21 Apr 2025 13:35:12 +0200 Subject: [PATCH 15/15] Arreglado bug de rutas --- .../presupuestoCliente/disenioCubierta.js | 20 +++++++++---------- .../presupuestoCliente/disenioInterior.js | 16 +++++++-------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js index a8647048..19ec8dc4 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js @@ -26,7 +26,7 @@ class DisenioCubierta { this.divPapelEspecial = this.domItem.find("#divPapelEspecialCubierta"); this.papelEspecial = new ClassSelect($("#papelEspecialCubiertaSel"), - '/papelesgenericos/selectpapelespecial', + '/configuracion/papelesgenericos/selectpapelespecial', window.translations["selectPapel"], false, { @@ -59,7 +59,7 @@ class DisenioCubierta { this.tamanioSolapasCubierta = $(this.domItem.find("#solapasCubierta")); this.papelGuardas = new ClassSelect($("#papelGuardas"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectPapel"], false, { @@ -77,7 +77,7 @@ class DisenioCubierta { true, ); this.gramajeGuardas = new ClassSelect($("#gramajeGuardas"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectGramaje"], false, { @@ -106,7 +106,7 @@ class DisenioCubierta { this.configuracionSobrecubierta = this.domItem.find(".config-sobrecubierta"); this.sobrecubierta = this.domItem.find("#addSobrecubierta"); this.papelSobrecubierta = new ClassSelect($("#papelSobrecubierta"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectPapel"], false, { @@ -124,7 +124,7 @@ class DisenioCubierta { true, ); this.gramajeSobrecubierta = new ClassSelect($("#gramajeSobrecubierta"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectPapel"], false, { @@ -147,7 +147,7 @@ class DisenioCubierta { this.configuracionFaja = this.domItem.find(".config-faja"); this.faja = this.domItem.find("#addFaja"); this.papelFaja = new ClassSelect($("#papelFaja"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectPapel"], false, { @@ -165,7 +165,7 @@ class DisenioCubierta { true, ); this.gramajeFaja = new ClassSelect($("#gramajeFaja"), - '/papelesgenericos/getpapelcliente', + '/configuracion/papelesgenericos/getpapelcliente', window.translations["selectGramaje"], false, { @@ -988,7 +988,7 @@ class DisenioCubierta { this.divGramajeCubierta.empty(); const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1; - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tipo: 'colorhq', @@ -1014,7 +1014,7 @@ class DisenioCubierta { this.papelCubierta = this.papelEspecial.getVal(); const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1; - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, papel: this.papelCubierta, @@ -1146,7 +1146,7 @@ class DisenioCubierta { $('#papelEspecialCubiertaSel').on("change", this.#handlePapelCubiertaEspecial.bind(this)); this.divGramajeCubierta.empty(); const tapa_dura = this.tapaBlanda.hasClass("selected") ? 0 : 1; - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, papel: papel, diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js index a778db69..68779eb1 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioInterior.js @@ -51,7 +51,7 @@ class DisenioInterior { this.rl_papel_interior_color = $("#rl_papel_interior_color"); this.papelEspecial = new ClassSelect($("#papelEspecialInterior"), - '/papelesgenericos/selectpapelespecial', + '/configuracion/papelesgenericos/selectpapelespecial', window.translations["selectPapel"], false, { @@ -66,7 +66,7 @@ class DisenioInterior { } ); this.papelEspecialColor = new ClassSelect($("#papelEspecialInteriorColor"), - '/papelesgenericos/selectpapelespecial', + '/configuracion/papelesgenericos/selectpapelespecial', window.translations["selectPapel"], false, { @@ -121,7 +121,7 @@ class DisenioInterior { if (papeles == 'color') { this.divGramajeInteriorColor.empty(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(), @@ -140,7 +140,7 @@ class DisenioInterior { if (papeles == 'negro' || papeles == null) { this.divGramajeInterior.empty(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(), @@ -900,7 +900,7 @@ class DisenioInterior { this.divPapelEspecialInterior.addClass("d-none"); this.papelEspecialInterior.empty(); this.divGramajeInterior.empty(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(), @@ -932,7 +932,7 @@ class DisenioInterior { let tipo = this.getTipoImpresion(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(), @@ -982,7 +982,7 @@ class DisenioInterior { this.divPapelEspecialInteriorColor.addClass("d-none"); this.divPapelEspecialInteriorColor.empty(); this.divGramajeInteriorColor.empty(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(), @@ -1010,7 +1010,7 @@ class DisenioInterior { let tipo = this.getTipoImpresionColor(); - new Ajax('/papelesgenericos/getpapelcliente', + new Ajax('/configuracion/papelesgenericos/getpapelcliente', { [this.csrf_token]: this.csrf_hash, tirada: $('#tirada').val(),