Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16845 Rev 16864
Línea 24... Línea 24...
24
 
24
 
25
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
25
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
26
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
26
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
Línea -... Línea 27...
-
 
27
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
27
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
28
 
-
 
29
 
Línea 28... Línea 30...
28
 
30
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
29
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
31
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
-
 
32
 
-
 
33
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
-
 
34
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.js'));
Línea 30... Línea 35...
30
 
35
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/dataTables.responsive.min.js'));
31
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
36
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.min.js'));
Línea 331... Línea 336...
331
            'drawCallback': function( settings ) {
336
            'drawCallback': function( settings ) {
332
                NProgress.done();
337
                NProgress.done();
Línea 333... Línea 338...
333
              
338
              
334
            },
339
            },
335
            'aoColumns': [
-
 
336
                { 'mDataProp': 'first_name' },
-
 
337
                { 'mDataProp': 'last_name' },
340
            'aoColumns': [
338
                { 'mDataProp': 'corporate_email' },
341
                { 'mDataProp': 'corporate_email' },
339
                { 'mDataProp': 'company' },
342
                { 'mDataProp': 'company' },
340
                { 'mDataProp': 'country' },
343
                { 'mDataProp': 'country' },
341
                { 'mDataProp': 'sector' },
344
                { 'mDataProp': 'sector' },
Línea 354... Línea 357...
354
                        }
357
                        }
355
                        if(allowDelete && data['link_delete']) {
358
                        if(allowDelete && data['link_delete']) {
356
                            s = s + '<button class="btn btn-danger btn-delete" data-href="' + data['link_delete']+ '" data-toggle="tooltip" title="LABEL_DELETE"><i class="fa fa-trash"></i> LABEL_DELETE </button>&nbsp;';
359
                            s = s + '<button class="btn btn-danger btn-delete" data-href="' + data['link_delete']+ '" data-toggle="tooltip" title="LABEL_DELETE"><i class="fa fa-trash"></i> LABEL_DELETE </button>&nbsp;';
357
                        }
360
                        }
358
                        if(allowView && data['link_view']) {
361
                        if(allowView && data['link_view']) {
359
                            s = s + '<button class="btn btn-default btn-view" data-href="' + data['link_view']+ '" data-toggle="tooltip" title="LABEL_VIEW"><i class="fa fa-external-link"></i> LABEL_VIEW </button>&nbsp;';
362
                            s = s + '<button class="btn btn-secondary btn-view" data-href="' + data['link_view']+ '" data-toggle="tooltip" title="LABEL_VIEW"><i class="fa fa-external-link"></i> LABEL_VIEW </button>&nbsp;';
360
                        }
363
                        }
361
                        return s;
364
                        return s;
362
                    }
365
                    }
363
                }
366
                }
364
              ],
367
              ],
Línea 993... Línea 996...
993
    });
996
    });
994
JS;
997
JS;
995
$this->inlineScript()->captureEnd();
998
$this->inlineScript()->captureEnd();
996
?>
999
?>
Línea 997... Línea -...
997
 
-
 
998
 
-
 
999
 
-
 
1000
 
1000
 
1001
<section class="content" id="listing-row">
1001
<div class="container">
1002
    <div class="container-fluid">
1002
	<div class="card" id="listing-row">
1003
        <div class="row">
1003
	 	<div class="card-header">
1004
            <div class="col-12">
1004
	 		<h6 class="card-title">LABEL_CONTACTS</h6>
1005
                <div class="card">
1005
	 	</div>
1006
                    <div class="card-header">
-
 
1007
                        <h2>LABEL_CONTACTS</h2>
1006
	 	<div class="card-body">
1008
                    </div>
1007
	 		<div class="row">
-
 
1008
	 	         <div class="col-12 mt-3">
1009
                    <div class="card-body">
1009
	 	         
1010
                        <table id="gridTable" class="table table-striped table-bordered">
1010
	 	          <table id="gridTable" class="table table-striped table-bordered">
1011
                            <thead>
1011
                            <thead>
1012
                                <tr>
-
 
1013
                                    <th>LABEL_FIRST_NAME</th>
-
 
1014
                                    <th>LABEL_LAST_NAME</th>
1012
                                <tr>
1015
                                    <th>LABEL_CORPORATE_EMAIL</th>
1013
                                    <th>LABEL_CORPORATE_EMAIL</th>
1016
                                    <th>LABEL_COMPANY</th>
1014
                                    <th>LABEL_COMPANY</th>
1017
                                    <th>LABEL_COUNTRY</th>
1015
                                    <th>LABEL_COUNTRY</th>
