Commit Graph

27 Commits

Author SHA1 Message Date
47cc480cf5 feat: add expenses module, restaurant mode, and dynamic sales filters
- Gastos (Expenses): Added `/gastos` route, auto-creation of `expenses` DB table, and `gastos.html` to track net profit with split month/year dropdowns.
- Sales & Filters: Overhauled `/sales` backend to use pagination. Top summary cards now accurately reflect the selected payment method filter.
- Checkout Improvements:
  - Added "Transferencia" as a payment option with numpad shortcuts.
  - Built a "Pinned Products" quick-access grid using localStorage.
  - Implemented a global processing lock to prevent duplicate sales on double-clicks.
  - Burned the default HTML number arrows with custom CSS.
- Global Settings & Receipts:
  - Created a global settings modal accessible from the navbar.
  - Added localStorage toggles for custom business name and auto-print.
  - Added "Restaurant Mode" toggle to prompt for Client Name and Pickup Time, which now dynamically prints on the receipt.
- Bug Fixes: Resolved Jinja `TemplateSyntaxError` crash and removed the duplicate search bar in the checkout view.
2026-04-15 22:58:12 -04:00
77fc5920a2 image export like db 2026-03-11 15:59:50 -03:00
78d48db9ea added image_url column to dicom table 2026-03-10 23:39:44 -03:00
92e3a3f0f9 dicom evidence update 2026-03-10 23:22:50 -03:00
57cb27f6cf db dump tool 2026-03-10 22:47:40 -03:00
cb2aa89b16 WIP rewrite with macros 2026-03-10 20:15:58 -03:00
3c4b2e148d Implemented Dicom 2026-03-09 18:25:49 -03:00
216abc8ad2 Fixed receipt design 2026-03-09 13:02:00 -03:00
c57e8ab6db Implemented sales dashboard 2026-03-09 05:58:24 -03:00
9f59e122ef Various chechout improvements: subtotal rounding, placeholder color, and weight input now in grams for better UX. 2026-03-09 03:53:28 -03:00
shironeko
2f2998b0fd esp attempt, stock + unit type 2026-03-07 19:21:14 -03:00
2bb38570f9 deactivated MP stuff 2026-03-07 03:23:00 -03:00
6c5085093d chekout update, mp study v1 2026-03-07 03:07:45 -03:00
423d563cc0 image compression, initial checkout(? 2026-03-04 22:47:02 -03:00
b4344361e4 adding data to scan request + Go ARMv7 2026-03-01 03:23:53 -03:00
8cba7937c3 image cache fix 2026-02-27 00:29:25 -03:00
4779452acd image timestamp fix 2026-02-27 00:16:43 -03:00
c7c0b3feb2 picture qol fixes 2026-02-26 23:55:49 -03:00
3a39cb95db re-retriede image if cached one doesnt exist anymore 2026-02-26 22:52:34 -03:00
1b2e63bc86 added bulk price update feature, allowing users to select multiple products and apply a new price to all of them at once. The bulk action bar now shows the count of selected items and enables the "OK" button only when at least one product is selected. 2026-02-26 21:16:16 -03:00
9a28daa2cd fill edit fileds on scan 2026-02-26 03:33:45 -03:00
ebf8bc72aa fix custom images cache 2026-02-26 03:30:23 -03:00
2ef510358d cache image not being used fixed 2026-02-26 03:22:05 -03:00
d8b710805f docker FIX 2026-02-26 00:34:36 -03:00
767c66a370 modified: app.py 2026-02-25 23:37:24 -03:00
9c4654038e modified: app.py
modified:   pos_database.db
2026-02-25 23:36:33 -03:00
4802923727 new file: app.py
new file:   pos_database.db
	new file:   static/cache/7801610000571.jpg
	new file:   static/cache/7801620009441.jpg
	new file:   static/cache/9002490100070.jpg
	new file:   static/placeholder.png
	new file:   templates/index.html
	new file:   templates/login.html
2026-02-25 23:31:24 -03:00