diff --git a/ci4/app/Controllers/Logistica/Logisticacontroller.php b/ci4/app/Controllers/Logistica/Logisticacontroller.php new file mode 100644 index 00000000..9ada7ecf --- /dev/null +++ b/ci4/app/Controllers/Logistica/Logisticacontroller.php @@ -0,0 +1,70 @@ +viewData['pageTitle'] = lang('Logistica.logistica'); + + // Breadcrumbs + $this->viewData['breadcrumb'] = [ + ['title' => lang("App.menu_logistica"), 'route' => "javascript:void(0);", 'active' => false], + ]; + + parent::initController($request, $response, $logger); + } + + public function index() + { + //checkPermission('tickets.menu'); + + /*$viewData = [ + 'currentModule' => static::$controllerSlug, + 'pageSubTitle' => lang('Basic.global.ManageAllRecords', [lang('Tickets.tickets')]), + 'usingServerSideDataTable' => true, + 'userType' => auth()->user()->can('tickets.edit') ? 1 : 0, + ]; + + $viewData = array_merge($this->viewData, $viewData); // merge any possible values from the parent controller class + + return view(static::$viewPath . 'viewTicketList', $viewData);*/ + } + + public function panel() + { + //checkPermission('tickets.menu'); + + $viewData = [ + 'currentModule' => static::$controllerSlug, + 'boxTitle' => lang('Logistica.panel'), + 'pageSubTitle' => 'Panel', + 'usingServerSideDataTable' => true, + ]; + + $viewData = array_merge($this->viewData, $viewData); // merge any possible values from the parent controller class + + return view(static::$viewPath . 'viewPanelLogistica', $viewData); + } +} diff --git a/ci4/app/Language/es/Logistica.php b/ci4/app/Language/es/Logistica.php new file mode 100644 index 00000000..3885004a --- /dev/null +++ b/ci4/app/Language/es/Logistica.php @@ -0,0 +1,12 @@ + 'Logística', + 'panel' => 'Panel', + 'envioSimple' => 'Envío simple', + 'envioMultiple' => 'Envío múltiple', + 'envioConjunto' => 'Envío conjunto', + 'etiquetasTitulos' => 'Etiquetas de títulos', + 'etiquetasEnvio' => 'Etiquetas de envío', + 'envioFerros' => 'Envío de ferros', + 'cerrarOTauto' => 'Cerrar OT automáticamente', +]; \ No newline at end of file diff --git a/ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php b/ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php new file mode 100644 index 00000000..419584a2 --- /dev/null +++ b/ci4/app/Views/themes/vuexy/form/logistica/viewPanelLogistica.php @@ -0,0 +1,68 @@ += $this->include("themes/_commonPartialsBs/sweetalert") ?> += $this->include('themes/_commonPartialsBs/datatables') ?> += $this->extend('themes/vuexy/main/defaultlayout') ?> += $this->section('content'); ?> + + +