Skip to content

Commit c7d54d7

Browse files
committed
up
1 parent a9b6874 commit c7d54d7

5 files changed

Lines changed: 24 additions & 60 deletions

File tree

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -98,55 +98,37 @@ The **Budget View** helps users manage their **monthly salary**, define optional
9898
**Key capabilities include:**
9999

100100
* 💼 **Salary Management**
101-
102101
* Users can add their **monthly salary**.
103102
* Optionally, they can define a **monthly budget** that is less than or equal to their salary.
104103
* The system intelligently switches between:
105-
106104
* **Salary-based tracking** (if no budget is set)
107105
* **Budget-based tracking** (if a budget is defined)
108-
109106
* 📊 **Financial Overview Card**
110-
111107
* Displays:
112-
113108
* **Remaining Balance** (salary – expenses)
114109
* or **Remaining Budget** (budget – expenses)
115110
* Clearly shows **Total Income**, **Total Expenses**, and the remaining amount.
116-
117111
* 📅 **Month-wise Analysis**
118-
119112
* Users can switch between months using a month selector.
120113
* All calculations, analytics, and transactions update dynamically based on the selected month.
121-
122114
* 📈 **Daily Spending Analytics**
123-
124115
* **Allowed/Day** – Average amount the user can spend per day.
125116
* **Spent/Day** – Actual average spending per day so far.
126117
* **Suggested/Day** – Recommended spending per remaining day to stay within limits.
127-
128118
* 🟩 **Budget Usage Indicator**
129-
130119
* A dynamic progress bar visually represents how much of the salary or budget has been used.
131120
* Color indicators provide quick feedback:
132-
133121
* 🟢 Green – Healthy spending
134122
* 🟠 Orange – Caution zone
135123
* 🔴 Red – Overspending
136-
137124
* 🧠 **Smart Spending Insights**
138-
139125
* Displays contextual messages such as:
140-
141126
* “Excellent! You’re saving more than half your salary.”
142127
* “Careful! You’re running low on funds.”
143128
* “You have exceeded your salary!”
144129
* Helps users quickly understand their financial status without manual calculations.
145-
146130
* 🧾 **Transaction Management**
147-
148131
* Users can:
149-
150132
* Add salary entries
151133
* Edit existing salary or budget values
152134
* Attach optional notes for clarity

documentation/components/SalaryComponent.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

