From d987bd2a517dc1088bbd595335c32edc0f2050dd Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Fri, 28 Nov 2025 11:09:45 +0530 Subject: [PATCH] Alignment in Add Chalan and adding Page-min-h at list. --- src/components/Expenses/Filelist.jsx | 4 ++-- src/components/purchase/DeliveryChallane.jsx | 7 ++++--- src/components/purchase/PurchaseList.jsx | 6 +++--- .../purchase/PurchasePartyDetails.jsx | 17 ++++++++++++----- src/components/purchase/Purchasetable.jsx | 2 +- src/pages/purchase/PurchasePage.jsx | 2 +- 6 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/components/Expenses/Filelist.jsx b/src/components/Expenses/Filelist.jsx index ba270877..34253735 100644 --- a/src/components/Expenses/Filelist.jsx +++ b/src/components/Expenses/Filelist.jsx @@ -101,7 +101,7 @@ export const FileView = ({ file, viewFile }) => {
{/* File icon and info */} -
+
{ }); }} > - + {file.fileName} diff --git a/src/components/purchase/DeliveryChallane.jsx b/src/components/purchase/DeliveryChallane.jsx index d8da640c..99e22f4c 100644 --- a/src/components/purchase/DeliveryChallane.jsx +++ b/src/components/purchase/DeliveryChallane.jsx @@ -85,7 +85,7 @@ const DeliveryChallane = ({ purchaseId }) => { @@ -103,6 +103,7 @@ const DeliveryChallane = ({ purchaseId }) => { name="deliveryChallanDate" control={control} className="w-100" + size="xs" /> {errors?.deliveryChallanDate && ( @@ -170,7 +171,7 @@ const DeliveryChallane = ({ purchaseId }) => { error={errors?.attachment?.message} /> -
+
@@ -190,7 +191,7 @@ const DeliveryChallane = ({ purchaseId }) => {
-
+
{" "}

History

diff --git a/src/components/purchase/PurchaseList.jsx b/src/components/purchase/PurchaseList.jsx index 3bcaeffd..41a607e6 100644 --- a/src/components/purchase/PurchaseList.jsx +++ b/src/components/purchase/PurchaseList.jsx @@ -29,8 +29,8 @@ const PurchaseList = ({ searchString }) => { const visibleColumns = PurchaseColumn.filter((col) => !col.hidden); return ( -
-
+
+
@@ -130,7 +130,7 @@ const PurchaseList = ({ searchString }) => { }) } > - + Add Challan diff --git a/src/components/purchase/PurchasePartyDetails.jsx b/src/components/purchase/PurchasePartyDetails.jsx index 3ef4beeb..3746ba16 100644 --- a/src/components/purchase/PurchasePartyDetails.jsx +++ b/src/components/purchase/PurchasePartyDetails.jsx @@ -64,7 +64,12 @@ const PurchasePartyDetails = () => { {/* Organization */}
- + {/* */} { labelKey="name" useFetchHook={useGlobaleOrganizations} hookParams={[ITEMS_PER_PAGE,1]} - errors={errors.supplierId} + errors={errors?.organizationId} /> )} /> - + {errors?.supplierId && ( +
{errors.supplierId.message}
+ )}
{/* Billing Address */} @@ -202,8 +209,8 @@ const PurchasePartyDetails = () => { diff --git a/src/components/purchase/Purchasetable.jsx b/src/components/purchase/Purchasetable.jsx index c2c5fe5b..4bed09ae 100644 --- a/src/components/purchase/Purchasetable.jsx +++ b/src/components/purchase/Purchasetable.jsx @@ -52,7 +52,7 @@ export const PurchaseColumn = [ { key: "totalAmount", label: "Total Amount", - className: " text-end w-min", + className: "text-end", render: (item) => ( {formatFigure(item?.totalAmount, { type: "currency" })} ), diff --git a/src/pages/purchase/PurchasePage.jsx b/src/pages/purchase/PurchasePage.jsx index 2413b352..3096af31 100644 --- a/src/pages/purchase/PurchasePage.jsx +++ b/src/pages/purchase/PurchasePage.jsx @@ -47,7 +47,7 @@ const PurchasePage = () => { { label: "Purchase" }, ]} /> -
+
{" "}