feat: the 10x15 label at Finalizado (Marcus 10/11, point 10)
When an order reaches Finalizado, the Kanban on the computer that opted in (Integrações > Etiqueta 10x15) prints a 10x15 label rendered by the server: the Tiny order number in large type (DTF-<n> when there is none), customer, DTF · N folhas · X m, the delivery line, date and time, the Revisor and a QR with the number. One automatic print per order (label_prints, claimed once); Revisor, Expedição, Gestão and the administrators can reprint. Chrome with --kiosk-printing prints without the dialog. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ includes and the names other modules imported from the old single file.
|
||||
"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from . import board, common, files, integrations, orders, quotes, rework, session, stats
|
||||
from . import board, common, files, integrations, labels, orders, quotes, rework, session, stats
|
||||
from .integrations import tiny_callback
|
||||
from .stats import speed_figures
|
||||
|
||||
@@ -13,5 +13,5 @@ router = APIRouter()
|
||||
# The order the routes first appeared in the old file. Static paths that could
|
||||
# meet a parameterised one stay ahead of it: /orders/finished before any
|
||||
# /orders/{uid} GET.
|
||||
for module in (common, session, integrations, board, quotes, rework, orders, stats, files):
|
||||
for module in (common, session, integrations, board, quotes, rework, orders, labels, stats, files):
|
||||
router.include_router(module.router)
|
||||
|
||||
Reference in New Issue
Block a user