98ab73235f841c57e50c78678d2b17d4fedbfcc2
Multi-tenant cash flow tracker. All amounts in TRY, decimals preserved. Schema/validation: - lib/validation/finance.ts: financeEntrySchema with type enum, positive amount, date required, optional customer/invoice link, optional payment method. - lib/appwrite/finance-actions.ts: create/update/delete with audit; date HTML input normalized to ISO before write. - lib/appwrite/finance-queries.ts: listFinanceEntries ordered by date desc. UI: - /finance server page passes entries + customers to FinanceClient. - 5 stat cards: Gelir / Gider / Net (income-expense, color-coded by sign) / Alacaklar / Borçlar. - Type filter dropdown (Tümü/Gelir/Gider/Alacaklar/Borçlar) + global search (description/customer/amount). - 4 quick-add buttons let users start a new entry pre-filled with the desired type. Single FinanceFormSheet handles all 4 types via a Select. - Table: type badge (color-coded), signed amount (+ for income/receivable, − for expense/debt), date, customer, payment method label, description preview. Row dropdown: Edit / Delete. - Inline destructive Sil button in Sheet footer when editing.
Description
No description provided
Languages
TypeScript
99.5%
CSS
0.5%