1018
                                    <th>LABEL_SECTOR</th>
1016
                                    <th>LABEL_SECTOR</th>
Línea 1021... Línea 1019...
1021
                                </tr>
1019
                                </tr>
1022
                            </thead>
1020
                            </thead>
1023
                            <tbody>
1021
                            <tbody>
1024
                            </tbody>
1022
                            </tbody>
1025
                        </table>
1023
                        </table>
Línea 1235... Línea -...
1235
 
-
 
1236
                                    echo $this->formText($element);
-
 
1237
                                    ?>
-
 
1238
                                </div>
-
 
1239
                            </div>
-
 
1240
                            <div class="col-sm-6">
-
 
1241
                                <div class="form-group">
-
 
1242
                                    <?php
-
 
1243
                                    $label = 'LABEL_PERSONAL_EMAIL';
-
 
Línea -... Línea 1113...
-
 
1113
 
-
 
1114
 
-
 
1115
                    $element = $form->get($field);
-
 
1116
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1117
                    $element->setOptions(['label' => $label]);
-
 
1118
                    echo $this->formLabel($element);
-
 
1119
                    echo $this->formText($element);
-
 
1120
                    ?>
-
 
1121
           		</div>
-
 
1122
          		<div class="col-6 mt-3">
-
 
1123
            		<?php
-
 
1124
                    $label = 'LABEL_SECTOR';
-
 
1125
                    $field = 'sector';
-
 
1126
 
-
 
1127
                    $element = $form->get($field);
-
 
1128
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1129
                    $element->setOptions(['label' => $label]);
-
 
1130
                    echo $this->formLabel($element);
-
 
1131
                    echo '<br>';
-
 
1132
                    echo $this->formText($element);
-
 
1133
                    ?>
-
 
1134
           		</div>
-
 
1135
       		</div>
-
 
1136
			<div class="row">
-
 
1137
              	<div class="col-sm-6 mt-3">
-
 
1138
       				<?php
-
 
1139
                    $label = 'LABEL_COUNTRY';
-
 
1140
                    $field = 'country';
-
 
1141
                    $element = $form->get($field);
-
 
1142
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1143
                    $element->setOptions(['label' => $label]);
-
 
1144
                    echo $this->formLabel($element);
-
 
1145
                    echo $this->formText($element);
-
 
1146
                    ?>
-
 
1147
           		</div>
-
 
1148
                <div class="col-sm-6 mt-3">
-
 
1149
             		<?php
Línea -... Línea 1150...
-
 
1150
                    $label = 'LABEL_STATE';
-
 
1151
                    $field = 'state';
-
 
1152
 
-
 
1153
 
-
 
1154
                    $element = $form->get($field);
-
 
1155
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1156
                    $element->setOptions(['label' => $label]);
-
 
1157
                    echo $this->formLabel($element);
-
 
1158
                    echo $this->formText($element);
-
 
1159
                    ?>
-
 
1160
              	</div>
-
 
1161
        	</div>
-
 
1162
			<div class="row">
-
 
1163
               	<div class="col-sm-6 mt-3">
-
 
1164
                 	 <?php
-
 
1165
                    $label = 'LABEL_CITY';
-
 
1166
                    $field = 'city';
-
 
1167
 
-
 
1168
                    $element = $form->get($field);
-
 
1169
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1170
                    $element->setOptions(['label' => $label]);
-
 
1171
                    echo $this->formLabel($element);
-
 
1172
                    echo $this->formText($element);
-
 
1173
                    ?>
-
 
1174
           		</div>
-
 
1175
       			<div class="col-sm-6 mt-3">
-
 
1176
                	<?php
-
 
1177
                    $label = 'LABEL_PHONE';
-
 
1178
                    $field = 'phone';
-
 
1179
 
-
 
1180
                    $element = $form->get($field);
-
 
1181
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1182
                    $element->setOptions(['label' => $label]);
-
 
1183
                    echo $this->formLabel($element);
-
 
1184
                    echo '<br>';
-
 
1185
                    echo $this->formText($element);
-
 
1186
                    ?>
-
 
1187
            	</div>
-
 
1188
            </div>
-
 
1189
     		<div class="row">
Línea 1244... Línea -...
1244
                                    $field = 'personal_email';
-
 
1245
 
-
 
1246
 
-
 
1247
 
-
 
1248
 
-
 
1249
                                    $element = $form->get($field);
-
 
1250
                                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1251
                                    $element->setOptions(['label' => $label]);
-
 
1252
                                    echo $this->formLabel($element);
-
 
1253
                                    echo $this->formText($element);
-
 
1254
                                    ?>
-
 
