|
S.No
|
Order ID
|
Customer
|
Mobile
|
{/* Booked By | */}
Payment Type
|
Amount (₹)
|
{currentData?.length > 0 ? (
currentData?.map((item, index) => (
(e.currentTarget.style.backgroundColor = '#d6e4ff')
}
onMouseLeave={(e) =>
(e.currentTarget.style.backgroundColor =
index % 2 === 0 ? '#f7faff' : '#e9f1ff')
}
>
|
{startIndex + index + 1}
|
{extractLastNumberOrderId(item.OrderId)}
|
{item.CustName || '—'}
|
{item.CustMobile || '—'}
|
{/*
{item.BookedBy || "—"}
| */}
{item.PaymentTypeName || '—'}
|
₹{item.Amount?.toLocaleString()}
|
))
) : (
|
No booking data available
|
)}
{/* Pagination */}
{totalPages > 1 && (
{currentPage == 1 ? (
''
) : (
)}
Page {currentPage} of {totalPages}
)}