From af14216eeac76da6b8e675c6c0501fd4baf1720a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 26 Jan 2022 13:13:00 -0600 Subject: [PATCH] Tweak the "auto-receive all" tool for Chrome browser also split out each helper section --- tailbone/templates/receiving/view.mako | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tailbone/templates/receiving/view.mako b/tailbone/templates/receiving/view.mako index 01b93724..4f04cfa2 100644 --- a/tailbone/templates/receiving/view.mako +++ b/tailbone/templates/receiving/view.mako @@ -283,9 +283,7 @@ % endif -<%def name="object_helpers()"> - ${self.render_status_breakdown()} - +<%def name="render_po_vs_invoice_helper()"> % if use_buefy and master.handler.has_purchase_order(batch) and master.handler.has_invoice_file(batch):

PO vs. Invoice

@@ -294,9 +292,9 @@
% endif + - ${self.render_execute_helper()} - +<%def name="render_auto_receive_helper()"> % if master.has_perm('auto_receive') and master.can_auto_receive(batch):
@@ -329,8 +327,9 @@