1255
                                </div>
-
 
1256
                            </div>
-
 
1257
                        </div>
-
 
1258
                        <div class="row">
-
 
1259
                            <div class="col-sm-6">
-
 
1260
                                <div class="form-group">
-
 
1261
                                    <?php
-
 
1262
                                    $label = 'LABEL_CELULAR';
-
 
1263
                                    $field = 'celular';
-
 
1264
 
-
 
1265
                                    $element = $form->get($field);
-
 
1266
                                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1267
                                    $element->setOptions(['label' => $label]);
-
 
1268
                                    echo $this->formLabel($element);
-
 
1269
                                    echo '<br>';
-
 
1270
                                    echo $this->formText($element);
-
 
1271
                                    ?>
-
 
1272
                                </div>
-
 
1273
                            </div>
-
 
1274
                            <div class="col-sm-6">
-
 
1275
                                <div class="form-group">
-
 
1276
                                    <?php
-
 
1277
                                    $label = 'LABEL_WHATSAPP';
-
 
1278
                                    $field = 'whatsapp';
-
 
1279
 
-
 
1280
                                    $element = $form->get($field);
-
 
1281
                                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1282
                                    $element->setOptions(['label' => $label]);
-
 
1283
                                    echo $this->formLabel($element);
-
 
1284
                                    echo '<br>';
-
 
1285
                                    echo $this->formText($element);
-
 
1286
                                    ?>
-
 
1287
                                </div>
-
 
1288
                            </div>
-
 
1289
                        </div>
-
 
1290
                        <div class="row">
-
 
1291
                            <div class="col-sm-6">
-
 
1292
                                <div class="form-group">
-
 
1293
                                    <?php
-
 
1294
                                    $label = 'LABEL_LINKEDIN';
-
 
1295
                                    $field = 'linkedin';
-
 
1296
 
-
 
1297
                                    $element = $form->get($field);
-
 
1298
                                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1299
                                    $element->setOptions(['label' => $label]);
-
 
1300
                                    echo $this->formLabel($element);
-
 
1301
                                    echo $this->formText($element);
-
 
1302
                                    ?>
-
 
1303
                                </div>
-
 
1304
                            </div>
-
 
1305
                           	<div class="col-sm-6">
-
 
1306
                                <div class="form-group">
-
 
1307
                                    <?php
-
 
1308
                                    $label = 'LABEL_SCHOLARSHIP';
-
 
1309
                                    $field = 'scholarship';
-
 
1310
 
-
 
1311
                                    $element = $form->get($field);
-
 
1312
                                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1313
                                    $element->setOptions(['label' => $label]);
-
 
1314
                                    echo $this->formLabel($element);
-
 
1315
                                    echo $this->formSelect($element);
-
 
1316
                                    ?>
-
 
1317
                                </div>
-
 
1318
                            </div>
-
 
Línea 1319... Línea -...
1319
                        </div>
-
 
1320
                        
-
 
1321
                        
1190
        		 <div class="col-sm-6 mt-3">
1322
                        
1191
                 	<?php
1323
                        
-
 
1324
 
-
 
1325
                    </div>
-
 
1326
                    <div class="card-footer clearfix">
1192
                    $label = 'LABEL_PHONE_EXTENSION';
1327
                        <div style="float:right;">
-
 
1328
                            <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1329
                            <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
1330
                        </div>
-
 
1331
                    </div>
-
 
Línea -... Línea 1193...
-
 
1193
                    $field = 'phone_extension';
-
 
1194
 
-
 
1195
 
-
 
1196
                    $element = $form->get($field);
-
 
1197
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1198
                    $element->setOptions(['label' => $label]);
-
 
1199
 
-
 
1200
                    echo $this->formLabel($element);
-
 
1201
                    echo $this->formText($element);
Línea -... Línea 1202...
-
 
1202
                    ?>
-
 
1203
           		</div>
1332
                    <?php echo $this->form()->closeTag($form); ?>
1204
        
-
 
1205
        		<div class="col-sm-6 mt-3">
-
 
1206
                	<?php
-
 
1207
                    $label = 'LABEL_PERSONAL_EMAIL';
1333
                </div>
1208
                    $field = 'personal_email';
-
 
1209
 
1334
            </div>
1210
 
1335
        </div>
1211
                    $element = $form->get($field);
-
 
1212
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1213
                    $element->setOptions(['label' => $label]);
-
 
1214
                    echo $this->formLabel($element);
-
 
1215
                    echo $this->formText($element);
-
 
1216
                    ?>
-
 
1217
              	</div>
-
 
1218
     		</div>
-
 
1219
          	<div class="row">
