Bundle item has an option to not print in the bill.

Bills and Kots should print properly with bundles
This commit is contained in:
2026-02-10 18:00:03 +00:00
parent 7382d487ac
commit 91b3740ec0
36 changed files with 290 additions and 141 deletions

View File

@ -1,5 +1,5 @@
from dotenv import load_dotenv
from pydantic import BaseSettings
from pydantic_settings import BaseSettings
class Settings(BaseSettings):

View File

@ -5,10 +5,11 @@ description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = {extras = ["dotenv"], version = "^1.9.1"}
arq = "^0.23a1"
aiohttp = "^3.8.1"
python = "^3.14"
pydantic = {extras = ["dotenv"], version = "^2.11.7"}
pydantic-settings = "^2.12.0"
arq = "^0.26.3"
aiohttp = "^3.12.13"
[build-system]
requires = ["poetry-core>=1.0.0"]

9
frank/run_worker.py Normal file
View File

@ -0,0 +1,9 @@
import asyncio
from arq.worker import run_worker
from worker import WorkerSettings
# Create & set a loop BEFORE arq touches asyncio.get_event_loop()
asyncio.set_event_loop(asyncio.new_event_loop())
run_worker(WorkerSettings)

View File

@ -1,5 +1,5 @@
#! /usr/bin/env bash
set -e
echo arq worker.WorkerSettings
arq worker.WorkerSettings
echo python run_worker.py
python run_worker.py