Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-22 17:52:23 +00:00
co-authored by renee-png
parent 411e252819
commit 5b094ff5da
2 changed files with 39 additions and 36 deletions
+3 -1
View File
@@ -12,7 +12,6 @@ import { useAuth } from "@/lib/auth";
import { ArrowLeft, Edit, Plus, Building2, User, MapPin, Mail, Phone, Users, Activity, Briefcase, FileDown, Contact, Receipt, Archive, ArchiveRestore, ListPlus, Save, DollarSign } from "lucide-react";
import { ContactsLinkTab } from "@/components/contacts/contacts-link-tab";
import { ClientCustomFieldsTab } from "@/components/clients/client-custom-fields-tab";
import { AdjustFeesTab } from "@/components/clients/adjust-fees-tab";
import { formatCurrency, formatDate, formatDateTime, statusBadgeClass } from "@/lib/format";
import { toast } from "sonner";
import { downloadStatusReport, saveStatusReportToDb } from "@/lib/status-pdf";
@@ -152,6 +151,9 @@ function ClientDetail() {
<Button variant="outline" onClick={() => navigate({ to: "/invoices/new/$clientId", params: { clientId: client.id } })}>
<Receipt className="h-4 w-4 mr-2" /> Generate invoice
</Button>
<Button variant="outline" onClick={() => navigate({ to: "/clients/$clientId/fees", params: { clientId: client.id } })}>
<DollarSign className="h-4 w-4 mr-2" /> Adjust Fees
</Button>
<Button onClick={() => navigate({ to: "/cases/new", search: { clientId: client.id } })}>
<Plus className="h-4 w-4 mr-2" /> New case
</Button>