1336
    </div>
1220
            	<div class="col-sm-6">
-
 
1221
              		<?php
-
 
1222
                    $label = 'LABEL_CELULAR';
1337
</section>
1223
                    $field = 'celular';
-
 
1224
 
-
 
1225
                    $element = $form->get($field);
-
 
1226
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1227
                    $element->setOptions(['label' => $label]);
-
 
1228
                    echo $this->formLabel($element);
-
 
1229
                    echo '<br/>';
-
 
1230
                    echo $this->formText($element);
-
 
1231
                    ?>
-
 
1232
            	</div>
-
 
1233
                <div class="col-sm-6 mt-3">
-
 
1234
               		<?php
-
 
1235
                    $label = 'LABEL_WHATSAPP';
-
 
1236
                    $field = 'whatsapp';
1338
 
1237
 
1339
 
1238
                    $element = $form->get($field);
1340
 
1239
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1240
                    $element->setOptions(['label' => $label]);
-
 
1241
                    echo $this->formLabel($element);
-
 
1242
                    echo '<br/>';
-
 
1243
                    echo $this->formText($element);
-
 
1244
                    ?>
-
 
1245
             	</div>
1341
<section class="content" id="interactions-row" style="display: none">
1246
        	</div>
-
 
1247
     		<div class="row">
-
 
1248
      			<div class="col-sm-6 mt-3">
-
 
1249
            		<?php
-
 
1250
                    $label = 'LABEL_LINKEDIN';
1342
    <div class="container-fluid">
1251
                    $field = 'linkedin';
-
 
1252
 
-
 
1253
                    $element = $form->get($field);
-
 
1254
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1255
                    $element->setOptions(['label' => $label]);
-
 
1256
                    echo $this->formLabel($element);
-
 
1257
                    echo $this->formText($element);
-
 
1258
                    ?>
-
 
1259
               	 </div>
-
 
1260
                 <div class="col-sm-6 mt-3">
-
 
1261
              		<?php
-
 
1262
                    $label = 'LABEL_SCHOLARSHIP';
-
 
1263
                    $field = 'scholarship';
Línea -... Línea 1264...
-
 
1264
 
-
 
1265
                    $element = $form->get($field);
-
 
1266
                    $element->setAttributes(['id' => $field, 'class' => 'form-control']);
-
 
1267
                    $element->setOptions(['label' => $label]);
-
 
1268
                    echo $this->formLabel($element);
-
 
1269
                    echo $this->formSelect($element);
1343
        <div class="row">
1270
                    ?>
-
 
1271
            	</div>
-
 
1272
          	</div>
-
 
1273
 
-
 
1274
	 	</div>
-
 
1275
	 	<div class="card-footer text-right">
-
 
1276
 			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1277
       		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
1278
	 	</div>
-
 
1279
	 	
-
 
1280
	 	<?php echo $this->form()->closeTag($form); ?>
-
 
1281
	</div>
1344
            <div class="col-12">
1282
	
1345
                <h2>LABEL_CONTACT</h2>
1283
	
1346
            </div>
1284
	
1347
        </div>
1285
    	
1348
        <div class="row">
1286
	<div class="card"  id="interactions-row" style="display: none">
1349
            <div class="col-12">
1287
	 	<div class="card-header">
Línea 1371... Línea 1309...
1371
 
1309
 
1372
 
1310
 
Línea -... Línea 1311...
-
 
1311
                            ];
1373
                            ];
1312
                            foreach ($fields as $label => $field) :
-
 
1313
 
-
 
1314
                            if(0 == $col): 
Línea 1374... Línea 1315...
1374
                            foreach ($fields as $label => $field) :
1315
                            ?>
1375
 
1316
                            <div class="row">
1376
                            ?>
1317
                            <?php endif; $col++; ?>
1377
 
1318
 
1378
                                <div class="col-sm-6">
1319
                                <div class="col-sm-6 mt-3">
1379
                                    <div class="form-group">
1320
                                    <div class="form-group">
Línea 1380... Línea 1321...
1380
                                        <label for="<?php echo $field ?>"><?php echo $label ?></label>
1321
                                        <label for="<?php echo $field ?>"><?php echo $label ?></label>
1381
                                        <input type="text" id="<?php echo $field ?>" class="form-control" value="" readonly="readonly" />
1322
                                        <input type="text" id="<?php echo $field ?>" class="form-control" value="" readonly="readonly" />
1382
                                    </div>
1323
                                    </div>
-
 
1324
                                </div>
-
 
1325
 
1383
                                </div>
1326
                            <?php if($col == 2) : ?>
1384
 
