bober-bbq-bot/.gitignore
byrsapty 674d52fe05 Add supplier management with flexible Excel import
New Supplier/SupplierDelivery models track what was delivered, paid,
and owed per supplier. Add/edit/deactivate/delete suppliers manually,
or import an Excel ledger of any layout — the admin maps which column
is which (with an auto-guess, including a fuzzy fallback for typo'd
headers) rather than relying on a fixed format, since real supplier
files vary. Rows with no product name (empty template/totals rows)
are skipped automatically. A delivery can optionally be linked to an
existing Ingredient and top up its stock on entry, opt-in per action.

Admin always has access; managers only if "suppliers_manager_access"
is turned on in Settings — hard delete stays admin-only regardless,
matching the order-delete precedent. Verified end-to-end against a
real supplier ledger file, including its date-format quirk and a
typo'd column header.
2026-08-25 16:29:50 +03:00

13 lines
198 B
Text

.env
__pycache__/
*.pyc
instance/*.db
instance/*.sqlite
instance/tmp_imports/
backups/
bober_bbq/static/uploads/*
!bober_bbq/static/uploads/.gitkeep
webapp/node_modules/
webapp/dist/
*.log
.vscode/