Changing the position of Status in Collection list view.
This commit is contained in:
parent
7773b7a43b
commit
268bd2875f
@ -112,6 +112,16 @@ const CollectionList = ({ fromDate, toDate, isPending, searchString }) => {
|
||||
),
|
||||
align: "text-center",
|
||||
},
|
||||
{
|
||||
key: "status",
|
||||
label: "Status",
|
||||
getValue: (col) => (
|
||||
<span className={`badge bg-label-${col?.isActive ? "primary" : "danger"}`}>
|
||||
{col?.isActive ? "Active" : "Inactive"}
|
||||
</span>
|
||||
),
|
||||
align: "text-center",
|
||||
},
|
||||
{
|
||||
key: "amount",
|
||||
label: "Total Amount",
|
||||
@ -128,16 +138,7 @@ const CollectionList = ({ fromDate, toDate, isPending, searchString }) => {
|
||||
),
|
||||
align: "text-end",
|
||||
},
|
||||
{
|
||||
key: "status",
|
||||
label: "Status",
|
||||
getValue: (col) => (
|
||||
<span className={`badge bg-label-${col?.isActive ? "primary" : "danger"}`}>
|
||||
{col?.isActive ? "Active" : "Inactive"}
|
||||
</span>
|
||||
),
|
||||
align: "text-center",
|
||||
},
|
||||
|
||||
{
|
||||
key: "balance",
|
||||
label: "Balance",
|
||||
|
||||
@ -126,7 +126,7 @@ const CollectionPage = () => {
|
||||
}`}
|
||||
onClick={() => setShowPending(false)}
|
||||
>
|
||||
All
|
||||
Show All
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user