+
+
-
-
#{invoice.invoiceNumber}
-
- {invoice.client?.name} •{" "}
+
+
+
+
+ #{invoice.invoiceNumber}
+
+
+ {invoice.client?.name}
+
+
+
+
+ {invoice.status}
+
+
+ ${invoice.totalAmount.toFixed(2)}
+
+
+
+
{new Date(invoice.issueDate).toLocaleDateString()}
-
-
- {invoice.status}
-
-
- ${invoice.totalAmount.toFixed(2)}
-
-
))}
diff --git a/src/app/dashboard/settings/_components/settings-content.tsx b/src/app/dashboard/settings/_components/settings-content.tsx
index d651251..1071c0a 100644
--- a/src/app/dashboard/settings/_components/settings-content.tsx
+++ b/src/app/dashboard/settings/_components/settings-content.tsx
@@ -15,8 +15,9 @@ import {
Building,
Key,
Eye,
- EyeOff,
FileUp,
+ ChevronDown,
+ Info,
} from "lucide-react";
import { api } from "~/trpc/react";
@@ -28,6 +29,11 @@ import {
CardHeader,
CardTitle,
} from "~/components/ui/card";
+import {
+ Collapsible,
+ CollapsibleContent,
+ CollapsibleTrigger,
+} from "~/components/ui/collapsible";
import { Input } from "~/components/ui/input";
import { Label } from "~/components/ui/label";
import { Textarea } from "~/components/ui/textarea";
@@ -358,20 +364,23 @@ export function SettingsContent() {
return (
-
-
-
+
+
+
+
+
+
+ {item.label}
+
+
+
+
+ {item.value}
+
-
{item.label}
-
- {item.value}
-
);
})}
@@ -500,12 +509,12 @@ export function SettingsContent() {
-
+
{/* Backup Information */}
-
-
Backup Information
-
- - • Regular backups protect your important business data
- - • Backup files contain all data in secure JSON format
- -
- • Import adds to existing data without replacing anything
-
- - • Upload JSON files directly or paste content manually
- - • Store backup files in a secure, accessible location
-
-
+
+
+
+
+
+ Backup Information
+
+
+
+
+
+
+
+ -
+ • Regular backups protect your important business data
+
+ -
+ • Backup files contain all data in secure JSON format
+
+ -
+ • Import adds to existing data without replacing anything
+
+ -
+ • Upload JSON files directly or paste content manually
+
+ -
+ • Store backup files in a secure, accessible location
+
+
+
+
+