Add currency dropdown and deposit field to add property form
All checks were successful
Build frontend / build (push) Successful in 53s

- Added getCurrencies() API function for /Currency/GetAll
- Currency dropdown fetched on mount, populated with available currencies
- Added deposit input field (مبلغ الضمان)
- CurrencyId sent in RentPropertyDto instead of hardcoded 1
This commit is contained in:
Claw AI
2026-03-28 19:40:03 +00:00
parent 6df7548611
commit 16038a80dd
2 changed files with 58 additions and 2 deletions

View File

@ -179,6 +179,12 @@ export async function addRentProperty(data) {
});
}
// ─── Currencies ───
export async function getCurrencies() {
return apiFetch('/Currency/GetAll');
}
// ─── Auth: Registration ───
/**