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