ManagementSystem/FRONTEND/src
Your Name 0f2d5db8a3 feature(office-support): add equipment management and electricity bill attachment
Equipment management (new):
- Equipment CRUD with code, name, note, optional photo (max 10MB)
- Barcode scanner using @zxing/browser:
  - Defaults to back camera on mobile, autofocus + 2x zoom
  - Reads any orientation (rotates 12 angles per cycle for arbitrary tilt)
  - Manual "Capture & decode" fallback (18 angles)
  - Horizontal aiming line + haptic feedback on success
- Assign workflow with full history (user <-> warehouse, every state recorded)
- Statistics view: equipments grouped by current holder (Accordion + KPIs)
- Image lightbox: view original at any zoom, open-in-new-tab, pinch-zoom on mobile
- Client-side resize for >10MB uploads to fit PHP upload limit

Electricity bill:
- Attachment (PDF/image) upload, view, replace, remove

Routes, API endpoints, Mantine tab integration, and DB migrations included.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 14:36:42 +07:00
..
Welcome update 2024-05-15 02:20:30 +00:00
api feature(office-support): add equipment management and electricity bill attachment 2026-05-14 14:36:42 +07:00
components Update 2026-04-29 14:13:19 +07:00
lib update 2024-05-15 02:20:30 +00:00
pages feature(office-support): add equipment management and electricity bill attachment 2026-05-14 14:36:42 +07:00
routes Add electricity bills module (API, model, PDF) 2026-04-29 13:44:34 +07:00
rtk Add electricity bills module (API, model, PDF) 2026-04-29 13:44:34 +07:00
utils udpate navbar permissions 2024-09-21 08:53:05 +07:00
variables update handle for separated user 2025-08-05 15:14:50 +07:00
App.module.css update 2024-05-15 02:20:30 +00:00
App.tsx Update Working review 2025-02-13 17:01:52 +07:00
global.d.ts fix lib type 2025-03-13 15:09:22 +07:00
main.tsx update 2024-05-15 02:20:30 +00:00
theme.ts update 2024-05-15 02:20:30 +00:00
vite-env.d.ts update 2024-05-15 02:20:30 +00:00