feat: add time zone support for rent payment and refund processes

- Updated API requests and responses to include time zone information.
- Modified backend services to handle time zone for received and refunded dates.
- Adjusted frontend components to use local date formatting based on the user's time zone.
- Enhanced tests to validate time zone handling in rent payment and refund scenarios.
This commit is contained in:
nessar committed 2026-08-17 14:18:15 +02:00
1 parent b9e99348f7
commit d7a7aff3ee
15 files changed
+150 -60

No files matched your search

@@ -47,6 +47,7 @@ export interface RecordRentPaymentRequest {
rentDueVersion: number;
receivedAt: string;
amount: number;
timeZone: string;
}
export interface AllocateRentPaymentRequest {
@@ -62,6 +63,7 @@ export interface RefundRentPaymentRequest {
paymentVersion: number;
amount: number;
refundedAt: string;
timeZone: string;
}
@Injectable({ providedIn: 'root' })