Files
pos-system/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Admin
Ho Ngoc Hai 5e2f20967d
All checks were successful
Build & Deploy to K8s / build-and-deploy (push) Successful in 9m29s
fix(merchant): wire up merchant registration in onboarding and settings
OnboardingBusiness.razor was only navigating to the next step without
calling the merchant registration API, so no merchant record was ever
created in the database. This caused settings page updates to fail with
"Merchant not found" and the SuperAdmin panel to show zero merchants.

- Inject MerchantApiService and call RegisterMerchantAsync on "Tiếp tục"
- Remove hardcoded demo data from onboarding form fields
- Add fallback in AdminSettings SaveMerchant to auto-register if PUT fails
- Add BFF POST /api/bff/account/register-merchant endpoint

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:46:27 +07:00
..