Compare commits
No commits in common. "6fd375b4c9de59439af768eac80905e85c79b361" and "478010ea5bbc7ab0ae718fefc423cc9234cda9b0" have entirely different histories.
6fd375b4c9
...
478010ea5b
@ -1,9 +1,7 @@
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { useState } from 'react'
|
import { Button, Flex, Typography, Card } from 'antd'
|
||||||
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
|
||||||
|
|
||||||
@ -11,65 +9,18 @@ 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'>
|
<Flex vertical gap='middle'>
|
||||||
<Text>
|
<Text>
|
||||||
A new Farm Control update is available. Would you like to update now?
|
A new Farm Control update is available. Would you like to update now?
|
||||||
</Text>
|
</Text>
|
||||||
<Card styles={{ body: { padding: '12px 18px 12px 12px' } }}>
|
<Card styles={{ body: { padding: 12 } }}>
|
||||||
<Flex gap={12} style={{ width: '100%' }}>
|
<Flex gap={12}>
|
||||||
<FarmControlAppIcon style={{ width: '70px', height: '70px' }} />
|
<FarmControlAppIcon style={{ width: '70px', height: '70px' }} />
|
||||||
<Flex vertical gap={2} justify='center' style={{ width: '100%' }}>
|
<Flex vertical gap={2} justify='center'>
|
||||||
<Title level={3} style={{ margin: 0 }}>
|
<Title level={3} style={{ margin: 0 }}>
|
||||||
{'Farm Control UI'}
|
{'Farm Control UI'}
|
||||||
</Title>
|
</Title>
|
||||||
<Flex
|
|
||||||
align='center'
|
|
||||||
justify='space-between'
|
|
||||||
style={{ width: '100%' }}
|
|
||||||
>
|
|
||||||
<Flex style={{ columnGap: '15px', rowGap: '8px' }}>
|
<Flex style={{ columnGap: '15px', rowGap: '8px' }}>
|
||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
Version:{' '}
|
Version:{' '}
|
||||||
@ -80,21 +31,13 @@ const NewAppUpdate = ({ update, onCancel, onUpdate }) => {
|
|||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
Build Number:{' '}
|
Build Number:{' '}
|
||||||
<Text>
|
<Text>
|
||||||
{update?.buildNumber
|
{update?.buildNumber ? `b${update.buildNumber}` : 'Unknown'}
|
||||||
? `b${update.buildNumber}`
|
|
||||||
: 'Unknown'}
|
|
||||||
</Text>
|
</Text>
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={{ margin: 0 }} type='secondary'>
|
<Text style={{ margin: 0 }} type='secondary'>
|
||||||
Branch: <Text>{update?.branch || 'Unknown'}</Text>
|
Branch: <Text>{update?.branch || 'Unknown'}</Text>
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Dropdown menu={actionsMenu}>
|
|
||||||
<Button size='small' type='text'>
|
|
||||||
Actions
|
|
||||||
</Button>
|
|
||||||
</Dropdown>
|
|
||||||
</Flex>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Card>
|
</Card>
|
||||||
@ -115,27 +58,7 @@ const NewAppUpdate = ({ update, onCancel, onUpdate }) => {
|
|||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</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>
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -96,8 +96,7 @@ 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,8 +42,7 @@ 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,8 +115,7 @@ 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,8 +88,7 @@ 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,8 +104,7 @@ 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,8 +79,7 @@ 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,8 +86,7 @@ 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,8 +93,7 @@ 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,8 +108,7 @@ 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,8 +114,7 @@ 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,8 +119,7 @@ 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,8 +55,7 @@ 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,8 +106,7 @@ 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,8 +126,7 @@ 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,8 +98,7 @@ 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: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -57,8 +57,7 @@ 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,8 +154,7 @@ 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,8 +138,7 @@ 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,8 +180,7 @@ 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,8 +89,7 @@ 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,8 +37,7 @@ 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,8 +76,7 @@ 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: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -101,8 +101,7 @@ 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,8 +111,7 @@ 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,8 +53,7 @@ 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: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -234,7 +234,7 @@ export const Printer = {
|
|||||||
objectType: 'printer',
|
objectType: 'printer',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 180
|
columnWidth: 150
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'createdAt',
|
name: 'createdAt',
|
||||||
|
|||||||
@ -126,8 +126,7 @@ 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,8 +92,7 @@ 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,8 +121,7 @@ export const ProductSku = {
|
|||||||
columnFixed: 'left',
|
columnFixed: 'left',
|
||||||
objectType: 'productSku',
|
objectType: 'productSku',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true
|
||||||
columnWidth: 180
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@ -120,8 +120,7 @@ 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: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -214,7 +214,7 @@ export const SalesOrder = {
|
|||||||
objectType: 'salesOrder',
|
objectType: 'salesOrder',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -167,7 +167,7 @@ export const Shipment = {
|
|||||||
objectType: 'shipment',
|
objectType: 'shipment',
|
||||||
showCopy: true,
|
showCopy: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
columnWidth: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@ -45,8 +45,7 @@ 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: 180
|
columnWidth: 140
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'updatedAt',
|
name: 'updatedAt',
|
||||||
|
|||||||
@ -45,8 +45,7 @@ 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,8 +112,7 @@ 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,8 +57,7 @@ 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,8 +104,7 @@ 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,8 +97,7 @@ 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,8 +63,7 @@ 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,8 +113,7 @@ 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