
                            },
                            grid: { drawOnChartArea: false }
                        }
                    }
                }
            });
        }

        function updateCustomerBookingsTable(bookings) {
            const tbody = document.getElementById('customerBookingsBody');
            tbody.innerHTML = '';

            if (bookings && bookings.length > 0) {
                bookings.forEach(booking => {
                    const row = tbody.insertRow();
           