updates on the ui changes

This commit is contained in:
2026-09-19 15:50:02 +05:30
parent 3e2e9cad3a
commit 7992208361
18 changed files with 243 additions and 263 deletions

View File

@@ -141,16 +141,6 @@ export default function Customers({ embedded = false }) {
return (
<Stack space="lg">
{!embedded && (
<PageHeader
actions={
<Button onClick={() => navigate('/doormile/customer/create')}>
<Plus className="mr-1.5 h-4 w-4" /> New customer
</Button>
}
/>
)}
<Grid cols={4}>
<KpiCard
icon={Users}
@@ -195,6 +185,11 @@ export default function Customers({ embedded = false }) {
onSearchChange={setSearch}
placeholder="Search by name, phone or email"
count={{ shown: rows.length, total: customers.length, noun: 'customers' }}
actions={
<Button onClick={() => navigate('/doormile/customer/create')}>
<Plus className="mr-1.5 h-4 w-4" /> New customer
</Button>
}
/>
<DataTable