Fix line item PO Total update for new purchase Order Form
This commit is contained in:
parent
da5c040aeb
commit
63d89b696a
|
@ -25,7 +25,7 @@
|
||||||
alert(data.error);
|
alert(data.error);
|
||||||
} else {
|
} else {
|
||||||
input.val(data.row_cases_ordered);
|
input.val(data.row_cases_ordered);
|
||||||
row.find('td:last').html(data.row_po_total);
|
row.find('td:eq(14)').html(data.row_po_total);
|
||||||
$('.po-total .field').html(data.batch_po_total);
|
$('.po-total .field').html(data.batch_po_total);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
|
|
||||||
<div class="newgrid">
|
<div class="newgrid">
|
||||||
<table class="order-form">
|
<table class="order-form">
|
||||||
<% column_count = 22 + int(capture(self.extra_count)) %>
|
<% column_count = 15 + int(capture(self.extra_count)) %>
|
||||||
% for department in sorted(departments.itervalues(), key=lambda d: d.name if d else ''):
|
% for department in sorted(departments.itervalues(), key=lambda d: d.name if d else ''):
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue