feat: Add transaction code generation for orders and update receipt templates

This commit is contained in:
2026-04-09 08:51:12 +02:00
parent a570c542c2
commit a3eae63587
7 changed files with 76 additions and 10 deletions
+5
View File
@@ -1,5 +1,10 @@
PAGE_SIZE = 20
VAT_RATE = 0.21 # IVA 21%
STOCK_RESERVATION_MINUTES = 5
TRANSACTION_CODE_PREFIX = "comal-"
TRANSACTION_CODE_LENGTH = 32
TRANSACTION_CODE_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
# Restricciones de envío
SHIPPING_COUNTRY = "España"