= ({
className={`${borderColor}`}
>
- {Title}
+ {Title !== t("All Team") ?
+
{Title}
+ :
+
{Title}
+ }
+
+ {ClickedIndex === Index ?
+
+ :
+
+ }
+
-
+
+ {Title !== t("All Team") ?
+ <>
+ handleCheckProjectStatusClick(TeamId)} className="bg-lime-100 mb-2 border-b-2 pt-1 pb-1 hover:bg-lime-200" style={{ width: "100%", textAlign: "center", color: "#898d8d" }}>{t("Check Project Status")}
+ >
+ :
+ <>
>
+ }
- {t("Total Active Project")}
+ {"(a) " + t("Total Active Project")}
{TotalActiveProjectNumber.toLocaleString()}
- {t("Total Fees")}
+ {"(b) " + t("Total Fees")}
{TotalFees.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
- {t("Total Budget")}
+ {"(c) " + t("Total Budget")}
{TotalBudget.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
+
- {t("Total Cumulative Expenditure")}
+ {"(d) " + t("Total Cumulative Expenditure")}
{TotalCumulative.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
- {t("Total Invoiced Amount")}
+ {"(e) " + t("Total Invoiced Amount")}
{TotalInvoicedAmount.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
- {t("Total Un-Invoiced Amount")}
+ {"(f) " + t("Total Un-Invoiced Amount")}
{TotalUnInvoicedAmount.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
+
- {t("Total Received Amount")}
+ {"(g) " + t("Total Received Amount")}
{TotalReceivedAmount.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
- {t("Cash Flow Status")}
+ {"(h) " + t("Cash Flow Status")}
{CashFlowStatus === "Negative" && (
<>
-
- {t(CashFlowStatus)}
-
+
+ {t(CashFlowStatus)}
+
+
+
{"Positive: (e) > or = (d)"}
+
{"Negative: (e) < (d)"}
+
>
)}
@@ -148,6 +185,10 @@ const ProjectFinancialCard: React.FC = ({
>
{t(CashFlowStatus)}