feat(bookings): add transaction document uploads for bank payments
Add payment method selection (Cash/Bank) to booking details Support uploading, downloading, and deleting transaction documents Update database schema and API endpoints to handle file storage
This commit is contained in:
@@ -48,6 +48,7 @@ services:
|
||||
NUXT_DATABASE_URL: postgresql://postgres:postgres@postgres:5432/dinner_ticket_system
|
||||
NUXT_REDIS_URL: redis://redis:6379
|
||||
NUXT_SESSION_COOKIE_NAME: dinner_ticket_session
|
||||
NUXT_TRANSACTION_DOCUMENT_DIR: /data/transaction-documents
|
||||
NUXT_WHATSAPP_ACCESS_TOKEN: ${NUXT_WHATSAPP_ACCESS_TOKEN:-}
|
||||
NUXT_WHATSAPP_PHONE_NUMBER_ID: ${NUXT_WHATSAPP_PHONE_NUMBER_ID:-}
|
||||
NUXT_WHATSAPP_API_VERSION: ${NUXT_WHATSAPP_API_VERSION:-v23.0}
|
||||
@@ -55,6 +56,8 @@ services:
|
||||
NUXT_PUBLIC_RP_NAME: ${NUXT_PUBLIC_RP_NAME:-Dinner Ticket System}
|
||||
ports:
|
||||
- "20013:20013"
|
||||
volumes:
|
||||
- transaction_documents:/data/transaction-documents
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:20013/api/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"]
|
||||
interval: 10s
|
||||
@@ -65,3 +68,4 @@ services:
|
||||
volumes:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
transaction_documents:
|
||||
|
||||
Reference in New Issue
Block a user