bbfab9faaa
Expenses now have invoiceFileUrl, invoiceFileName, paperlessUrl, paperlessDocumentId for supplier invoice attachment. New expense_packages junction links expenses to multiple packages. New sales + sale_line_items + sale_packages tables for income tracking with per-line tax rate and per-sale withholding rate. Added saleStatusEnum and 4 audit events: expense_invoice_uploaded, sale_created, sale_confirmed, sale_voided. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
624 B
Bash
28 lines
624 B
Bash
# Server
|
|
PORT=3000
|
|
HOST=127.0.0.1
|
|
ORIGIN=http://localhost:3000
|
|
|
|
# Branding
|
|
APP_NAME=B4L Budget
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://budget_app:password@localhost:5432/buildfor_life_budget
|
|
|
|
# OIDC (optional — leave blank to disable)
|
|
OIDC_ISSUER_URL=
|
|
OIDC_CLIENT_ID=
|
|
OIDC_CLIENT_SECRET=
|
|
OIDC_REDIRECT_URI=http://localhost:3000/oidc/callback
|
|
|
|
# Document uploads
|
|
UPLOADS_DIR=./uploads
|
|
BODY_SIZE_LIMIT=26214400
|
|
|
|
# Company Links favicon fetching (set false to disable outbound fetches in offline dev)
|
|
FAVICON_FETCH_ENABLED=true
|
|
|
|
# Paperless-ngx integration (optional — leave blank to disable)
|
|
PAPERLESS_URL=
|
|
PAPERLESS_TOKEN=
|