Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 20 Rev 15457
Línea 602... Línea 602...
602
                'step' : 'process',
602
                'step' : 'process',
603
                'key' : $('#table-upload-customers-key').val(),   
603
                'key' : $('#table-upload-customers-key').val(),   
604
            }
604
            }
605
        }).done(function(response) {
605
        }).done(function(response) {
606
            if(response['success']) {
606
            if(response['success']) {
-
 
607
 
607
                if(response['data']['users_assigned'] == 1) {
608
                var s = response['data']['users_processed'] + ' LABEL_USTUDENTS_PROCESED <br>' + 
608
                    $.fn.showSuccess(response['data']['users_assigned'] + ' LABEL_CUSTOMER_ASSIGNED');
609
                response['data']['users_assigned'] + ' LABEL_STUDENTS_ASSIGNED <br>' + 
609
                } else {
610
                response['data']['users_previous'] + ' LABEL_USTUDENTS_PREVIOUS <br>' + 
610
                    $.fn.showSuccess(response['data']['users_assigned'] + ' LABEL_CUSTOMERS_ASSIGNED');
611
                response['data']['users_in_the_capsule'] + ' LABEL_STUDENTS_TOTAL';
-
 
612
                
611
                }    
613
                $.fn.showSuccess(s);
-
 
614
                  
612
                 gridTable.api().ajax.reload(null, false);
615
                 gridTable.api().ajax.reload(null, false);
613
                $('#modalUploadCustomers').modal('hide');
616
                $('#modalUploadCustomers').modal('hide');
614
            } else {
617
            } else {
615
                $.fn.showError(response['data']);
618
                $.fn.showError(response['data']);
616
            }
619
            }
Línea 863... Línea 866...
863
      				<div class="form-group">
866
      				<div class="form-group">
864
      					<label>LABEL_CAPSULE</label>
867
      					<label>LABEL_CAPSULE</label>
865
      					<input type="text" readonly="readonly" id="table-upload-customers-capsule" class="form-control" >
868
      					<input type="text" readonly="readonly" id="table-upload-customers-capsule" class="form-control" >
866
      				</div>
869
      				</div>
867
      			</form>
870
      			</form>
-
 
871
      			
-
 
872
      			
-
 
873
      			
868
      			<div style="height: 300px;overflow: scroll;"> 
874
      			<div style="height: 300px;overflow: scroll;"> 
869
				<table id="gridTableUploadCustomers" style="width: 100%" class="table table-bordered table-hover">
875
    				<table id="gridTableUploadCustomers" style="width: 100%" class="table table-bordered table-hover">
870
            		<thead>
876
                		<thead>
871
            			<tr>
877
                			<tr>
872
                      		<th>LABEL_FIRST_NAME</th>
878
                          		<th>LABEL_FIRST_NAME</th>
873
                     		<th>LABEL_LAST_NAME</th>
879
                         		<th>LABEL_LAST_NAME</th>
874
                         	<th>LABEL_EMAIL</th>
880
                             	<th>LABEL_EMAIL</th>
875
                       		<th>LABEL_CAPSULES</th>	
881
                           		<th>LABEL_CAPSULES</th>	
876
             			</tr>
882
                 			</tr>
877
                  	</thead>
883
                      	</thead>
878
               		<tbody>
884
                   		<tbody>
879
               		</tbody>
885
                   		</tbody>
880
         		</table>
886
             		</table>
881
         		</div>
887
         		</div>
Línea 882... Línea 888...
882
       			
888
       			
Línea 883... Línea 889...
883
      		</div>
889
      		</div>