Compare commits
2 Commits
478010ea5b
...
6fd375b4c9
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fd375b4c9 | |||
| a205f1d1ad |
@ -1,7 +1,9 @@
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Button, Flex, Typography, Card } from 'antd'
|
import { useState } from 'react'
|
||||||
|
import { Button, Flex, Typography, Card, Dropdown, Modal, Table } from 'antd'
|
||||||
import TimeDisplay from '../../common/TimeDisplay'
|
import TimeDisplay from '../../common/TimeDisplay'
|
||||||
import FarmControlAppIcon from '../../../Logos/FarmControlAppIcon'
|
import FarmControlAppIcon from '../../../Logos/FarmControlAppIcon'
|
||||||
|
import EyeIcon from '../../../Icons/EyeIcon'
|
||||||
|
|
||||||
const { Text, Title } = Typography
|
const { Text, Title } = Typography
|
||||||
|
|
||||||
@ -9,56 +11,131 @@ const NewAppUpdate = ({ update, onCancel, onUpdate }) => {
|
|||||||
const artifacts = Array.isArray(update?.artifacts) ? update.artifacts : []
|
const artifacts = Array.isArray(update?.artifacts) ? update.artifacts : []
|
||||||
const primaryArtifact = artifacts.find((artifact) => artifact.url)
|
const primaryArtifact = artifacts.find((artifact) => artifact.url)
|
||||||
|
|
||||||
|
const [changesMenuOpen, setChangesMenuOpen] = useState(false)
|
||||||
|
|
||||||
|
const columns = [
|
||||||
|
{
|
||||||
|
title: 'Date',
|
||||||
|
dataIndex: 'date',
|
||||||
|
key: 'date',
|
||||||
|
width: 290,
|
||||||
|
render: (text, record) => {
|
||||||
|
return <TimeDisplay dateTime={record.date} showSince={true} />
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Author',
|
||||||
|
dataIndex: 'author',
|
||||||
|
key: 'author',
|
||||||
|
width: 180
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Message',
|
||||||
|
dataIndex: 'message',
|
||||||
|
key: 'message',
|
||||||
|
width: 500
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
const actionsMenu = {
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
label: 'View Changes',
|
||||||
|
key: 'viewChanges',
|
||||||
|
icon: <EyeIcon />
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onClick: ({ key }) => {
|
||||||
|
if (key === 'viewChanges') {
|
||||||
|
setChangesMenuOpen(true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex vertical gap='middle'>
|
<>
|
||||||
<Text>
|
<Flex vertical gap='middle'>
|
||||||
A new Farm Control update is available. Would you like to update now?
|
<Text>
|
||||||
</Text>
|
A new Farm Control update is available. Would you like to update now?
|
||||||
<Card styles={{ body: { padding: 12 } }}>
|
</Text>
|
||||||
<Flex gap={12}>
|
<Card styles={{ body: { padding: '12px 18px 12px 12px' } }}>
|
||||||
<FarmControlAppIcon style={{ width: '70px', height: '70px' }} />
|
<Flex gap={12} style={{ width: '100%' }}>
|
||||||
<Flex vertical gap={2} justify='center'>
|
<FarmControlAppIcon style={{ width: '70px', height: '70px' }} />
|
||||||
<Title level={3} style={{ margin: 0 }}>
|
<Flex vertical gap={2} justify='center' style={{ width: '100%' }}>
|
||||||
{'Farm Control UI'}
|
<Title level={3} style={{ margin: 0 }}>
|
||||||
</Title>
|
{'Farm Control UI'}
|
||||||
<Flex style={{ columnGap: '15px', rowGap: '8px' }}>
|
</Title>
|
||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Flex
|
||||||
Version:{' '}
|
align='center'
|
||||||
<Text>
|
justify='space-between'
|
||||||
{update?.version ? `v${update.version}` : 'Unknown'}
|
style={{ width: '100%' }}
|
||||||
</Text>
|
>
|
||||||
</Text>
|
<Flex style={{ columnGap: '15px', rowGap: '8px' }}>
|
||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
Build Number:{' '}
|
Version:{' '}
|
||||||
<Text>
|
<Text>
|
||||||
{update?.buildNumber ? `b${update.buildNumber}` : 'Unknown'}
|
{update?.version ? `v${update.version}` : 'Unknown'}
|
||||||
</Text>
|
</Text>
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
Branch: <Text>{update?.branch || 'Unknown'}</Text>
|
Build Number:{' '}
|
||||||
</Text>
|
<Text>
|
||||||
|
{update?.buildNumber
|
||||||
|
? `b${update.buildNumber}`
|
||||||
|
: 'Unknown'}
|
||||||
|
</Text>
|
||||||
|
</Text>
|
||||||
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
|
Branch: <Text>{update?.branch || 'Unknown'}</Text>
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
<Dropdown menu={actionsMenu}>
|
||||||
|
<Button size='small' type='text'>
|
||||||
|
Actions
|
||||||
|
</Button>
|
||||||
|
</Dropdown>
|
||||||
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Card>
|
||||||
</Card>
|
|
||||||
|
|
||||||
<Flex justify='space-between' gap='small' align='center'>
|
<Flex justify='space-between' gap='small' align='center'>
|
||||||
<Flex gap='small'>
|
<Flex gap='small'>
|
||||||
<Text type='secondary'>Built at:</Text>
|
<Text type='secondary'>Built at:</Text>
|
||||||
<TimeDisplay dateTime={update?.builtAt} />
|
<TimeDisplay dateTime={update?.builtAt} />
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex gap='small'>
|
<Flex gap='small'>
|
||||||
<Button onClick={onCancel}>Not Now</Button>
|
<Button onClick={onCancel}>Not Now</Button>
|
||||||
<Button
|
<Button
|
||||||
type='primary'
|
type='primary'
|
||||||
onClick={() => onUpdate(update)}
|
onClick={() => onUpdate(update)}
|
||||||
disabled={!primaryArtifact}
|
disabled={!primaryArtifact}
|
||||||
>
|
>
|
||||||
Update Now
|
Update Now
|
||||||
</Button>
|
</Button>
|
||||||
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
|
<Modal
|
||||||
|
open={changesMenuOpen}
|
||||||
|
onCancel={() => setChangesMenuOpen(false)}
|
||||||
|
footer={null}
|
||||||
|
title='View Changes'
|
||||||
|
width={1200}
|
||||||
|
>
|
||||||
|
<div style={{ marginTop: '20px' }}>
|
||||||
|
<Table
|
||||||
|
dataSource={update?.changes}
|
||||||
|
columns={columns}
|
||||||
|
scroll={{ x: 1100 }}
|
||||||
|
bordered={true}
|
||||||
|
pagination={false}
|
||||||
|
className='child-table'
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</Modal>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -96,7 +96,8 @@ export const AppPassword = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'appPassword',
|
objectType: 'appPassword',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -42,7 +42,8 @@ export const AuditLog = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'auditLog',
|
objectType: 'auditLog',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -115,7 +115,8 @@ export const Client = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'client',
|
objectType: 'client',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -88,7 +88,8 @@ export const Courier = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'courier',
|
objectType: 'courier',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -104,7 +104,8 @@ export const CourierService = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'courierService',
|
objectType: 'courierService',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -79,7 +79,8 @@ export const DocumentJob = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'documentJob',
|
objectType: 'documentJob',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -86,7 +86,8 @@ export const DocumentPrinter = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'documentPrinter',
|
objectType: 'documentPrinter',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -93,7 +93,8 @@ export const DocumentSize = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'documentSize',
|
objectType: 'documentSize',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -108,7 +108,8 @@ export const DocumentTemplate = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'documentTemplate',
|
objectType: 'documentTemplate',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -114,7 +114,8 @@ export const Filament = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'filament',
|
objectType: 'filament',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -119,7 +119,8 @@ export const FilamentSku = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'filamentSku',
|
objectType: 'filamentSku',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -55,7 +55,8 @@ export const FilamentStock = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'filamentStock',
|
objectType: 'filamentStock',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -106,7 +106,8 @@ export const File = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'file',
|
objectType: 'file',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -126,7 +126,8 @@ export const GCodeFile = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'gcodeFile',
|
objectType: 'gcodeFile',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -98,7 +98,8 @@ export const Host = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'host',
|
objectType: 'host',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -175,7 +175,7 @@ export const Invoice = {
|
|||||||
objectType: 'invoice',
|
objectType: 'invoice',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -57,7 +57,8 @@ export const Job = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'job',
|
objectType: 'job',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -154,7 +154,8 @@ export const Listing = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'listing',
|
objectType: 'listing',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -138,7 +138,8 @@ export const ListingVarient = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'listingVarient',
|
objectType: 'listingVarient',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -180,7 +180,8 @@ export const Marketplace = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'marketplace',
|
objectType: 'marketplace',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -89,7 +89,8 @@ export const Material = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'material',
|
objectType: 'material',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -37,7 +37,8 @@ export const Note = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'note',
|
objectType: 'note',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -76,7 +76,8 @@ export const NoteType = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'noteType',
|
objectType: 'noteType',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -130,7 +130,7 @@ export const OrderItem = {
|
|||||||
objectType: 'orderItem',
|
objectType: 'orderItem',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -101,7 +101,8 @@ export const Part = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'part',
|
objectType: 'part',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -111,7 +111,8 @@ export const PartSku = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'partSku',
|
objectType: 'partSku',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -53,7 +53,8 @@ export const PartStock = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'partStock',
|
objectType: 'partStock',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -142,7 +142,7 @@ export const Payment = {
|
|||||||
objectType: 'payment',
|
objectType: 'payment',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -234,7 +234,7 @@ export const Printer = {
|
|||||||
objectType: 'printer',
|
objectType: 'printer',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 150
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'createdAt',
|
name: 'createdAt',
|
||||||
|
|||||||
@ -126,7 +126,8 @@ export const Product = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'product',
|
objectType: 'product',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -92,7 +92,8 @@ export const ProductCategory = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'productCategory',
|
objectType: 'productCategory',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -121,7 +121,8 @@ export const ProductSku = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'productSku',
|
objectType: 'productSku',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@ -120,7 +120,8 @@ export const ProductStock = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'productStock',
|
objectType: 'productStock',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -232,7 +232,7 @@ export const PurchaseOrder = {
|
|||||||
objectType: 'purchaseOrder',
|
objectType: 'purchaseOrder',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -214,7 +214,7 @@ export const SalesOrder = {
|
|||||||
objectType: 'salesOrder',
|
objectType: 'salesOrder',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -167,7 +167,7 @@ export const Shipment = {
|
|||||||
objectType: 'shipment',
|
objectType: 'shipment',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@ -45,7 +45,8 @@ export const StockAudit = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'stockAudit',
|
objectType: 'stockAudit',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -37,7 +37,7 @@ export const StockEvent = {
|
|||||||
value: null,
|
value: null,
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 140
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -45,7 +45,8 @@ export const StockLocation = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'stockLocation',
|
objectType: 'stockLocation',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -112,7 +112,8 @@ export const StockTransfer = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'stockTransfer',
|
objectType: 'stockTransfer',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -57,7 +57,8 @@ export const SubJob = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'subJob',
|
objectType: 'subJob',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
|
|||||||
@ -104,7 +104,8 @@ export const TaxRate = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'taxRate',
|
objectType: 'taxRate',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -97,7 +97,8 @@ export const TaxRecord = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'taxRecord',
|
objectType: 'taxRecord',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'taxRate',
|
name: 'taxRate',
|
||||||
|
|||||||
@ -63,7 +63,8 @@ export const User = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'user',
|
objectType: 'user',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
@ -113,7 +113,8 @@ export const Vendor = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'vendor',
|
objectType: 'vendor',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
columnWidth: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'name',
|
name: 'name',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user