diff --git a/src/components/collections/CollectionList.jsx b/src/components/collections/CollectionList.jsx
index bb94130e..339828ed 100644
--- a/src/components/collections/CollectionList.jsx
+++ b/src/components/collections/CollectionList.jsx
@@ -27,7 +27,7 @@ const CollectionList = ({ fromDate, toDate, isPending, searchString }) => {
const selectedProject = useSelectedProject();
const searchDebounce = useDebounce(searchString, 500);
-
+
const { data, isLoading, isError, error } = useCollections(
selectedProject,
searchDebounce,
@@ -40,7 +40,6 @@ const CollectionList = ({ fromDate, toDate, isPending, searchString }) => {
);
const { setProcessedPayment, setAddPayment, setViewCollection } =
useCollectionContext();
-
const paginate = (page) => {
if (page >= 1 && page <= (data?.totalPages ?? 1)) {
setCurrentPage(page);
@@ -129,6 +128,16 @@ const CollectionList = ({ fromDate, toDate, isPending, searchString }) => {
),
align: "text-end",
},
+ {
+ key: "status",
+ label: "Status",
+ getValue: (col) => (
+
+ {col?.isActive ? "Active" : "Inactive"}
+
+ ),
+ align: "text-center",
+ },
{
key: "balance",
label: "Balance",
diff --git a/src/components/collections/ViewCollection.jsx b/src/components/collections/ViewCollection.jsx
index 77bc78fe..fdf563b9 100644
--- a/src/components/collections/ViewCollection.jsx
+++ b/src/components/collections/ViewCollection.jsx
@@ -25,7 +25,6 @@ const ViewCollection = ({ onClose }) => {
if (isLoading) return
Collection Details
@@ -43,9 +42,8 @@ const ViewCollection = ({ onClose }) => {