mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
bug fixes
This commit is contained in:
parent
de747a4a33
commit
3f3a14966f
@ -134,8 +134,8 @@
|
|||||||
<td style="min-width:120px;text-align: right;padding-top:9px !important">
|
<td style="min-width:120px;text-align: right;padding-top:9px !important">
|
||||||
<span data-bind="text: totals.total"></span>
|
<span data-bind="text: totals.total"></span>
|
||||||
</td>
|
</td>
|
||||||
<td style="display:none" style="min-width:20px; cursor:pointer" class="hide-border td-icon">
|
<td style="min-width:20px; cursor:pointer" class="hide-border td-icon">
|
||||||
<i data-bind="click: $parent.removeItem, visible: actionsVisible() && $parent.invoice_items().length > 1" class="fa fa-minus-circle" title="Remove item"/>
|
<i style="display:none" data-bind="click: $parent.removeItem, visible: actionsVisible() && $parent.invoice_items().length > 1" class="fa fa-minus-circle" title="Remove item"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -974,11 +974,11 @@
|
|||||||
if (data) {
|
if (data) {
|
||||||
ko.mapping.fromJS(data, self.mapping, self);
|
ko.mapping.fromJS(data, self.mapping, self);
|
||||||
self.is_recurring(parseInt(data.is_recurring));
|
self.is_recurring(parseInt(data.is_recurring));
|
||||||
console.log('is rec %s', parseInt(data.is_recurring));
|
//console.log('is rec %s', parseInt(data.is_recurring));
|
||||||
} else {
|
} else {
|
||||||
self.addItem();
|
self.addItem();
|
||||||
}
|
}
|
||||||
console.log('test')
|
//console.log('test')
|
||||||
|
|
||||||
self._tax = ko.observable();
|
self._tax = ko.observable();
|
||||||
this.tax = ko.computed({
|
this.tax = ko.computed({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user