Logbook
This commit is contained in:
46
apps/hub/app/(app)/logbook/_components/LogbookTable.tsx
Normal file
46
apps/hub/app/(app)/logbook/_components/LogbookTable.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import { PaginatedTable } from "../../../_components/PaginatedTable";
|
||||
|
||||
export default async () => {
|
||||
return (
|
||||
<>
|
||||
<PaginatedTable
|
||||
prismaModel="user"
|
||||
searchFields={["publicId", "firstname", "lastname", "email"]}
|
||||
columns={[
|
||||
{
|
||||
header: "Station",
|
||||
accessorKey: "station",
|
||||
},
|
||||
{
|
||||
header: "Alarmzeit",
|
||||
accessorKey: "alarm",
|
||||
},
|
||||
{
|
||||
header: "Status 3",
|
||||
accessorKey: "s3",
|
||||
},
|
||||
{
|
||||
header: "Status 4",
|
||||
accessorKey: "s4",
|
||||
},
|
||||
{
|
||||
header: "Status 7",
|
||||
accessorKey: "s7",
|
||||
},
|
||||
{
|
||||
header: "Status 8",
|
||||
accessorKey: "s8",
|
||||
},
|
||||
{
|
||||
header: "Status 1",
|
||||
accessorKey: "s1",
|
||||
},
|
||||
{
|
||||
header: "Flugzeit",
|
||||
accessorKey: "fz",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user