feat: web sprint 250-262 — plans/clients/tickets/audit/profile/settings/leads/reports #26
@@ -528,7 +528,22 @@ export default function ClientDetailPage() {
|
|||||||
{/* Profile */}
|
{/* Profile */}
|
||||||
{activeTab === "profile" && (
|
{activeTab === "profile" && (
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader><CardTitle>Client Profile</CardTitle></CardHeader>
|
<CardHeader>
|
||||||
|
<div className="flex items-center justify-between">
|
||||||
|
<CardTitle>Client Profile</CardTitle>
|
||||||
|
<div className="flex gap-2 flex-wrap">
|
||||||
|
<Button size="sm" variant="outline" onClick={() => router.push(`/tickets?clientId=${client.id}`)}>
|
||||||
|
<Ticket className="h-3.5 w-3.5 mr-1" /> View Tickets
|
||||||
|
</Button>
|
||||||
|
<Button size="sm" variant="outline" onClick={() => router.push(`/invoices?clientId=${client.id}`)}>
|
||||||
|
<FileText className="h-3.5 w-3.5 mr-1" /> View Invoices
|
||||||
|
</Button>
|
||||||
|
<Button size="sm" variant="outline" onClick={() => router.push(`/payments?clientId=${client.id}`)}>
|
||||||
|
<CreditCard className="h-3.5 w-3.5 mr-1" /> View Payments
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<dl className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
<dl className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||||
{[
|
{[
|
||||||
|
|||||||
Reference in New Issue
Block a user