1327
                            
1385
                            <?php endforeach; ?>
1328
                            </div>
1386
 
1329
                            <?php $col = 0; endif; ?>
1387
                        </div>
1330
                            <?php  endforeach; ?>
1388
 
1331
	 	
1389
                        <ul class="nav nav-tabs border-bottom-0" id="custom-tabs-three-tab" role="tablist">
1332
	 		<div class="row">
1390
                            <li class="nav-item">
1333
	 	         <div class="col-12 mt-3">
1391
                                <a class="nav-link px-2 active" id="discovery-contacts-tabs-interactions-tab" data-toggle="pill" href="#discovery-contacts-tabs-interactions" role="tab" aria-controls="discovery-contacts-tabs-interactions" aria-selected="false">LABEL_INTERACTIONS</a>
1334
	 	         
-
 
1335
    	 	         <ul class="nav nav-tabs" id="myTab" role="tablist">
1392
                            </li>
1336
                      <li class="nav-item">
1393
                            <li class="nav-item">
1337
                        <a class="nav-link active" id="discovery-contacts-tabs-interactions-tab" data-bs-toggle="tab" href="#discovery-contacts-tabs-interactions" role="tab" aria-controls="discovery-contacts-tabs-interactions" aria-selected="true">LABEL_INTERACTIONS</a>
1394
                                <a class="nav-link px-2" id="discovery-contacts-tabs-logs-tab" data-toggle="pill" href="#discovery-contacts-tabs-logs" role="tab" aria-controls="discovery-contacts-tabs-logs" aria-selected="false">LABEL_LOGS</a>
1338
                      </li>
1395
                            </li>
1339
                      <li class="nav-item">
1396
                        </ul>
1340
                        <a class="nav-link" id="discovery-contacts-tabs-logs-tab" data-bs-toggle="tab" href="#discovery-contacts-tabs-logs" role="tab" aria-controls="discovery-contacts-tabs-logs" aria-selected="false">LABEL_LOGS</a>
-
 
1341
                      </li>
-
 
1342
 
1397
                    </div>
1343
                    </ul>
1398
 
1344
                    <div class="tab-content border border-top-0 p-3" id="myTabContent">
1399
                    <div class="card-body p-0">
1345
                      <div class="tab-pane fade show active" id="discovery-contacts-tabs-interactions" role="tabpanel" aria-labelledby="discovery-contacts-tabs-interactions-tab">
1400
                        <div class="tab-content" id="custom-tabs-three-tabContent">
1346
                      	<div class="row">
1401
                            <div class="tab-pane fade show active" id="discovery-contacts-tabs-interactions" role="tabpanel" aria-labelledby="discovery-contacts-tabs-interactions-tab">
1347
                      		<div class="col-12 mt-3">
1402
                                <table class="table table-striped table-bordered">
1348
                      		 	<table class="table table-striped table-bordered">
Línea 1410... Línea 1356...
1410
                                        </tr>
1356
                                        </tr>
1411
                                    </thead>
1357
                                    </thead>
1412
                                    <tbody id="grid-discovery-contacts-tabs-interactions">
1358
                                    <tbody id="grid-discovery-contacts-tabs-interactions">
1413
                                    </tbody>
1359
                                    </tbody>
1414
                                </table>
1360
                                </table>
-
 
1361
                      		
1415
                                <br>
1362
                      		</div>
-
 
1363
                      	</div>
-
 
1364
                     	<div class="row">
-
 
1365
                      		<div class="col-12 mt-3">
1416
                                <ul id="discovery-contacts-pagination-interactions" class="pagination pagination-sm m-0 float-right">
1366
                      			<ul id="discovery-contacts-pagination-interactions" class="pagination pagination-sm m-0 float-right">
Línea 1417... Línea 1367...
1417
 
1367
 
-
 
1368
                                </ul>
-
 
1369
                      		</div>
-
 
1370
                      	</div>
1418
                                </ul>
1371
                      </div>
1419
 
-
 
1420
 
-
 
-
 
1372
                      
1421
 
1373
                      <div class="tab-pane fade" id="discovery-contacts-tabs-logs" role="tabpanel" aria-labelledby="discovery-contacts-tabs-logs-tab">
1422
                            </div>
1374
                     	<div class="row">
1423
                            <div class="tab-pane fade" id="discovery-contacts-tabs-logs" role="tabpanel" aria-labelledby="discovery-contacts-tabs-logs-tab">
1375
                      		<div class="col-12 mt-3">
1424
                                <table class="table table-striped table-bordered">
1376
                      			<table class="table table-striped table-bordered">
1425
                                    <thead>
