Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 20 | Rev 4800 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 20 Rev 4799
Línea 6... Línea 6...
6
 
6
 
7
$routeAdd       = $this->url('settings/company-sizes/add');
7
$routeAdd       = $this->url('settings/company-sizes/add');
8
$routeDatatable = $this->url('settings/company-sizes');
8
$routeDatatable = $this->url('settings/company-sizes');
Línea -... Línea 9...
-
 
9
$routeDashboard = $this->url('dashboard');
-
 
10
 
-
 
11
$jsonRoutAdde= json_encode($routeAdd);      
-
 
12
$jsonRouteTable= json_encode($routeDatatable);
9
$routeDashboard = $this->url('dashboard');
13
$jsonRouteDashboard= json_decode($routeDashboard);
10
 
14
 
11
$allowAdd               = $acl->isAllowed($roleName, 'settings/company-sizes/add') ? 1 : 0;
15
$allowAdd               = $acl->isAllowed($roleName, 'settings/company-sizes/add') ? 1 : 0;
Línea 45... Línea 49...
45
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
49
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
46
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
50
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
Línea 47... Línea 51...
47
 
51
 
48
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
52
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
-
 
53
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-checkbox/awesome-bootstrap-checkbox.css'));
Línea 49... Línea 54...
49
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-checkbox/awesome-bootstrap-checkbox.css'));
54
$this->inlineScript()->appendFile('/react-bundles/settings/company-sizes/companySizesBundle.js');
Línea 50... Línea 55...
50
 
55
 
51
$status_active = \LeadersLinked\Model\CompanySize::STATUS_ACTIVE;
56
$status_active = \LeadersLinked\Model\CompanySize::STATUS_ACTIVE;
Línea 96... Línea 101...
96
                    error.insertAfter(field.parent());
101
                    error.insertAfter(field.parent());
97
                }
102
                }
98
            }
103
            }
99
        };
104
        };
Línea 100... Línea -...
100
 
-
 
101
 
-
 
102
 
-
 
103
 
105
 
104
        var allowEdit   = $allowEdit;
106
        var allowEdit   = $allowEdit;
Línea 105... Línea 107...
105
        var allowDelete = $allowDelete;
107
        var allowDelete = $allowDelete;
106
        
108
        
Línea 366... Línea 368...
366
        $('#form #status').bootstrapToggle({'on' : 'LABEL_ACTIVE',  'off' : 'LABEL_INACTIVE', 'width' : '160px', 'height' : '40px'});
368
        $('#form #status').bootstrapToggle({'on' : 'LABEL_ACTIVE',  'off' : 'LABEL_INACTIVE', 'width' : '160px', 'height' : '40px'});
Línea 367... Línea 369...
367
 
369
 
368
        $('#form #minimum_no_of_employee').inputNumberFormat({decimal : 0});
370
        $('#form #minimum_no_of_employee').inputNumberFormat({decimal : 0});
369
        $('#form #maximum_no_of_employee').inputNumberFormat({decimal : 0});
371
        $('#form #maximum_no_of_employee').inputNumberFormat({decimal : 0});
-
 
372
    });
-
 
373
 
-
 
374
    const backendVars = {
-
 
375
        routeAdd: JSON.parse('$jsonRoutAdde'),
-
 
376
        routeTable: JSON.parse('$jsonRouteTable'),
-
 
377
        routeDashboard: JSON.parse('$jsonRouteDashboard'),
370
    });
378
   }
371
JS;
379
JS;
372
$this->inlineScript()->captureEnd();
380
$this->inlineScript()->captureEnd();
Línea 373... Línea 381...
373
?>
381
?>
Línea 382... Línea 390...
382
		</div>
390
		</div>
383
	</div><!-- /.container-fluid -->
391
	</div><!-- /.container-fluid -->
384
</section>
392
</section>
Línea 385... Línea 393...
385
 
393
 
-
 
394
<section class="content">
386
<section class="content">
395
   <div id="company-sizes"></div>
387
	<div class="container-fluid">
396
	<div class="container-fluid">
388
    	<div class="row">
397
    	<div class="row">
389
        	<div class="col-12">
398
        	<div class="col-12">
390
				<div class="card">                    
399
				<div class="card">