Skip to content

Commit

Permalink
Swap order of options on delivery print menu
Browse files Browse the repository at this point in the history
Feedback from users suggests the new "print delivery checklist" option
should appear at the end of the menu instead of the start.
  • Loading branch information
sde1000 committed Jan 26, 2024
1 parent 6e4ba0f commit 1a36c2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quicktill/delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,14 @@ def printout(self):
return
num_labels = self._label_query().count()
menu = []
if num_labels > 0:
menu.extend((f"Print labels on {x}", self._print_labels, (x,))
for x in tillconfig.label_printers)
if tillconfig.receipt_printer:
menu.append(("Print a delivery checklist",
printer.print_delivery_checklist,
(tillconfig.receipt_printer, self.dn)))

if num_labels > 0:
menu.extend((f"Print labels on {x}", self._print_labels, (x,))
for x in tillconfig.label_printers)
ui.automenu(menu, title="Delivery print options",
blurb=[f"There are {num_labels} stock labels to print."],
colour=ui.colour_confirm)
Expand Down

0 comments on commit 1a36c2d

Please sign in to comment.