1377
                                    <thead>
1426
                                        <tr>
1378
                                        <tr>
1427
                                            <th>LABEL_FIRST_NAME</th>
1379
                                            <th>LABEL_FIRST_NAME</th>
1428
                                            <th>LABEL_LAST_NAME</th>
1380
                                            <th>LABEL_LAST_NAME</th>
Línea 1431... Línea 1383...
1431
                                        </tr>
1383
                                        </tr>
1432
                                    </thead>
1384
                                    </thead>
1433
                                    <tbody id="grid-discovery-contacts-tabs-logs">
1385
                                    <tbody id="grid-discovery-contacts-tabs-logs">
1434
                                    </tbody>
1386
                                    </tbody>
1435
                                </table>
1387
                                </table>
1436
                                <br>
1388
                          	</div>
-
 
1389
                      	</div>
-
 
1390
                     	<div class="row">
-
 
1391
                      		<div class="col-12 mt-3">
1437
                                <ul id="discovery-contacts-pagination-logs" class="pagination pagination-sm m-0 float-right">
1392
                                <ul id="discovery-contacts-pagination-logs" class="pagination pagination-sm m-0 float-right">
Línea 1438... Línea 1393...
1438
 
1393
 
1439
                                </ul>
-
 
1440
 
1394
                                </ul>
1441
                            </div>
1395
                      		</div>
-
 
1396
                      	</div>
-
 
1397
                      </div>
1442
                        </div>
1398
                     
-
 
1399
                    </div>
-
 
1400
	 	         
-
 
1401
	 	         </div>
-
 
1402
	 	     </div>
-
 
1403
	 	</div>
-
 
1404
	 	<div class="card-footer text-right">
-
 
1405
	 	     
-
 
1406
	 	</div>
-
 
1407
	</div>
-
 
1408
</div>
-
 
1409
 
-
 
1410
 
-
 
1411
 
Línea 1443... Línea -...
1443
                    </div>
-
 
1444
 
-
 
1445
 
-
 
1446
 
-
 
1447
                    <div class="card-footer clearfix">
-
 
1448
                        <div style="float:right;">
-
 
1449
                            <button type="button" class="btn btn-primary btn-close-view"><i class="fa fa-chevron-left"></i> LABEL_BACK </button>
-
 
1450
                            <?php if ($allowInteractionAdd) : ?>
-
 
1451
                                <button type="button" class="btn btn-primary btn-add-interaction"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
1452
                            <?php endif; ?>
-
 
1453
                        </div>
-
 
1454
                    </div>
-
 
1455
                </div>
-
 
Línea 1456... Línea 1412...
1456
            </div>
1412
 
1457
        </div>
1413
 
1458
    </div>
1414
 
1459
</section>
1415
 
Línea 1467... Línea 1423...
1467
            <div class="modal-header">
1423
            <div class="modal-header">
1468
                <h6 class="modal-title">LABEL_INTERACTION</h6>
1424
                <h6 class="modal-title">LABEL_INTERACTION</h6>
1469
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
1425
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
1470
            </div>
1426
            </div>
Línea 1471... Línea -...
1471
 
-
 
1472
            <!-- Modal body -->
-
 
1473
            <div class="modal-body">
1427
 
1474
                <?php
1428
<?php
1475
                $form = $this->formInteraction;
1429
                $form = $this->formInteraction;
1476
                $form->setAttributes([
1430
                $form->setAttributes([
1477
                    'method'    => 'post',
1431
                    'method'    => 'post',
1478
                    'name'      => 'form-interaction',
1432
                    'name'      => 'form-interaction',
1479
                    'id'        => 'form-interaction'
1433
                    'id'        => 'form-interaction'
Línea 1480... Línea 1434...
1480
                ]);
1434
                ]);
1481
 
1435
 
1482
                $form->prepare();
1436
                $form->prepare();
-
 
1437
                echo $this->form()->openTag($form);
-
 
1438
                ?>
1483
                echo $this->form()->openTag($form);
1439
            <div class="modal-body">
-
 
1440
                
1484
                ?>
1441
                <div class="row">
1485
                <div class="form-group">
1442
                	<div class="col-12 mt-3">
1486
                    <?php
1443
                    <?php
1487
                    $element = $form->get('interaction_type_id');
1444
                    $element = $form->get('interaction_type_id');
Línea 1488... Línea 1445...
1488
                    $element->setOptions(['label' => 'LABEL_INTERACTION_TYPE']);
1445
                    $element->setOptions(['label' => 'LABEL_INTERACTION_TYPE']);
1489
                    $element->setAttributes(['class' => 'form-control']);
