Update mobile purchase flow and locale formatting

This commit is contained in:
2026-05-20 15:49:21 +07:00
parent 8e8912ed5b
commit a9202c390b
18 changed files with 496 additions and 523 deletions

View File

@ -46,8 +46,7 @@ Semua role mobile memakai:
Tujuan:
- scan lot
- buat receipt
- generate lot
- submit purchase yang otomatis membuat receipt dan lot
- buat penyesuaian stok
- kirim / selesaikan washing
@ -57,11 +56,9 @@ Endpoint:
- `GET /api/v1/mobile/lots`
- `GET /api/v1/mobile/lots/:id`
- `GET /api/v1/mobile/lots/scan?code=...`
- `GET /api/v1/mobile/receipts/bootstrap`
- `GET /api/v1/mobile/receipts`
- `POST /api/v1/mobile/receipts`
- `GET /api/v1/mobile/receipts/:id`
- `POST /api/v1/mobile/receipts/:id/generate-lots`
- `GET /api/v1/mobile/purchases`
- `GET /api/v1/mobile/purchases/:id`
- `POST /api/v1/mobile/purchases/:id/submit`
- `GET /api/v1/mobile/stock-adjustments/bootstrap`
- `GET /api/v1/mobile/stock-adjustments`
- `POST /api/v1/mobile/stock-adjustments`
@ -185,8 +182,8 @@ Layar minimum:
2. Dashboard ringkas
3. Scan lot
4. Detail lot
5. Receipt baru
6. Detail receipt + generate lot
5. Daftar pembelian siap submit
6. Submit pembelian yang otomatis membuat receipt + lot
7. Penyesuaian stok
8. Daftar washing
9. Buat washing