Línea 350... |
Línea 350... |
350 |
|
350 |
|
351 |
selected = service['status'] == '$status_suspended' ? 'selected' : '';
|
351 |
selected = service['status'] == '$status_suspended' ? 'selected' : '';
|
352 |
s = s + '<option value="$status_suspended" ' + selected + '>LABEL_SUSPENDED</option>';
|
352 |
s = s + '<option value="$status_suspended" ' + selected + '>LABEL_SUSPENDED</option>';
|
353 |
s = s + '</select>';
|
353 |
s = s + '</select>';
|
354 |
s = s + '</td>';
|
354 |
s = s + '</td>';
|
355 |
s = s + '<td><input type="text" id="paid_from' + service['id'] + '" name="paid_from' + service['id'] + '" class="form-control input-paid-from" value="' + service['paid_from']+ '"></td>';
|
355 |
s = s + '<td class="position-relative"><input type="text" id="paid_from' + service['id'] + '" name="paid_from' + service['id'] + '" class="form-control input-paid-from" value="' + service['paid_from']+ '"></td>';
|
356 |
s = s + '<td><input type="text" id="paid_to' + service['id'] + '" name="paid_to' + service['id'] + '" class="form-control input-paid-to" value="' + service['paid_to']+ '"></td>';
|
356 |
s = s + '<td><input type="text" id="paid_to' + service['id'] + '" name="paid_to' + service['id'] + '" class="form-control input-paid-to" value="' + service['paid_to']+ '"></td>';
|
Línea 357... |
Línea 357... |
357 |
s = s + '</tr>';
|
357 |
s = s + '</tr>';
|
Línea 358... |
Línea 358... |
358 |
|
358 |
|
Línea 359... |
Línea 359... |
359 |
$('#table-services tbody').append(s);
|
359 |
$('#table-services tbody').append(s);
|
360 |
|
360 |
|
361 |
});
|
361 |
});
|
362 |
|
362 |
|
Línea 363... |
Línea 363... |
363 |
$('.input-paid-from').datepicker({
|
363 |
$('#paid_from').datepicker({
|