This commit is contained in:
Iliyan Angelov
2025-11-20 02:18:52 +02:00
parent 34b4c969d4
commit 44e11520c5
55 changed files with 4741 additions and 876 deletions

View File

@@ -29,6 +29,9 @@ export interface Booking {
check_out_date: string;
guest_count: number;
total_price: number;
original_price?: number;
discount_amount?: number;
promotion_code?: string;
status:
| 'pending'
| 'confirmed'
@@ -70,6 +73,13 @@ export interface Booking {
phone_number?: string;
};
payments?: Payment[];
payment_balance?: {
total_paid: number;
total_price: number;
remaining_balance: number;
is_fully_paid: boolean;
payment_percentage: number;
};
createdAt: string;
updatedAt: string;
}