Add currency dropdown and deposit field to add property form
All checks were successful
Build frontend / build (push) Successful in 53s
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:
@ -179,6 +179,12 @@ export async function addRentProperty(data) {
|
||||
});
|
||||
}
|
||||
|
||||
// ─── Currencies ───
|
||||
|
||||
export async function getCurrencies() {
|
||||
return apiFetch('/Currency/GetAll');
|
||||
}
|
||||
|
||||
// ─── Auth: Registration ───
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user