diff --git a/ci4/app/Controllers/Presupuestos/Cosidotapablanda.php b/ci4/app/Controllers/Presupuestos/Cosidotapablanda.php index 6377dcd7..e8c69017 100644 --- a/ci4/app/Controllers/Presupuestos/Cosidotapablanda.php +++ b/ci4/app/Controllers/Presupuestos/Cosidotapablanda.php @@ -34,6 +34,20 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController $this->viewData['pageTitle'] = lang('Presupuestos.moduleTitleCosidoTB'); $this->viewData['usingSweetAlert'] = true; + + // Se indica que este controlador trabaja con soft_delete + $this->soft_delete = true; + // Se indica el flag para los ficheros borrados + $this->delete_flag = 1; + + $this->viewData = ['usingServerSideDataTable' => true]; // JJO + + // Breadcrumbs + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_presupuestos"), 'route' => "javascript:void(0);", 'active' => false], + ['title' => lang("App.menu_libros_cosido_tapa_blanda"), 'route' => site_url('presupuestos/cosidotapablanda'), 'active' => true] + ]; + parent::initController($request, $response, $logger); $this->model = new PresupuestoModel(); } @@ -50,13 +64,6 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController ]; - // Se indica que este controlador trabaja con soft_delete - $this->soft_delete = true; - // Se indica el flag para los ficheros borrados - $this->delete_flag = 1; - - $this->viewData = ['usingServerSideDataTable' => true]; // JJO - $viewData = array_merge($this->viewData, $viewData); // merge any possible values from the parent controller class return view(static::$viewPath . 'viewCosidotapablandaList', $viewData); diff --git a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php index 6d25d836..9238c517 100644 --- a/ci4/app/Entities/Presupuestos/PresupuestoEntity.php +++ b/ci4/app/Entities/Presupuestos/PresupuestoEntity.php @@ -25,6 +25,7 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity "ferro" => false, "ferro_digital" => false, "marcapaginas" => false, + "prototipo" => false, "papel_formato_id" => null, "papel_formato_personalizado" => false, "papel_formato_ancho" => null, @@ -189,6 +190,7 @@ class PresupuestoEntity extends \CodeIgniter\Entity\Entity "ferro" => "boolean", "ferro_digital" => "boolean", "marcapaginas" => "boolean", + "prototipo" => "boolean", "papel_formato_id" => "int", "papel_formato_personalizado" => "boolean", "papel_formato_ancho" => "?float", diff --git a/ci4/app/Language/en/Presupuestos.php b/ci4/app/Language/en/Presupuestos.php index 73bfeec8..e2f2f966 100644 --- a/ci4/app/Language/en/Presupuestos.php +++ b/ci4/app/Language/en/Presupuestos.php @@ -43,6 +43,8 @@ return [ 'imagenesBnInterior' => 'B/W pictures inside', 'recogerEnTaller' => 'Pick up in workshop', 'marcapaginas' => 'Bookmark', + 'merma' => 'Weakening', + 'mermaportada' => 'Cover weakening', /* '4x0' => '4x0', diff --git a/ci4/app/Language/es/Presupuestos.php b/ci4/app/Language/es/Presupuestos.php index b687285d..64bd1f37 100644 --- a/ci4/app/Language/es/Presupuestos.php +++ b/ci4/app/Language/es/Presupuestos.php @@ -43,6 +43,8 @@ return [ 'imagenesBnInterior' => 'Imágenes B/N interior', 'recogerEnTaller' => 'Recoger en taller', 'marcapaginas' => 'Marcapáginas', + 'merma' => 'Merma', + 'mermaportada' => 'Merma portada', /* '4x0' => '4x0', diff --git a/ci4/app/Models/Presupuestos/PresupuestoModel.php b/ci4/app/Models/Presupuestos/PresupuestoModel.php index 90908e38..41c6a0eb 100644 --- a/ci4/app/Models/Presupuestos/PresupuestoModel.php +++ b/ci4/app/Models/Presupuestos/PresupuestoModel.php @@ -46,6 +46,7 @@ class PresupuestoModel extends \App\Models\GoBaseModel "ferro", "ferro_digital", "marcapaginas", + "prototipo", "papel_formato_id", "papel_formato_personalizado", "papel_formato_ancho", diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosLibroItems.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosLibroItems.php index 8999bef7..a896043f 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosLibroItems.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosLibroItems.php @@ -2,7 +2,7 @@

@@ -32,7 +32,7 @@
-