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">
<p class="panel-heading">Row Status</p>
<div class="panel-block">
<div style="width: 100%;">
${status_breakdown_grid}
</div>
</div>
</nav>
</%def>

View file

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