ManagementSystem/BACKEND/Modules/Admin
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
..
.api sdfsd 2024-05-14 07:11:04 +00:00
app feature(office-support): add equipment management and electricity bill attachment 2026-05-14 14:36:42 +07:00
config sdfsd 2024-05-14 07:11:04 +00:00
database update 2024-05-29 10:40:59 +07:00
lang sdfsd 2024-05-14 07:11:04 +00:00
resources Add electricity bills module (API, model, PDF) 2026-04-29 13:44:34 +07:00
routes feature(office-support): add equipment management and electricity bill attachment 2026-05-14 14:36:42 +07:00
tests sdfsd 2024-05-14 07:11:04 +00:00
composer.json sdfsd 2024-05-14 07:11:04 +00:00
module.json sdfsd 2024-05-14 07:11:04 +00:00
package.json sdfsd 2024-05-14 07:11:04 +00:00
vite.config.js sdfsd 2024-05-14 07:11:04 +00:00