1446
                    $element->setAttributes(['class' => 'form-control']);
1490
 
1447
 
-
 
1448
                    echo $this->formLabel($element);
1491
                    echo $this->formLabel($element);
1449
                    echo $this->formSelect($element);
Línea 1492... Línea 1450...
1492
                    echo $this->formSelect($element);
1450
                    ?>
-
 
1451
                    </div>
1493
                    ?>
1452
                </div>
1494
                </div>
1453
 
1495
 
1454
                <div class="row">
1496
                <div class="form-group">
1455
                	<div class="col-12 mt-3">
Línea 1497... Línea 1456...
1497
                    <?php
1456
                    <?php
1498
                    $element = $form->get('notes');
1457
                    $element = $form->get('notes');
1499
                    $element->setOptions(['label' => 'LABEL_NOTES']);
1458
                    $element->setOptions(['label' => 'LABEL_NOTES']);
-
 
1459
                    $element->setAttributes(['class' => 'form-control']);
1500
                    $element->setAttributes(['class' => 'form-control']);
1460
 
Línea -... Línea 1461...
-
 
1461
                    echo $this->formLabel($element);
-
 
1462
                    echo $this->formTextArea($element);
-
 
1463
                    ?>
1501
 
1464
                    </div>
1502
                    echo $this->formLabel($element);
1465
                </div>
1503
                    echo $this->formTextArea($element);
1466
 
1504
                    ?>
1467
        
1505
                </div>
1468
            </div>
1506
 
-
 
1507
                <div class="text-right">
-
 
1508
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1509
                    <button type="button" class="btn btn-light btn-cancel-interaction">LABEL_CANCEL</button>
1469
 
1510
                </div>
1470
        	<div class="modal-footer text-right">
1511
                <?php echo $this->form()->closeTag($form); ?>
1471
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
Línea 1526... Línea 1486...
1526
            <div class="modal-header">
1486
            <div class="modal-header">
1527
                <h6 class="modal-title">LABEL_UPLOAD</h6>
1487
                <h6 class="modal-title">LABEL_UPLOAD</h6>
1528
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
1488
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
1529
            </div>
1489
            </div>
Línea 1530... Línea -...
1530
 
-
 
1531
            <!-- Modal body -->
-
 
1532
            <div class="modal-body">
1490
 
1533
                <?php
1491
  				<?php
1534
                $form = $this->contactUploadForm;
1492
                $form = $this->contactUploadForm;
1535
                $form->setAttributes([
1493
                $form->setAttributes([
1536
                    'method'    => 'post',
1494
                    'method'    => 'post',
1537
                    'name'      => 'form-contact-upload',
1495
                    'name'      => 'form-contact-upload',
1538
                    'id'        => 'form-contact-upload'
1496
                    'id'        => 'form-contact-upload'
Línea 1539... Línea 1497...
1539
                ]);
1497
                ]);
1540
 
1498
 
1541
                $form->prepare();
1499
                $form->prepare();
-
 
1500
                echo $this->form()->openTag($form);
-
 
1501
                ?>
-
 
1502
                
Línea 1542... Línea 1503...
1542
                echo $this->form()->openTag($form);
1503
            <div class="modal-body">
1543
                ?>
-
 
-
 
1504
              
Línea 1544... Línea -...
1544
 
-
 
1545
                <div class="form-group">
-
 
1546
 
-
 
1547
 
-
 
1548
                    <?php
-
 
1549
                    $element = $form->get('file');
-
 
-
 
1505
 
1550
                    $element->setOptions(['label' => 'LABEL_EXCEL']);
1506
                <div class="row">
-
 
1507
                	<div class="col-12 mt-3">
1551
                    echo $this->formLabel($element);
1508
 
1552
                    ?>
1509
    
1553
                    <div class="file-loading">
1510
                        <?php
-
 
1511
                        $element = $form->get('file');
-
 
1512
                        $element->setOptions(['label' => 'LABEL_EXCEL']);
-
 
1513
                        echo $this->formLabel($element);
-
 
1514
                        ?>
-
 
1515
                        <div class="file-loading">
-
 
1516
                            <?php
1554
                        <?php
1517
                            $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel']);
1555
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel']);
1518
                            echo $this->formFile($element);
1556
                        echo $this->formFile($element);
-
 
Línea 1557... Línea -...
1557
                        ?>
-
 
1558
                    </div>
-
 
1559
                </div>
-
 
1560
 
-
 
1561
 
-
 
1562
 
1519
                            ?>
Línea 1563... Línea 1520...
1563
                <div class="form-group">
1520
                        </div>
