AI Assistant
+Dashboard
-Dashboard
+Expense
-Expense
+Income Dashboard
-Income Dashboard
+Accounts
-{account.name}
- {editingId === index && editingField === 'balance' ? ( - setEditValue(e.target.value)} - onBlur={() => handleValueChange(index, editValue)} - onKeyPress={(e) => { - if (e.key === 'Enter') { - handleValueChange(index, editValue); - } - }} - /> - ) : ( -- Balance: ₹{account.balance.toLocaleString()} - -
- )} - {account.type === "Credit" && ( - <> -Type: {account.cardType}
-Expires: {account.expiryDate}
-Credit Limit: ₹{account.creditAmount.toLocaleString()}
- > - )} - {account.isRecurringIncome && ( - editingId === index && editingField === 'recurringAmount' ? ( +Accounts
+{account.name}
+ {editingId === index && editingField === 'balance' ? ( ) : ( -- Monthly Income: ₹{account.recurringAmount.toLocaleString()} +
+ Balance: ₹{account.balance.toLocaleString()}
- ) - )} + )} + {account.type === "Credit" && ( + <> +Type: {account.cardType}
+Expires: {account.expiryDate}
+Credit Limit: ₹{account.creditAmount.toLocaleString()}
+ > + )} + {account.isRecurringIncome && ( + editingId === index && editingField === 'recurringAmount' ? ( + setEditValue(e.target.value)} + onBlur={() => handleValueChange(index, editValue)} + onKeyPress={(e) => { + if (e.key === 'Enter') { + handleValueChange(index, editValue); + } + }} + /> + ) : ( ++ Monthly Income: ₹{account.recurringAmount.toLocaleString()} + +
+ ) + )} +AI Financial Insights
-- Personalized Financial Recommendations -
-Daily Insights
--
- {insights.daily.map((insight, index) => renderInsight(insight, `daily-${index}`))}
-
Weekly Analysis
--
- {insights.weekly.map((insight, index) => renderInsight(insight, `weekly-${index}`))}
-
AI Financial Insights
+Monthly Overview
--
- {insights.monthly.map((insight, index) => renderInsight(insight, `monthly-${index}`))}
-
+ Personalized Financial Recommendations +
+Daily Insights
+-
+ {insights.daily.map((insight, index) => renderInsight(insight, `daily-${index}`))}
+
Yearly Projections
--
- {insights.yearly.map((insight, index) => renderInsight(insight, `yearly-${index}`))}
-
Weekly Analysis
+-
+ {insights.weekly.map((insight, index) => renderInsight(insight, `weekly-${index}`))}
+
Monthly Overview
+-
+ {insights.monthly.map((insight, index) => renderInsight(insight, `monthly-${index}`))}
+
Yearly Projections
+-
+ {insights.yearly.map((insight, index) => renderInsight(insight, `yearly-${index}`))}
+
Settings
-Settings
+- {currentUser ? "Already Logged In" : "Login"} -
-- {currentUser - ? `Welcome back, ${currentUser.email}` - : "Hi, Welcome back 👋"} -
-+ {currentUser ? "Already Logged In" : "Login"} +
++ {currentUser + ? `Welcome back, ${currentUser.email}` + : "Hi, Welcome back 👋"} +
- You are currently logged in. You can: -
- - + {error && ( ++ You are currently logged in. You can: +
+ + +- Not registered yet?{" "} - - Create an account - -
- > - )} ++ Not registered yet?{" "} + + Create an account + +
+ > + )} +Sign Up
-- Enter your details to create your Fintrack account: -
-Sign Up
++ Enter your details to create your Fintrack account: +
- Already have a Fintrack Account?{" "} - - Log In - -