Lines 17-23
$('#cashupSummaryModal').on('show.bs.modal', function(e) {
Link Here
|
17 |
tbody.empty(); |
17 |
tbody.empty(); |
18 |
for (out of data.summary.payout_grouped) { |
18 |
for (out of data.summary.payout_grouped) { |
19 |
if ( out.credit_type_code == 'REFUND' ) { |
19 |
if ( out.credit_type_code == 'REFUND' ) { |
20 |
tbody.append('<tr><td>' + out.credit_type.description + ' against ' + out.related_debit.debit_type.description + '</td><td>- ' + out.total + '</td></tr>'); |
20 |
tbody.append('<tr><td>' + out.credit_type.description + ' ' + __('against') + ' ' + out.related_debit.debit_type.description + '</td><td>- ' + out.total + '</td></tr>'); |
21 |
} else { |
21 |
} else { |
22 |
tbody.append('<tr><td>' + out.credit_type.description + '</td><td>- ' + out.total + '</td></tr>'); |
22 |
tbody.append('<tr><td>' + out.credit_type.description + '</td><td>- ' + out.total + '</td></tr>'); |
23 |
} |
23 |
} |
24 |
- |
|
|