diff --git a/src/pages/nearle/invoice/invoicePreview.js b/src/pages/nearle/invoice/invoicePreview.js
index 8c23a27..55ab209 100644
--- a/src/pages/nearle/invoice/invoicePreview.js
+++ b/src/pages/nearle/invoice/invoicePreview.js
@@ -312,61 +312,46 @@ const InvoicePreview = () => {
S.No
- Date
- Order Id
- Pickup
- Drop
- {/* Customer
- Contact no
- KMS */}
+ Particulars
+ Unit
+ Quantity
+ Rate
+ {/* {selected && selected.pricingtypeid === 73 && ( */}
+ Other Charges
+ {/* )} */}
Amount
{selected.tenantsalesdetails && (
- {selected.tenantsalesdetails.map((item, index) => (
-
- {index + 1}
-
-
- {dayjs(item.orderdate).format('DD-MM-YYYY')}
+
+ 1
+
+
+ {`Invoice from ${dayjs(selected.tenantsalesdetails[0].fromdate).format('DD-MM-YYYY')} to ${dayjs(
+ selected.tenantsalesdetails[0].todate
+ ).format('DD-MM-YYYY')}`}
+
+
+
+ {selected.tenantsalesdetails[0].pricingtype}
+
-
- {dayjs(item.orderdate).format('hh:mm a')}
-
-
-
-
- {' '}
- {item.orderid}
-
-
-
- {' '}
- {item.pickup}
-
-
- {item.drop}
-
-
- {formatNumberToRupees(item.totalamount)}
-
- {/*
-
- {item.actualkms == "" || 0
- ? parseInt(item.kms).toFixed(1)
- : parseInt(item.actualkms).toFixed(1)}
-
- */}
- {/*
-
- {item.deliveryamt == "" || 0
- ? `₹ ${item.deliverycharges}.00`
- : `₹ ${item.deliveryamt}.00`}
-
- */}
-
- ))}
+
+ {`${selected.tenantsalesdetails[0].quantity}km`}
+
+
+ {`₹ ${selected.tenantsalesdetails[0].baserate.toFixed(2)}`}
+
+ {/* {selected.tenantsalesdetails[0].pricingtypeid == 73 && ( */}
+
+ {`₹ ${selected.tenantsalesdetails[0].othercharges}.00`}
+
+ {/* )} */}
+
+ {`₹ ${selected.tenantsalesdetails[0].amount}.00`}
+
+
)}