Compare commits
3 Commits
6be21bd006
...
5242650ccd
| Author | SHA1 | Date | |
|---|---|---|---|
| 5242650ccd | |||
| a80b266fc7 | |||
| 4b82048d8e |
@ -407,3 +407,8 @@ body {
|
|||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-modal .ant-modal-content {
|
||||||
|
border-radius: 22px;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|||||||
10
index.html
10
index.html
@ -2,17 +2,17 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="./favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Web site created using create-react-app"
|
content="Web site created using create-react-app"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="/logo192.png" />
|
<link rel="apple-touch-icon" href="./logo192.png" />
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="./manifest.json" />
|
||||||
<link rel="stylesheet" href="/fonts/fonts.css" preload />
|
<link rel="stylesheet" href="./fonts/fonts.css" preload />
|
||||||
<link rel="stylesheet" href="/preload.css" preload />
|
<link rel="stylesheet" href="./preload.css" preload />
|
||||||
<script type="module" src="/src/index.jsx"></script>
|
<script type="module" src="/src/index.jsx"></script>
|
||||||
<title>Farm Control</title>
|
<title>Farm Control</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -65,7 +65,7 @@ const WizardView = ({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Flex vertical gap='middle' style={{ flexGrow: 1, width: '100%' }}>
|
<Flex vertical gap='middle' style={{ flexGrow: 1, width: '100%' }}>
|
||||||
<Title level={2} style={{ margin: 0 }}>
|
<Title level={2} style={{ margin: '0 0 8px 0', lineHeight: 0.7 }}>
|
||||||
{title}
|
{title}
|
||||||
</Title>
|
</Title>
|
||||||
<div style={{ minHeight: '260px', marginBottom: 4, width: '100%' }}>
|
<div style={{ minHeight: '260px', marginBottom: 4, width: '100%' }}>
|
||||||
|
|||||||
@ -252,7 +252,7 @@ export const Invoice = {
|
|||||||
readOnly: true,
|
readOnly: true,
|
||||||
value: (objectData) => {
|
value: (objectData) => {
|
||||||
if (objectData?.orderType == 'salesOrder') {
|
if (objectData?.orderType == 'salesOrder') {
|
||||||
return objectData?.order?.client
|
return objectData?.to
|
||||||
} else {
|
} else {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ const __filename = fileURLToPath(import.meta.url)
|
|||||||
const __dirname = path.dirname(__filename)
|
const __dirname = path.dirname(__filename)
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/',
|
base: './', // Required for Electron file:// protocol - absolute paths fail
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
three: path.resolve(__dirname, 'node_modules/three')
|
three: path.resolve(__dirname, 'node_modules/three')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user