Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16840
Línea 274... Línea 274...
274
        });
274
        });
Línea 275... Línea 275...
275
        
275
        
276
        $('body').on('click', 'button.btn-add', function(e) {
276
        $('body').on('click', 'button.btn-add', function(e) {
Línea 277... Línea -...
277
            e.preventDefault();
-
 
-
 
277
            e.preventDefault();
278
 
278
 
279
            $('span[id="form-title"]').html('LABEL_ADD');
279
            
280
            $('#form').attr('action', '$routeAdd');
280
            $('#form').attr('action', '$routeAdd');
281
            $('#form #name').val('');
281
            $('#form #name').val('');
282
            $('#form #minimum_no_of_employee').val('');
282
            $('#form #minimum_no_of_employee').val('');
Línea 299... Línea 299...
299
                'method'    : 'get',
299
                'method'    : 'get',
300
                'url'       :  action,
300
                'url'       :  action,
301
            }).done(function(response) {
301
            }).done(function(response) {
302
                if(response['success']) {
302
                if(response['success']) {
Línea 303... Línea -...
303
 
-
 
-
 
303
 
304
                    $('span[id="form-title"]').html('LABEL_EDIT');
304
                    
305
                    $('#form').attr('action', action);
305
                    $('#form').attr('action', action);
306
                    $('#form #name').val(response['data']['name']);
306
                    $('#form #name').val(response['data']['name']);
307
                    $('#form #minimum_no_of_employee').val(response['data']['minimum_no_of_employee']);
307
                    $('#form #minimum_no_of_employee').val(response['data']['minimum_no_of_employee']);
308
                    $('#form #maximum_no_of_employee').val(response['data']['maximum_no_of_employee']);
308
                    $('#form #maximum_no_of_employee').val(response['data']['maximum_no_of_employee']);
Línea 421... Línea 421...
421
	<div class="modal-dialog  modal-xl">
421
	<div class="modal-dialog  modal-xl">
422
    	<div class="modal-content">
422
    	<div class="modal-content">
Línea 423... Línea 423...
423
 
423
 
424
            <!-- Modal Header -->
424
            <!-- Modal Header -->
425
      		<div class="modal-header">
425
      		<div class="modal-header">
426
        		<h4 class="modal-title">LABEL_COMPANY_SIZES - <span id="form-title"></span></h4>
426
        		<h4 class="modal-title">LABEL_COMPANY_SIZES</h4>
427
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
427
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
Línea 428... Línea 428...
428
      		</div>
428
      		</div>
429
 
429