1029 lines
17 KiB
PHP
1029 lines
17 KiB
PHP
<?php
|
|
|
|
use Phinx\Seed\AbstractSeed;
|
|
|
|
class LocationsSeeder extends AbstractSeed
|
|
{
|
|
public function run(): void
|
|
{
|
|
$data = [
|
|
[
|
|
'id' => 1,
|
|
'controller' => 'admin',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 2,
|
|
'controller' => 'admin',
|
|
'action' => 'models',
|
|
],
|
|
[
|
|
'id' => 3,
|
|
'controller' => 'admin',
|
|
'action' => 'listModels',
|
|
],
|
|
[
|
|
'id' => 4,
|
|
'controller' => 'admin',
|
|
'action' => 'listNamespaces',
|
|
],
|
|
[
|
|
'id' => 5,
|
|
'controller' => 'admin',
|
|
'action' => 'collapseMultiArray',
|
|
],
|
|
[
|
|
'id' => 6,
|
|
'controller' => 'admin',
|
|
'action' => 'createModel',
|
|
],
|
|
[
|
|
'id' => 7,
|
|
'controller' => 'admin',
|
|
'action' => 'list_roles',
|
|
],
|
|
[
|
|
'id' => 8,
|
|
'controller' => 'admin',
|
|
'action' => 'add_role',
|
|
],
|
|
[
|
|
'id' => 9,
|
|
'controller' => 'admin',
|
|
'action' => 'do_add_role',
|
|
],
|
|
[
|
|
'id' => 10,
|
|
'controller' => 'admin',
|
|
'action' => 'role',
|
|
],
|
|
[
|
|
'id' => 11,
|
|
'controller' => 'admin',
|
|
'action' => 'add_role_permissions',
|
|
],
|
|
[
|
|
'id' => 12,
|
|
'controller' => 'admin',
|
|
'action' => 'do_add_role_permissions',
|
|
],
|
|
[
|
|
'id' => 13,
|
|
'controller' => 'admin',
|
|
'action' => 'list_users',
|
|
],
|
|
[
|
|
'id' => 14,
|
|
'controller' => 'admin',
|
|
'action' => 'add_user',
|
|
],
|
|
[
|
|
'id' => 15,
|
|
'controller' => 'admin',
|
|
'action' => 'do_add_user',
|
|
],
|
|
[
|
|
'id' => 16,
|
|
'controller' => 'admin',
|
|
'action' => 'user',
|
|
],
|
|
[
|
|
'id' => 17,
|
|
'controller' => 'admin',
|
|
'action' => 'add_user_role',
|
|
],
|
|
[
|
|
'id' => 18,
|
|
'controller' => 'admin',
|
|
'action' => 'do_add_user_role',
|
|
],
|
|
[
|
|
'id' => 19,
|
|
'controller' => 'admin',
|
|
'action' => 'remove_user_role',
|
|
],
|
|
[
|
|
'id' => 20,
|
|
'controller' => 'admin',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 21,
|
|
'controller' => 'ajax',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 22,
|
|
'controller' => 'ajax',
|
|
'action' => 'buscar',
|
|
],
|
|
[
|
|
'id' => 23,
|
|
'controller' => 'ajax',
|
|
'action' => 'buscarBancos',
|
|
],
|
|
[
|
|
'id' => 24,
|
|
'controller' => 'ajax',
|
|
'action' => 'buscarBanco',
|
|
],
|
|
[
|
|
'id' => 25,
|
|
'controller' => 'ajax',
|
|
'action' => 'comunas',
|
|
],
|
|
[
|
|
'id' => 26,
|
|
'controller' => 'ajax',
|
|
'action' => 'propietario',
|
|
],
|
|
[
|
|
'id' => 27,
|
|
'controller' => 'ajax',
|
|
'action' => 'direccion',
|
|
],
|
|
[
|
|
'id' => 28,
|
|
'controller' => 'ajax',
|
|
'action' => 'tipo_unidades',
|
|
],
|
|
[
|
|
'id' => 29,
|
|
'controller' => 'ajax',
|
|
'action' => 'unidades',
|
|
],
|
|
[
|
|
'id' => 30,
|
|
'controller' => 'ajax',
|
|
'action' => 'operadores',
|
|
],
|
|
[
|
|
'id' => 31,
|
|
'controller' => 'ajax',
|
|
'action' => 'promociones',
|
|
],
|
|
[
|
|
'id' => 32,
|
|
'controller' => 'ajax',
|
|
'action' => 'nombres',
|
|
],
|
|
[
|
|
'id' => 33,
|
|
'controller' => 'ajax',
|
|
'action' => 'apellidos',
|
|
],
|
|
[
|
|
'id' => 34,
|
|
'controller' => 'ajax',
|
|
'action' => 'calles',
|
|
],
|
|
[
|
|
'id' => 35,
|
|
'controller' => 'ajax',
|
|
'action' => 'inmobiliarias',
|
|
],
|
|
[
|
|
'id' => 36,
|
|
'controller' => 'ajax',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 37,
|
|
'controller' => 'auth',
|
|
'action' => 'login',
|
|
],
|
|
[
|
|
'id' => 38,
|
|
'controller' => 'auth',
|
|
'action' => 'do_login',
|
|
],
|
|
[
|
|
'id' => 39,
|
|
'controller' => 'auth',
|
|
'action' => 'logout',
|
|
],
|
|
[
|
|
'id' => 40,
|
|
'controller' => 'auth',
|
|
'action' => 'change_pass',
|
|
],
|
|
[
|
|
'id' => 41,
|
|
'controller' => 'auth',
|
|
'action' => 'do_change_pass',
|
|
],
|
|
[
|
|
'id' => 42,
|
|
'controller' => 'auth',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 43,
|
|
'controller' => 'buscar',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 44,
|
|
'controller' => 'buscar',
|
|
'action' => 'ajax',
|
|
],
|
|
[
|
|
'id' => 45,
|
|
'controller' => 'buscar',
|
|
'action' => 'getResults',
|
|
],
|
|
[
|
|
'id' => 46,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscar',
|
|
],
|
|
[
|
|
'id' => 47,
|
|
'controller' => 'buscar',
|
|
'action' => 'prepareQuery',
|
|
],
|
|
[
|
|
'id' => 48,
|
|
'controller' => 'buscar',
|
|
'action' => 'removeDuplicates',
|
|
],
|
|
[
|
|
'id' => 49,
|
|
'controller' => 'buscar',
|
|
'action' => 'sort',
|
|
],
|
|
[
|
|
'id' => 50,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarCualquiera',
|
|
],
|
|
[
|
|
'id' => 51,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarDepartamento',
|
|
],
|
|
[
|
|
'id' => 52,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarEstacionamiento',
|
|
],
|
|
[
|
|
'id' => 53,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarBodega',
|
|
],
|
|
[
|
|
'id' => 54,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPropietario',
|
|
],
|
|
[
|
|
'id' => 55,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPropietarioNombres',
|
|
],
|
|
[
|
|
'id' => 56,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPropietarioApellido',
|
|
],
|
|
[
|
|
'id' => 57,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPropietarioNombreCompleto',
|
|
],
|
|
[
|
|
'id' => 58,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPrecioVenta',
|
|
],
|
|
[
|
|
'id' => 59,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarProyecto',
|
|
],
|
|
[
|
|
'id' => 60,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarPago',
|
|
],
|
|
[
|
|
'id' => 61,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarValorCuota',
|
|
],
|
|
[
|
|
'id' => 62,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarReajuste',
|
|
],
|
|
[
|
|
'id' => 63,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarEscritura',
|
|
],
|
|
[
|
|
'id' => 64,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarSubsidio',
|
|
],
|
|
[
|
|
'id' => 65,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarCredito',
|
|
],
|
|
[
|
|
'id' => 66,
|
|
'controller' => 'buscar',
|
|
'action' => 'buscarUnidad',
|
|
],
|
|
[
|
|
'id' => 67,
|
|
'controller' => 'cierres',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 68,
|
|
'controller' => 'cierres',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 69,
|
|
'controller' => 'cierres',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 70,
|
|
'controller' => 'cierres',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 71,
|
|
'controller' => 'cierres',
|
|
'action' => 'rechazar',
|
|
],
|
|
[
|
|
'id' => 72,
|
|
'controller' => 'cierres',
|
|
'action' => 'abandonar',
|
|
],
|
|
[
|
|
'id' => 73,
|
|
'controller' => 'cierres',
|
|
'action' => 'borrador',
|
|
],
|
|
[
|
|
'id' => 74,
|
|
'controller' => 'cierres',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 75,
|
|
'controller' => 'creditos',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 76,
|
|
'controller' => 'creditos',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 77,
|
|
'controller' => 'creditos',
|
|
'action' => 'agregado',
|
|
],
|
|
[
|
|
'id' => 78,
|
|
'controller' => 'creditos',
|
|
'action' => 'pagar',
|
|
],
|
|
[
|
|
'id' => 79,
|
|
'controller' => 'creditos',
|
|
'action' => 'pagando',
|
|
],
|
|
[
|
|
'id' => 80,
|
|
'controller' => 'creditos',
|
|
'action' => 'abonar',
|
|
],
|
|
[
|
|
'id' => 81,
|
|
'controller' => 'creditos',
|
|
'action' => 'abonando',
|
|
],
|
|
[
|
|
'id' => 82,
|
|
'controller' => 'creditos',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 83,
|
|
'controller' => 'creditos',
|
|
'action' => 'editado',
|
|
],
|
|
[
|
|
'id' => 84,
|
|
'controller' => 'creditos',
|
|
'action' => 'remove',
|
|
],
|
|
[
|
|
'id' => 85,
|
|
'controller' => 'creditos',
|
|
'action' => 'pendientes',
|
|
],
|
|
[
|
|
'id' => 86,
|
|
'controller' => 'creditos',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 87,
|
|
'controller' => 'cuotas',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 88,
|
|
'controller' => 'cuotas',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 89,
|
|
'controller' => 'cuotas',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 90,
|
|
'controller' => 'cuotas',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 91,
|
|
'controller' => 'cuotas',
|
|
'action' => 'edited',
|
|
],
|
|
[
|
|
'id' => 92,
|
|
'controller' => 'cuotas',
|
|
'action' => 'pendientes',
|
|
],
|
|
[
|
|
'id' => 93,
|
|
'controller' => 'cuotas',
|
|
'action' => 'depositar',
|
|
],
|
|
[
|
|
'id' => 94,
|
|
'controller' => 'cuotas',
|
|
'action' => 'remove',
|
|
],
|
|
[
|
|
'id' => 95,
|
|
'controller' => 'cuotas',
|
|
'action' => 'para_abonar',
|
|
],
|
|
[
|
|
'id' => 96,
|
|
'controller' => 'cuotas',
|
|
'action' => 'abonar',
|
|
],
|
|
[
|
|
'id' => 97,
|
|
'controller' => 'cuotas',
|
|
'action' => 'rebotar',
|
|
],
|
|
[
|
|
'id' => 98,
|
|
'controller' => 'cuotas',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 99,
|
|
'controller' => 'cuotas',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 100,
|
|
'controller' => 'cuotas',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 101,
|
|
'controller' => 'devoluciones',
|
|
'action' => 'liquidacion',
|
|
],
|
|
[
|
|
'id' => 102,
|
|
'controller' => 'devoluciones',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 103,
|
|
'controller' => 'escrituras',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 104,
|
|
'controller' => 'escrituras',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 105,
|
|
'controller' => 'escrituras',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 106,
|
|
'controller' => 'escrituras',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 107,
|
|
'controller' => 'escrituras',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 108,
|
|
'controller' => 'escrituras',
|
|
'action' => 'informe',
|
|
],
|
|
[
|
|
'id' => 109,
|
|
'controller' => 'escrituras',
|
|
'action' => 'pagar',
|
|
],
|
|
[
|
|
'id' => 110,
|
|
'controller' => 'escrituras',
|
|
'action' => 'pagado',
|
|
],
|
|
[
|
|
'id' => 111,
|
|
'controller' => 'escrituras',
|
|
'action' => 'abonar',
|
|
],
|
|
[
|
|
'id' => 112,
|
|
'controller' => 'escrituras',
|
|
'action' => 'abonado',
|
|
],
|
|
[
|
|
'id' => 113,
|
|
'controller' => 'escrituras',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 114,
|
|
'controller' => 'forma_pago',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 115,
|
|
'controller' => 'forma_pago',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 116,
|
|
'controller' => 'forma_pago',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 117,
|
|
'controller' => 'informes',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 118,
|
|
'controller' => 'informes',
|
|
'action' => 'gantt_entregas',
|
|
],
|
|
[
|
|
'id' => 119,
|
|
'controller' => 'informes',
|
|
'action' => 'escrituras',
|
|
],
|
|
[
|
|
'id' => 120,
|
|
'controller' => 'informes',
|
|
'action' => 'consolidacion',
|
|
],
|
|
[
|
|
'id' => 121,
|
|
'controller' => 'informes',
|
|
'action' => 'creditos_pendientes',
|
|
],
|
|
[
|
|
'id' => 122,
|
|
'controller' => 'informes',
|
|
'action' => 'ventas',
|
|
],
|
|
[
|
|
'id' => 123,
|
|
'controller' => 'informes',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 124,
|
|
'controller' => 'inmobiliarias',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 125,
|
|
'controller' => 'inmobiliarias',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 126,
|
|
'controller' => 'inmobiliarias',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 127,
|
|
'controller' => 'inmobiliarias',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 128,
|
|
'controller' => 'inmobiliarias',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 129,
|
|
'controller' => 'other',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 130,
|
|
'controller' => 'other',
|
|
'action' => 'entregar_multiple',
|
|
],
|
|
[
|
|
'id' => 131,
|
|
'controller' => 'other',
|
|
'action' => 'capacidades',
|
|
],
|
|
[
|
|
'id' => 132,
|
|
'controller' => 'other',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 133,
|
|
'controller' => 'pagos',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 134,
|
|
'controller' => 'pagos',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 135,
|
|
'controller' => 'pagos',
|
|
'action' => 'pendientes',
|
|
],
|
|
[
|
|
'id' => 136,
|
|
'controller' => 'pagos',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 137,
|
|
'controller' => 'pagos',
|
|
'action' => 'pagar',
|
|
],
|
|
[
|
|
'id' => 138,
|
|
'controller' => 'pagos',
|
|
'action' => 'pagando',
|
|
],
|
|
[
|
|
'id' => 139,
|
|
'controller' => 'pagos',
|
|
'action' => 'abonar',
|
|
],
|
|
[
|
|
'id' => 140,
|
|
'controller' => 'pagos',
|
|
'action' => 'abonando',
|
|
],
|
|
[
|
|
'id' => 141,
|
|
'controller' => 'pagos',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 142,
|
|
'controller' => 'pies',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 143,
|
|
'controller' => 'pies',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 144,
|
|
'controller' => 'pies',
|
|
'action' => 'listProyectos',
|
|
],
|
|
[
|
|
'id' => 145,
|
|
'controller' => 'pies',
|
|
'action' => 'resumen',
|
|
],
|
|
[
|
|
'id' => 146,
|
|
'controller' => 'pies',
|
|
'action' => 'reajustar',
|
|
],
|
|
[
|
|
'id' => 147,
|
|
'controller' => 'pies',
|
|
'action' => 'reajuste',
|
|
],
|
|
[
|
|
'id' => 148,
|
|
'controller' => 'pies',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 149,
|
|
'controller' => 'pies',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 150,
|
|
'controller' => 'pies',
|
|
'action' => 'asociar',
|
|
],
|
|
[
|
|
'id' => 151,
|
|
'controller' => 'pies',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 152,
|
|
'controller' => 'postventas',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 153,
|
|
'controller' => 'postventas',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 154,
|
|
'controller' => 'postventas',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 155,
|
|
'controller' => 'postventas',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 156,
|
|
'controller' => 'propietarios',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 157,
|
|
'controller' => 'propietarios',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 158,
|
|
'controller' => 'propietarios',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 159,
|
|
'controller' => 'proyectos',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 160,
|
|
'controller' => 'proyectos',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 161,
|
|
'controller' => 'proyectos',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 162,
|
|
'controller' => 'proyectos',
|
|
'action' => 'advance',
|
|
],
|
|
[
|
|
'id' => 163,
|
|
'controller' => 'proyectos',
|
|
'action' => 'avanzar',
|
|
],
|
|
[
|
|
'id' => 164,
|
|
'controller' => 'proyectos',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 165,
|
|
'controller' => 'proyectos',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 166,
|
|
'controller' => 'proyectos',
|
|
'action' => 'disponibles',
|
|
],
|
|
[
|
|
'id' => 167,
|
|
'controller' => 'proyectos',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 168,
|
|
'controller' => 'reajustes',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 169,
|
|
'controller' => 'reajustes',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 170,
|
|
'controller' => 'reajustes',
|
|
'action' => 'pagar',
|
|
],
|
|
[
|
|
'id' => 171,
|
|
'controller' => 'reajustes',
|
|
'action' => 'pagado',
|
|
],
|
|
[
|
|
'id' => 172,
|
|
'controller' => 'reajustes',
|
|
'action' => 'abonar',
|
|
],
|
|
[
|
|
'id' => 173,
|
|
'controller' => 'reajustes',
|
|
'action' => 'abonado',
|
|
],
|
|
[
|
|
'id' => 174,
|
|
'controller' => 'reajustes',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 175,
|
|
'controller' => 'temas',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 176,
|
|
'controller' => 'temas',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 177,
|
|
'controller' => 'temas',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 178,
|
|
'controller' => 'temas',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 179,
|
|
'controller' => 'temas',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 180,
|
|
'controller' => 'temas',
|
|
'action' => 'cerrar',
|
|
],
|
|
[
|
|
'id' => 181,
|
|
'controller' => 'temas',
|
|
'action' => 'abrir',
|
|
],
|
|
[
|
|
'id' => 182,
|
|
'controller' => 'temas',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 183,
|
|
'controller' => 'unidades',
|
|
'action' => 'add',
|
|
],
|
|
[
|
|
'id' => 184,
|
|
'controller' => 'unidades',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 185,
|
|
'controller' => 'unidades',
|
|
'action' => 'index',
|
|
],
|
|
[
|
|
'id' => 186,
|
|
'controller' => 'ventas',
|
|
'action' => 'setDefault',
|
|
],
|
|
[
|
|
'id' => 187,
|
|
'controller' => 'ventas',
|
|
'action' => 'list',
|
|
],
|
|
[
|
|
'id' => 188,
|
|
'controller' => 'ventas',
|
|
'action' => 'sort',
|
|
],
|
|
[
|
|
'id' => 189,
|
|
'controller' => 'ventas',
|
|
'action' => 'listProyectos',
|
|
],
|
|
[
|
|
'id' => 190,
|
|
'controller' => 'ventas',
|
|
'action' => 'show',
|
|
],
|
|
[
|
|
'id' => 191,
|
|
'controller' => 'ventas',
|
|
'action' => 'new',
|
|
],
|
|
[
|
|
'id' => 192,
|
|
'controller' => 'ventas',
|
|
'action' => 'agregar',
|
|
],
|
|
[
|
|
'id' => 193,
|
|
'controller' => 'ventas',
|
|
'action' => 'edit',
|
|
],
|
|
[
|
|
'id' => 194,
|
|
'controller' => 'ventas',
|
|
'action' => 'editar',
|
|
],
|
|
[
|
|
'id' => 195,
|
|
'controller' => 'ventas',
|
|
'action' => 'desistir',
|
|
],
|
|
[
|
|
'id' => 196,
|
|
'controller' => 'ventas',
|
|
'action' => 'desistiendo',
|
|
],
|
|
[
|
|
'id' => 197,
|
|
'controller' => 'ventas',
|
|
'action' => 'entregar',
|
|
],
|
|
[
|
|
'id' => 198,
|
|
'controller' => 'ventas',
|
|
'action' => 'consolidacion',
|
|
],
|
|
[
|
|
'id' => 199,
|
|
'controller' => 'ventas',
|
|
'action' => 'devolucion',
|
|
],
|
|
[
|
|
'id' => 200,
|
|
'controller' => 'ventas',
|
|
'action' => 'devolver',
|
|
],
|
|
[
|
|
'id' => 201,
|
|
'controller' => 'ventas',
|
|
'action' => 'resciliaciones',
|
|
],
|
|
[
|
|
'id' => 202,
|
|
'controller' => 'ventas',
|
|
'action' => 'index',
|
|
],
|
|
];
|
|
|
|
$this->execute('SET unique_checks=0; SET foreign_key_checks=0;');
|
|
$this->table('locations')
|
|
->insert($data)
|
|
->saveData();
|
|
$this->execute('SET unique_checks=1; SET foreign_key_checks=1;');
|
|
}
|
|
}
|