documentation/index.html

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -217,83 +217,65 @@ <h3>5. <strong>Budget &amp; Salary View</strong></h3>
217217
<p>The <strong>Budget View</strong> helps users manage their <strong>monthly salary</strong>, define optional <strong>budgets</strong>, and gain deep insights into their spending behavior.</p>
218218
<p><strong>Key capabilities include:</strong></p>
219219
<ul>
220-
<li><p>💼 <strong>Salary Management</strong></p>
221-
<ul>
222-
<li><p>Users can add their <strong>monthly salary</strong>.</p>
223-
</li>
224-
<li><p>Optionally, they can define a <strong>monthly budget</strong> that is less than or equal to their salary.</p>
225-
</li>
226-
<li><p>The system intelligently switches between:</p>
227-
<ul>
220+
<li>💼 <strong>Salary Management</strong><ul>
221+
<li>Users can add their <strong>monthly salary</strong>.</li>
222+
<li>Optionally, they can define a <strong>monthly budget</strong> that is less than or equal to their salary.</li>
223+
<li>The system intelligently switches between:<ul>
228224
<li><strong>Salary-based tracking</strong> (if no budget is set)</li>
229225
<li><strong>Budget-based tracking</strong> (if a budget is defined)</li>
230226
</ul>
231227
</li>
232228
</ul>
233229
</li>
234-
<li><p>📊 <strong>Financial Overview Card</strong></p>
235-
<ul>
236-
<li><p>Displays:</p>
237-
<ul>
230+
<li>📊 <strong>Financial Overview Card</strong><ul>
231+
<li>Displays:<ul>
238232
<li><strong>Remaining Balance</strong> (salary – expenses)</li>
239233
<li>or <strong>Remaining Budget</strong> (budget – expenses)</li>
240234
</ul>
241235
</li>
242-
<li><p>Clearly shows <strong>Total Income</strong>, <strong>Total Expenses</strong>, and the remaining amount.</p>
243-
</li>
236+
<li>Clearly shows <strong>Total Income</strong>, <strong>Total Expenses</strong>, and the remaining amount.</li>
244237
</ul>
245238
</li>
246-
<li><p>📅 <strong>Month-wise Analysis</strong></p>
247-
<ul>
239+
<li>📅 <strong>Month-wise Analysis</strong><ul>
248240
<li>Users can switch between months using a month selector.</li>
249241
<li>All calculations, analytics, and transactions update dynamically based on the selected month.</li>
250242
</ul>
251243
</li>
252-
<li><p>📈 <strong>Daily Spending Analytics</strong></p>
253-
<ul>
244+
<li>📈 <strong>Daily Spending Analytics</strong><ul>
254245
<li><strong>Allowed/Day</strong> – Average amount the user can spend per day.</li>
255246
<li><strong>Spent/Day</strong> – Actual average spending per day so far.</li>
256247
<li><strong>Suggested/Day</strong> – Recommended spending per remaining day to stay within limits.</li>
257248
</ul>
258249
</li>
259-
<li><p>🟩 <strong>Budget Usage Indicator</strong></p>
260-
<ul>
261-
<li><p>A dynamic progress bar visually represents how much of the salary or budget has been used.</p>
262-
</li>
263-
<li><p>Color indicators provide quick feedback:</p>
264-
<ul>
250+
<li>🟩 <strong>Budget Usage Indicator</strong><ul>
251+
<li>A dynamic progress bar visually represents how much of the salary or budget has been used.</li>
252+
<li>Color indicators provide quick feedback:<ul>
265253
<li>🟢 Green – Healthy spending</li>
266254
<li>🟠 Orange – Caution zone</li>
267255
<li>🔴 Red – Overspending</li>
268256
</ul>
269257
</li>
270258
</ul>
271259
</li>
272-
<li><p>🧠 <strong>Smart Spending Insights</strong></p>
273-
<ul>
274-
<li><p>Displays contextual messages such as:</p>
275-
<ul>
260+
<li>🧠 <strong>Smart Spending Insights</strong><ul>
261+
<li>Displays contextual messages such as:<ul>
276262
<li>“Excellent! You’re saving more than half your salary.”</li>
277263
<li>“Careful! You’re running low on funds.”</li>
278264
<li>“You have exceeded your salary!”</li>
279265
</ul>
280266
</li>
281-
<li><p>Helps users quickly understand their financial status without manual calculations.</p>
282-
</li>
267+
<li>Helps users quickly understand their financial status without manual calculations.</li>
283268
</ul>
284269
</li>
285-
<li><p>🧾 <strong>Transaction Management</strong></p>
286-
<ul>
287-
<li><p>Users can:</p>
288-
<ul>
270+
<li>🧾 <strong>Transaction Management</strong><ul>
271+
<li>Users can:<ul>
289272
<li>Add salary entries</li>
290273
<li>Edit existing salary or budget values</li>
291274
<li>Attach optional notes for clarity</li>
292275
<li>Delete salary records when needed</li>
293276
</ul>
294277
</li>
295-
<li><p>All changes reflect instantly across analytics and visualizations.</p>
296-
</li>
278+
<li>All changes reflect instantly across analytics and visualizations.</li>
297279
</ul>
298280
</li>
299281
</ul>

documentation/js/search/search_index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/features/salary/salary.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ <h3 class="text-xl font-semibold">Transactions</h3>
165165
</div>
166166
<div>
167167
@if(t.note) {
168-
<p class="font-medium truncate max-w-[60px]">{{ t.note }}</p>
168+
<p class="font-medium truncate max-w-[120px]">{{ t.note }}</p>
169169
} @else {
170-
<p class="font-medium truncate max-w-[60px]">Income</p>
170+
<p class="font-medium truncate max-w-[120px]">Income</p>
171171
}
172172
<div class="flex flex-col text-xs opacity-60">
173173
<div class="flex gap-2">

0 commit comments

Comments
 (0)