From 9d02180c92a804f5032c0c1b07889955312a32a4 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 8 Dec 2021 22:31:54 -0600 Subject: [PATCH] Add buttons to edit, confirm cost for receiving batch row view not yet fully implemented --- tailbone/templates/receiving/view_row.mako | 38 +++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/tailbone/templates/receiving/view_row.mako b/tailbone/templates/receiving/view_row.mako index 53f426df..d1c35c5b 100644 --- a/tailbone/templates/receiving/view_row.mako +++ b/tailbone/templates/receiving/view_row.mako @@ -46,8 +46,8 @@ ${form.render_field_readonly('item_entry')} % endif ${form.render_field_readonly('upc')} - ${form.render_field_readonly('vendor_code')} ${form.render_field_readonly('product')} + ${form.render_field_readonly('vendor_code')} ${form.render_field_readonly('case_quantity')} ${form.render_field_readonly('catalog_unit_cost')} @@ -74,10 +74,12 @@
@@ -107,7 +109,26 @@
${form.render_field_readonly('invoice_line_number')} ${form.render_field_readonly('invoice_unit_cost')} + % if master.has_perm('edit_row'): +
+ + +
+ % endif ${form.render_field_readonly('invoice_cost_confirmed')} +
+ + Confirm Unit Cost + +
${form.render_field_readonly('invoice_total')} ${form.render_field_readonly('invoice_total_calculated')}
@@ -131,5 +152,20 @@ % endif +<%def name="modify_this_page_vars()"> + ${parent.modify_this_page_vars()} + + + ${parent.body()}