devsofttech_hms_ci4/scripts/sql
DevSoftTech Server d2f069e3c8 feat(medical-store): add B2C sales returns, same-invoice exchanges, and DB migrations
- Add B2C same-invoice exchange and pure refund workflows (Marg ERP standard)
- Support returning excess/unused medicines with proportional unit pricing on original invoice
- Auto-net return credits against new medicines in POS cart with refund outflow handling
- Implement stock replenishment for restocked batches with audit trail in mst_stock_audit
- Generate sequential GST Credit Notes in mst_sale_returns and mst_sale_return_items
- Update Thermal 80mm, A5, and A4 print templates with separated dispensed vs returned items
- Add CI4 migration 2026-09-08-000001_CreateMedicalStoreReturnsAndExchanges.php for remote execution
- Add standalone SQL script scripts/sql/2026-09-08_medical_store_b2c_returns_and_exchanges.sql
2026-09-08 05:07:45 +05:30
..
2026-07-02_backfill_inv_med_item_tax_fields.sql Medical GST: persist item tax breakup and add backfill 2026-07-02 22:35:34 +05:30
2026-07-02_backfill_investigation_category.sql Add remote SQL script for investigation category backfill 2026-07-02 19:09:36 +05:30
2026-09-08_medical_store_b2c_returns_and_exchanges.sql feat(medical-store): add B2C sales returns, same-invoice exchanges, and DB migrations 2026-09-08 05:07:45 +05:30
README_investigation_category_backfill.md Add remote SQL script for investigation category backfill 2026-07-02 19:09:36 +05:30