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

@@ -195,14 +195,6 @@ export default function Tripsheets() {
return (
<Stack space="lg">
<PageHeader
actions={
<Button onClick={openCreate}>
<Plus className="mr-1.5 h-4 w-4" /> New tripsheet
</Button>
}
/>
<Grid cols={4}>
<KpiCard
icon={Truck}
@@ -248,6 +240,11 @@ export default function Tripsheets() {
onSearchChange={setSearch}
placeholder="Search by tripsheet id, hub or status"
count={{ shown: rows.length, total: tripsheets.length, noun: 'tripsheets' }}
actions={
<Button onClick={openCreate}>
<Plus className="mr-1.5 h-4 w-4" /> New tripsheet
</Button>
}
/>
<DataTable