From 63d89b696af740e7fb87e5d34fd9a375bacd977d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 8 Nov 2016 23:44:34 -0600 Subject: [PATCH] Fix line item PO Total update for new purchase Order Form --- tailbone/templates/purchases/batches/order_form.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/purchases/batches/order_form.mako b/tailbone/templates/purchases/batches/order_form.mako index eb09b2e5..be279cb3 100644 --- a/tailbone/templates/purchases/batches/order_form.mako +++ b/tailbone/templates/purchases/batches/order_form.mako @@ -25,7 +25,7 @@ alert(data.error); } else { 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); } }); @@ -111,7 +111,7 @@
- <% 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 ''):