Eliminada carpeta backend en themes, añadidos breadcrumbs

This commit is contained in:
imnavajas
2024-05-08 13:21:39 +02:00
parent 74876bd774
commit 071ef874cc
194 changed files with 182 additions and 418 deletions

View File

@ -24,7 +24,7 @@ class Comunidadesautonomas extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'comunidades-autonomas';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/comunidades-autonomas/';
protected static $viewPath = 'themes/vuexy/form/configuracion/comunidades-autonomas/';
protected $indexRoute = 'comunidadAutonomaList';

View File

@ -22,7 +22,7 @@ class Formaspagos extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'formas-pagos';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/formasPagoViews/';
protected static $viewPath = 'themes/vuexy/form/configuracion/formasPagoViews/';
protected $indexRoute = 'formaDePagoList';

View File

@ -22,7 +22,7 @@ class Imposiciones extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'imposiciones';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/imposiciones/';
protected static $viewPath = 'themes/vuexy/form/configuracion/imposiciones/';
protected $indexRoute = 'imposicionList';

View File

@ -22,7 +22,7 @@ class Maquinas extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'maquinas';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/maquinas/';
protected static $viewPath = 'themes/vuexy/form/configuracion/maquinas/';
protected $indexRoute = 'maquinaList';

View File

@ -24,7 +24,7 @@ class Maquinasdefecto extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'maquinasdefecto';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/maquinas/';
protected static $viewPath = 'themes/vuexy/form/configuracion/maquinas/';
protected $indexRoute = 'maquinaPorDefectoList';

View File

@ -37,7 +37,7 @@ class Maquinaspapelesimpresion extends \App\Controllers\BaseResourceController {
protected static $controllerSlug = 'maquinaspapelesimpresion';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/maquinas/';
protected static $viewPath = 'themes/vuexy/form/configuracion/maquinas/';
protected $indexRoute = '';

View File

@ -28,7 +28,7 @@ class Maquinastarifasimpresion extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'maquinastarifasimpresion';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/maquinas/';
protected static $viewPath = 'themes/vuexy/form/configuracion/maquinas/';
protected $indexRoute = 'maquinasTarifaImpresionList';

View File

@ -22,7 +22,7 @@ class Paises extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'paises';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/paises/';
protected static $viewPath = 'themes/vuexy/form/configuracion/paises/';
protected $indexRoute = 'paisList';
@ -31,6 +31,13 @@ class Paises extends \App\Controllers\BaseResourceController
{
$this->viewData['pageTitle'] = lang('Paises.moduleTitle');
$this->viewData['usingSweetAlert'] = true;
// Breadcrumbs (IMN)
$this->viewData['breadcrumb'] = [
['title' => lang("App.menu_configuration"), 'route' => "javascript:void(0);", 'active' => false],
['title' => lang("App.menu_paises"), 'route' => site_url('configuracion/paises'), 'active' => true]
];
parent::initController($request, $response, $logger);
}

View File

@ -24,7 +24,7 @@ class Papelesgenericos extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'papelesgenericos';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/papel/';
protected static $viewPath = 'themes/vuexy/form/configuracion/papel/';
protected $indexRoute = 'papelGenericoList';

View File

@ -49,7 +49,7 @@ class Papelesimpresion extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'papelesimpresion';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/papel/';
protected static $viewPath = 'themes/vuexy/form/configuracion/papel/';
protected $indexRoute = 'papelImpresionList';

View File

@ -21,7 +21,7 @@ class Papelformato extends \App\Controllers\BaseResourceController {
protected static $controllerSlug = 'papelformato';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/papelformato/';
protected static $viewPath = 'themes/vuexy/form/configuracion/papelformato/';
protected $indexRoute = 'papelFormatoList';

View File

@ -32,7 +32,7 @@ class Papelimpresionmargenes extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'papelimpresionmargenes';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/papelesimpresion/';
protected static $viewPath = 'themes/vuexy/form/configuracion/papelesimpresion/';
protected $indexRoute = 'papelesImpresionList';

View File

@ -35,7 +35,7 @@ class Papelimpresiontipologias extends \App\Controllers\BaseResourceController {
protected static $controllerSlug = 'papelimpresiontipologias';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/papel/';
protected static $viewPath = 'themes/vuexy/form/configuracion/papel/';
protected $indexRoute = 'papelImpresionTipologiaList';

View File

@ -24,7 +24,7 @@ class Provincias extends \App\Controllers\BaseResourceController
protected static $controllerSlug = 'provincias';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/provincias/';
protected static $viewPath = 'themes/vuexy/form/configuracion/provincias/';
protected $indexRoute = 'provinciaList';

View File

@ -1,21 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Seriefactura extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Serie factura';
}
}

View File

@ -1,35 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Serviciocliente extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Servicio cliente';
}
public function edit()
{
}
public function add()
{
}
public function delete()
{
}
}

View File

@ -1,35 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Tamanioformatos extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Tamaño formatos';
}
public function edit()
{
}
public function add()
{
}
public function delete()
{
}
}

View File

@ -1,35 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Tamaniolibros extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Tamaño libros';
}
public function edit()
{
}
public function add()
{
}
public function delete()
{
}
}

View File

@ -1,35 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Tareaservicio extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Tarea servicio';
}
public function edit()
{
}
public function add()
{
}
public function delete()
{
}
}

View File

@ -15,7 +15,7 @@ class Tipologias extends \App\Controllers\GoBaseController
protected static $pluralObjectName = 'Tipologias Libros';
protected static $controllerSlug = 'tipologiaslibros';
protected static $viewPath = 'themes/backend/vuexy/form/configuracion/tipologias/';
protected static $viewPath = 'themes/vuexy/form/configuracion/tipologias/';
protected $indexRoute = 'tipologiaLibrosList';

View File

@ -1,35 +0,0 @@
<?php
namespace App\Controllers\Configuracion;
use App\Controllers\BaseController;
class Trabajo extends BaseController
{
function __construct()
{
}
public function index()
{
echo 'Trabajo';
}
public function edit()
{
}
public function add()
{
}
public function delete()
{
}
}

View File

@ -25,7 +25,7 @@ class Users extends \App\Controllers\GoBaseController {
protected static $pluralObjectName = 'Users';
protected static $controllerSlug = 'users';
protected static $viewPath = 'themes/backend/vuexy/form/user/';
protected static $viewPath = 'themes/vuexy/form/user/';
protected $indexRoute = 'userList';
@ -38,6 +38,13 @@ class Users extends \App\Controllers\GoBaseController {
$this->user_model = new UserModel();
$this->viewData['pageTitle'] = lang('Users.moduleTitle');
// Breadcrumbs (IMN)
$this->viewData['breadcrumb'] = [
['title' => lang("App.menu_configuration"), 'route' => "javascript:void(0);", 'active' => false],
['title' => lang("App.menu_users"), 'route' => site_url('configuracion/users'), 'active' => true]
];
parent::initController($request, $response, $logger);
}