Refactor the Ordering Worksheet generator, per Buefy

This commit is contained in:
Lance Edgar 2023-02-03 16:08:29 -06:00
parent eddbfcab36
commit 2ebae17839
6 changed files with 121 additions and 82 deletions

View file

@ -135,7 +135,8 @@ class OrderingWorksheet(View):
time=now.strftime('%I:%M %p'),
get_upc=self.upc_getter,
rattail=rattail,
)
app=self.get_rattail_app(),
)
template_path = resource_path(self.report_template_path)
template = Template(filename=template_path)