diff --git a/src/pages/accounting/AccountingBillsPage.tsx b/src/pages/accounting/AccountingBillsPage.tsx index e3913b7..7997e63 100644 --- a/src/pages/accounting/AccountingBillsPage.tsx +++ b/src/pages/accounting/AccountingBillsPage.tsx @@ -10,7 +10,8 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, DialogFooter } from "@/components/ui/dialog"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from "@/components/ui/table"; -import { Plus, Trash2, Search, Receipt, Upload, Sparkles, FileText, X, AlertCircle, Printer, Loader2, Pencil } from "lucide-react"; +import { Plus, Trash2, Search, Receipt, Upload, Sparkles, FileText, X, AlertCircle, Printer, Loader2, Pencil, Repeat } from "lucide-react"; +import { Link } from "react-router-dom"; import { toast } from "sonner"; import { money, fmtDate } from "./lib/format"; import { StatusBadge } from "./components/StatusBadge"; @@ -600,6 +601,8 @@ export default function AccountingBillsPage() { )}

Bills

+
+ { setOpen(o); if (!o) resetForm(); }}> @@ -765,6 +768,7 @@ export default function AccountingBillsPage() { +
{/* Aging summary */} diff --git a/src/pages/accounting/AccountingJournalEntriesPage.tsx b/src/pages/accounting/AccountingJournalEntriesPage.tsx index 4624427..fe23737 100644 --- a/src/pages/accounting/AccountingJournalEntriesPage.tsx +++ b/src/pages/accounting/AccountingJournalEntriesPage.tsx @@ -12,7 +12,8 @@ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from " import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from "@/components/ui/table"; import { Sheet, SheetContent, SheetHeader, SheetTitle } from "@/components/ui/sheet"; -import { Plus, Trash2, ChevronRight, AlertCircle, Loader2, Pencil } from "lucide-react"; +import { Plus, Trash2, ChevronRight, AlertCircle, Loader2, Pencil, Repeat } from "lucide-react"; +import { Link } from "react-router-dom"; import { toast } from "sonner"; import { money, fmtDate } from "./lib/format"; @@ -208,9 +209,14 @@ export default function AccountingJournalEntriesPage() {

Journal Entries

Manual double-entry journal entries

- +
+ + +
diff --git a/src/pages/accounting/AccountingLayout.tsx b/src/pages/accounting/AccountingLayout.tsx index 5fb5891..079ee57 100644 --- a/src/pages/accounting/AccountingLayout.tsx +++ b/src/pages/accounting/AccountingLayout.tsx @@ -45,7 +45,7 @@ const NAV: NavSection[] = [ { to: "chart-of-accounts", label: "Chart of Accounts" }, { to: "budgets", label: "Budgeting" }, { to: "journal-entries", label: "Journal Entries" }, - { to: "recurring", label: "Recurring" }, + { to: "recurring", label: "Recurring (Bills & Journals)" }, { to: "general-ledger", label: "General Ledger" }, { to: "banking", label: "Banking" }, { to: "reconciliation", label: "Reconciliation" },