diff --git a/src/components/Layout/Sidebar.jsx b/src/components/Layout/Sidebar.jsx
index b41cb654..1f4b63b8 100644
--- a/src/components/Layout/Sidebar.jsx
+++ b/src/components/Layout/Sidebar.jsx
@@ -99,7 +99,7 @@ const MenuItem = (item) => {
className={`menu-link ${hasSubmenu ? "menu-toggle" : ""}`}
target={item.link?.includes("http") ? "_blank" : undefined}
>
-
+ {item.icon && }
diff --git a/src/pages/AdvancePayment/AdvancePaymentPage.jsx b/src/pages/AdvancePayment/AdvancePaymentPage.jsx
index e81c69a5..9af4a6c9 100644
--- a/src/pages/AdvancePayment/AdvancePaymentPage.jsx
+++ b/src/pages/AdvancePayment/AdvancePaymentPage.jsx
@@ -26,7 +26,7 @@ export const useAdvancePaymentContext = () => {
};
const AdvancePaymentPage = () => {
const [balance, setBalance] = useState(null);
- const {control, reset, watch } = useForm({
+ const { control, reset, watch } = useForm({
defaultValues: {
employeeId: "",
},
@@ -39,14 +39,13 @@ const AdvancePaymentPage = () => {
employeeId: selectedEmpoyee || "",
});
}, [reset]);
-
return (
{
balance > 0 ? "text-success" : "text-danger"
} fs-5 fw-bold ms-1`}
>
- { balance > 0 ? : } {formatFigure(balance, {
+ {balance > 0 ? (
+
+ ) : (
+
+ )}{" "}
+ {formatFigure(balance, {
type: "currency",
currency: "INR",
})}
@@ -85,8 +89,6 @@ const AdvancePaymentPage = () => {