Adding End Date at the view Recurring Expense.
This commit is contained in:
parent
b016f4a523
commit
9e18dda02f
@ -31,8 +31,7 @@ const ViewRecurringExpense = ({ RecurringId }) => {
|
|||||||
<div className="col-12 d-flex justify-content-between text-start fw-semibold my-2 mb-4">
|
<div className="col-12 d-flex justify-content-between text-start fw-semibold my-2 mb-4">
|
||||||
<span>{data?.recurringPaymentUID}</span>
|
<span>{data?.recurringPaymentUID}</span>
|
||||||
<span
|
<span
|
||||||
className={`badge bg-label-${
|
className={`badge bg-label-${statusColorMap[data?.status?.id] || "secondary"
|
||||||
statusColorMap[data?.status?.id] || "secondary"
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{data?.status?.name || "N/A"}
|
{data?.status?.name || "N/A"}
|
||||||
@ -234,10 +233,12 @@ const ViewRecurringExpense = ({ RecurringId }) => {
|
|||||||
className="form-label me-2 mb-0 fw-semibold text-start"
|
className="form-label me-2 mb-0 fw-semibold text-start"
|
||||||
style={{ minWidth: "130px" }}
|
style={{ minWidth: "130px" }}
|
||||||
>
|
>
|
||||||
Number of Iteration :
|
End Date :
|
||||||
</label>
|
</label>
|
||||||
<div className="text-muted">
|
<div className="text-muted" style={{ textAlign: "left" }}>
|
||||||
{data?.numberOfIteration || "N/A"}
|
{data?.endDate
|
||||||
|
? formatUTCToLocalTime(data.endDate, true)
|
||||||
|
: "N/A"}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -259,8 +260,7 @@ const ViewRecurringExpense = ({ RecurringId }) => {
|
|||||||
lastName={data?.createdBy?.lastName}
|
lastName={data?.createdBy?.lastName}
|
||||||
/>
|
/>
|
||||||
<span className="text-muted">
|
<span className="text-muted">
|
||||||
{`${data?.createdBy?.firstName ?? ""} ${
|
{`${data?.createdBy?.firstName ?? ""} ${data?.createdBy?.lastName ?? ""
|
||||||
data?.createdBy?.lastName ?? ""
|
|
||||||
}`.trim() || "N/A"}
|
}`.trim() || "N/A"}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -283,8 +283,7 @@ const ViewRecurringExpense = ({ RecurringId }) => {
|
|||||||
lastName={data.updatedBy.lastName}
|
lastName={data.updatedBy.lastName}
|
||||||
/>
|
/>
|
||||||
<span className="text-muted">
|
<span className="text-muted">
|
||||||
{`${data.updatedBy.firstName ?? ""} ${
|
{`${data.updatedBy.firstName ?? ""} ${data.updatedBy.lastName ?? ""
|
||||||
data.updatedBy.lastName ?? ""
|
|
||||||
}`.trim() || "N/A"}
|
}`.trim() || "N/A"}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user