DriverLicenseForm
This commit is contained in:
@ -12,7 +12,7 @@ function App() {
|
|||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route element={<Layout />}>
|
<Route element={<Layout />}>
|
||||||
<Route path="/" element={<div>a</div>} />
|
<Route path="/" element={<div>Главная страница ПО «Топливо и Транспорт»</div>} />
|
||||||
<Route path="/dictionaries" element={<Dictionaries />} />
|
<Route path="/dictionaries" element={<Dictionaries />} />
|
||||||
<Route path="/drivers" element={<DriverForm />} />
|
<Route path="/drivers" element={<DriverForm />} />
|
||||||
<Route path="/driversLicense" element={<DriverLicenseForm />} />
|
<Route path="/driversLicense" element={<DriverLicenseForm />} />
|
||||||
|
|||||||
@ -365,7 +365,7 @@ const DriversPageContent = () => {
|
|||||||
<td>{dateToDDMMYYYY(driver.birthday)}</td>
|
<td>{dateToDDMMYYYY(driver.birthday)}</td>
|
||||||
<td>{driver.iin}</td>
|
<td>{driver.iin}</td>
|
||||||
<td>
|
<td>
|
||||||
<Group spacing="xs" noWrap>
|
<Group spacing="xs">
|
||||||
<Tooltip label="Редактировать">
|
<Tooltip label="Редактировать">
|
||||||
<ActionIcon color="blue" onClick={() => handleOpenEditModal(driver)}>
|
<ActionIcon color="blue" onClick={() => handleOpenEditModal(driver)}>
|
||||||
<IconPencil size={16} />
|
<IconPencil size={16} />
|
||||||
@ -404,7 +404,7 @@ const DriversPageContent = () => {
|
|||||||
<Text size="sm" color="dimmed">Водительские удостоверения отсутствуют.</Text>
|
<Text size="sm" color="dimmed">Водительские удостоверения отсутствуют.</Text>
|
||||||
)}
|
)}
|
||||||
<Group position="right" mt="sm">
|
<Group position="right" mt="sm">
|
||||||
<Button variant="light" size="xs" leftIcon={<IconPlus size={14}/>} onClick={() => handleOpenAddLicenseModal(driver)}>
|
<Button variant="light" size="xs" onClick={() => handleOpenAddLicenseModal(driver)}>
|
||||||
Добавить ВУ
|
Добавить ВУ
|
||||||
</Button>
|
</Button>
|
||||||
</Group>
|
</Group>
|
||||||
@ -418,10 +418,10 @@ const DriversPageContent = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{ position: 'relative' }}>
|
<Box sx={{ position: 'relative' }}>
|
||||||
<LoadingOverlay visible={loading} overlayBlur={2} />
|
<LoadingOverlay visible={loading} />
|
||||||
<Group position="apart" mb="xl">
|
<Group position="apart" mb="xl">
|
||||||
<Title order={2}>Водители</Title>
|
<Title order={2}>Водители</Title>
|
||||||
<Button leftIcon={<IconPlus size={16} />} onClick={handleOpenAddModal}>
|
<Button onClick={handleOpenAddModal}>
|
||||||
Добавить водителя
|
Добавить водителя
|
||||||
</Button>
|
</Button>
|
||||||
</Group>
|
</Group>
|
||||||
|
|||||||
Reference in New Issue
Block a user