app/views/deposit/collection/_invoices_table.html.erb in killbill-deposit-1.0.1 vs app/views/deposit/collection/_invoices_table.html.erb in killbill-deposit-1.0.2
- old
+ new
@@ -42,10 +42,10 @@
"targets": [ 4 ],
"orderable": false
}
],
createdRow: function(row, data, dataIndex) {
- $('td', row).eq(4).html('<input class="payment_amount_invoice" type="number" name="payment_amount_' + data[0] + '" id="payment_amount_' + dataIndex + '" step="any" class="form-control">')
+ $('td', row).eq(4).html('<input class="payment_amount_invoice" type="number" name="payment_amount_' + data[0] + '" id="payment_amount_' + dataIndex + '" step="any" class="form-control" value="0">')
},
drawCallback: function() {
$('input').change(function() {
var table = $('#invoices-table').DataTable();
var total = 0;