added tracking notes
This commit is contained in:
6
.env
6
.env
@@ -31,9 +31,9 @@ EMAIL_FROM="SkyMoney Budget <no-reply@skymoneybudget.com>"
|
||||
EMAIL_BOUNCE_FROM=bounces@skymoneybudget.com
|
||||
EMAIL_REPLY_TO=support@skymoneybudget.com
|
||||
|
||||
UPDATE_NOTICE_VERSION=9
|
||||
UPDATE_NOTICE_TITLE="Rebalance tool bug correction"
|
||||
UPDATE_NOTICE_BODY="Fixed bug issue where available budget value is stale in user sessions and wont read updated value properly."
|
||||
UPDATE_NOTICE_VERSION=10
|
||||
UPDATE_NOTICE_TITLE="Tracking Notes for Expenses"
|
||||
UPDATE_NOTICE_BODY="Notes for daily transactions are now tracked in the database and are displayed in the records page next to the correlating transaction."
|
||||
ALLOW_INSECURE_AUTH_FOR_DEV=false
|
||||
JWT_ISSUER=skymoney-api
|
||||
JWT_AUDIENCE=skymoney-web
|
||||
|
||||
@@ -151,6 +151,7 @@ export default function TransactionsPage() {
|
||||
<th className="text-left py-3 px-4 muted text-xs font-semibold uppercase tracking-wide">Date</th>
|
||||
<th className="text-left py-3 px-4 muted text-xs font-semibold uppercase tracking-wide">Type</th>
|
||||
<th className="text-left py-3 px-4 muted text-xs font-semibold uppercase tracking-wide">Category</th>
|
||||
<th className="text-left py-3 px-4 muted text-xs font-semibold uppercase tracking-wide">Note</th>
|
||||
<th className="text-right py-3 px-4 muted text-xs font-semibold uppercase tracking-wide">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -172,7 +173,12 @@ export default function TransactionsPage() {
|
||||
{prettyKind(t.kind)}
|
||||
</span>
|
||||
</td>
|
||||
<td className="py-3 px-4 font-medium">{t.categoryName ?? t.planName ?? t.note ?? "–"}</td>
|
||||
<td className="py-3 px-4 font-medium">{t.categoryName ?? t.planName ?? "–"}</td>
|
||||
<td className="py-3 px-4 muted">
|
||||
<span className="block max-w-[26rem] truncate" title={t.note ?? undefined}>
|
||||
{t.note ?? "–"}
|
||||
</span>
|
||||
</td>
|
||||
<td className="py-3 px-4 text-right font-semibold">
|
||||
<Money cents={t.amountCents} />
|
||||
</td>
|
||||
@@ -190,7 +196,7 @@ export default function TransactionsPage() {
|
||||
<div key={t.id} className="rounded-xl border bg-[--color-panel] p-4 shadow-sm stack">
|
||||
<div className="row">
|
||||
<div className="stack">
|
||||
<span className="font-semibold">{t.categoryName ?? t.planName ?? t.note ?? "–"}</span>
|
||||
<span className="font-semibold">{t.categoryName ?? t.planName ?? "–"}</span>
|
||||
<span className="row gap-2 text-sm muted">
|
||||
<span
|
||||
className="inline-block w-2 h-2 rounded-full"
|
||||
@@ -210,7 +216,7 @@ export default function TransactionsPage() {
|
||||
</div>
|
||||
{t.note && (
|
||||
<div className="row mt-2">
|
||||
<span className="muted text-sm">{t.note}</span>
|
||||
<span className="muted text-sm">Note: {t.note}</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user