Fix "tools" helper for receiving batch view, per oruga

This commit is contained in:
Lance Edgar 2024-05-07 11:53:44 -05:00
parent f0d694cfe5
commit 703d583f6f
2 changed files with 90 additions and 89 deletions

View file

@ -71,8 +71,10 @@
<nav class="panel"> <nav class="panel">
<p class="panel-heading">Row Status</p> <p class="panel-heading">Row Status</p>
<div class="panel-block"> <div class="panel-block">
<div style="width: 100%;">
${status_breakdown_grid} ${status_breakdown_grid}
</div> </div>
</div>
</nav> </nav>
</%def> </%def>

View file

@ -38,11 +38,10 @@
<%def name="render_tools_helper()"> <%def name="render_tools_helper()">
% if allow_confirm_all_costs or (master.has_perm('auto_receive') and master.can_auto_receive(batch)): % if allow_confirm_all_costs or (master.has_perm('auto_receive') and master.can_auto_receive(batch)):
<nav class="panel">
<div class="object-helper"> <p class="panel-heading">Tools</p>
<h3>Tools</h3> <div class="panel-block">
<div class="object-helper-content" <div style="display: flex; flex-direction: column; gap: 0.5rem; width: 100%;">
style="display: flex; flex-direction: column; gap: 1rem;">
% if allow_confirm_all_costs: % if allow_confirm_all_costs:
<b-button type="is-primary" <b-button type="is-primary"
@ -132,9 +131,9 @@
</div> </div>
</b-modal> </b-modal>
% endif % endif
</div> </div>
</div> </div>
</nav>
% endif % endif
</%def> </%def>