update
This commit is contained in:
@@ -48,6 +48,7 @@ import { useNavigate } from 'react-router-dom';
|
||||
import { format, parseISO } from 'date-fns';
|
||||
import DashboardLayout from '../components/dashboard/DashboardLayout';
|
||||
import ChatAwareFab from '../components/shared/ChatAwareFab';
|
||||
import GermanDateField from '../components/shared/GermanDateField';
|
||||
import ServiceModePage from '../components/shared/ServiceModePage';
|
||||
import { useAuth } from '../contexts/AuthContext';
|
||||
import { usePermissionContext } from '../contexts/PermissionContext';
|
||||
@@ -262,22 +263,18 @@ function FahrzeugBuchungen() {
|
||||
{/* Filters */}
|
||||
<Paper sx={{ p: 2, mb: 2 }}>
|
||||
<Stack direction={{ xs: 'column', sm: 'row' }} spacing={2} alignItems="center">
|
||||
<TextField
|
||||
<GermanDateField
|
||||
size="small"
|
||||
label="Von"
|
||||
type="date"
|
||||
value={filterFrom}
|
||||
onChange={(e) => setFilterFrom(e.target.value)}
|
||||
InputLabelProps={{ shrink: true }}
|
||||
onChange={(iso) => setFilterFrom(iso)}
|
||||
sx={{ minWidth: 160 }}
|
||||
/>
|
||||
<TextField
|
||||
<GermanDateField
|
||||
size="small"
|
||||
label="Bis"
|
||||
type="date"
|
||||
value={filterTo}
|
||||
onChange={(e) => setFilterTo(e.target.value)}
|
||||
InputLabelProps={{ shrink: true }}
|
||||
onChange={(iso) => setFilterTo(iso)}
|
||||
sx={{ minWidth: 160 }}
|
||||
/>
|
||||
<FormControl size="small" sx={{ minWidth: 180 }}>
|
||||
|
||||
Reference in New Issue
Block a user