1564
                    <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1521
                    </div>
-
 
1522
              	</div>      
-
 
1523
 
1565
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
1524
 
1566
                </div>
1525
            </div>
-
 
1526
 
-
 
1527
            <!-- Modal footer -->
Línea 1567... Línea 1528...
1567
                <?php echo $this->form()->closeTag($form); ?>
1528
            <div class="modal-footer">
1568
            </div>
1529
	            <button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
1569
 
1530
 
Línea 1592... Línea 1553...
1592
            <!-- Modal body -->
1553
            <!-- Modal body -->
1593
            <div class="modal-body">
1554
            <div class="modal-body">
1594
                <form>
1555
                <form>
1595
                    <input type="hidden" name="table-upload-contacts-key" id="table-upload-contacts-key">
1556
                    <input type="hidden" name="table-upload-contacts-key" id="table-upload-contacts-key">
1596
                </form>
1557
                </form>
-
 
1558
                
-
 
1559
                <div class="row">
-
 
1560
                	<div class="col-12 mt-3">
-
 
1561
                	
-
 
1562
                	
-
 
1563
                        <div id="table-wrapper">
-
 
1564
                            <table id="gridTableUploadContacts" class="table table-bordered">
-
 
1565
                                <thead>
-
 
1566
                                    <tr>
-
 
1567
                                        <th>LABEL_FIRST_NAME</th>
-
 
1568
                                        <th>LABEL_LAST_NAME</th>
-
 
1569
                                        <th>LABEL_PERSONAL_EMAIL</th>
-
 
1570
                                        <th>LABEL_CORPORATE_EMAIL</th>
-
 
1571
                                        <th>LABEL_COMPANY</th>
-
 
1572
                                        <th>LABEL_POSITION</th>
-
 
1573
                                        <th>LABEL_SECTOR</th>
-
 
1574
                                        <th>LABEL_COUNTRY</th>
-
 
1575
                                        <th>LABEL_STATE</th>
-
 
1576
                                        <th>LABEL_CITY</th>
-
 
1577
                                        <th>LABEL_PHONE</th>
-
 
1578
                                        <th>LABEL_PHONE_EXTENSION</th>
-
 
1579
                                        <th>LABEL_CELULAR</th>
-
 
1580
                                        <th>LABEL_WHATSAPP</th>
-
 
1581
                                        <th>LABEL_LINKEDIN</th>
-
 
1582
            							<th>LABEL_SECTOR</th>
-
 
1583
                      					<th>LABEL_SCHOLARSHIP</th>
-
 
1584
                                    </tr>
-
 
1585
                                </thead>
-
 
1586
                                <tbody>
-
 
1587
                                </tbody>
-
 
1588
                            </table>
-
 
1589
                        </div>
-
 
1590
                	
-
 
1591
                	</div>
-
 
1592
                
-
 
1593
                </div>
Línea 1597... Línea -...
1597
 
-
 
1598
 
-
 
1599
 
-
 
1600
                <div id="table-wrapper">
-
 
1601
                    <table id="gridTableUploadContacts" class="table table-bordered">
-
 
1602
                        <thead>
-
 
1603
                            <tr>
-
 
1604
                                <th>LABEL_FIRST_NAME</th>
-
 
1605
                                <th>LABEL_LAST_NAME</th>
-
 
1606
                                <th>LABEL_PERSONAL_EMAIL</th>
-
 
1607
                                <th>LABEL_CORPORATE_EMAIL</th>
-
 
1608
                                <th>LABEL_COMPANY</th>
-
 
1609
                                <th>LABEL_POSITION</th>
-
 
1610
                                <th>LABEL_SECTOR</th>
-
 
1611
                                <th>LABEL_COUNTRY</th>
-
 
1612
                                <th>LABEL_STATE</th>
-
 
1613
                                <th>LABEL_CITY</th>
-
 
1614
                                <th>LABEL_PHONE</th>
-
 
1615
                                <th>LABEL_PHONE_EXTENSION</th>
-
 
1616
                                <th>LABEL_CELULAR</th>
-
 
1617
                                <th>LABEL_WHATSAPP</th>
-
 
1618
                                <th>LABEL_LINKEDIN</th>
-
 
1619
    							<th>LABEL_SECTOR</th>
-
 
1620
              					<th>LABEL_SCHOLARSHIP</th>
-
 
1621
                            </tr>
-
 
1622
                        </thead>
-
 
1623
                        <tbody>
-
 
Línea 1624... Línea 1594...
1624
                        </tbody>
1594
 
Línea 1625... Línea 1595...
1625
                    </table>
1595
 
1626
                </div>
1596