# SNYT Sales Suite integration roadmap

## Ready now

- Backward-compatible API versioning at `/api/v1/mobile`.
- Manual daily sales and collections for current and previous dates.
- Admin notification inbox and audience targeting.
- Mobile device-token registration endpoints for Firebase Cloud Messaging.
- Sales routes and ordered customer stops with completion tracking.
- Offline conflict storage foundation using operation UUIDs.
- Admin sales, collections, orders, visits and route indicators.
- Automatic Flutter and Laravel quality checks through CI.

## External configuration still required

- Create Firebase Android/iOS applications and provide `google-services.json`,
  `GoogleService-Info.plist`, and a server service account.
- Add deployment SSH secrets to the repository before enabling automatic deploys.
- Enable cPanel Node.js Selector only when server-side asset builds are required;
  the current admin theme is delivered as prebuilt CSS and does not require Node.

## Recommended next production phase

- Territory planning and route optimization.
- Proof of visit: GPS, timestamp, customer signature and photo.
- Returns, credit notes and promotional price rules.
- Van loading, stock reconciliation and end-of-day settlement.
- Supervisor approvals and complete audit history.

<!-- SNYT_RETURNS_RMA_ROADMAP_FLUTTER_V1_START -->
## Returns / RMA Milestone

- [x] Global dark SNYT theme foundation
- [x] Returns top-level navigation
- [x] Returns list and filters
- [x] Create Return
- [x] Barcode scan / SKU autocomplete
- [x] Resellable / RMA type lock
- [x] Optional photos
- [x] Direct van replacement UI
- [x] Return details and timeline states
- [x] Mobile accounting review for Admin/Supervisor
- [x] Warehouse handover workflow
- [x] Warehouse confirmation
- [x] A4 handover print
- [x] Customer Sales / Returns / Payments profile tabs
- [ ] `flutter analyze` on development Mac
- [ ] Android phone QA
- [ ] Tablet QA
- [ ] iOS simulator QA
<!-- SNYT_RETURNS_RMA_ROADMAP_FLUTTER_V1_END -->
## Return review workflow

- [x] Draft save/edit
- [x] Explicit submit and edit freeze
- [x] Explicit approve/reject
- [x] Rejection audit reason and RMA preservation
- [x] Draft exclusion from warehouse handover
## RMA Stock milestone

- [x] Dedicated read-only mobile API
- [x] Salesman ownership and admin filtering
- [x] Ready/prepared/in-transit balance separation
- [x] Returns Home and warehouse handover navigation
- [x] Opening RMA visibility
