import StockAuditIcon from '../../components/Icons/StockAuditIcon' import InfoCircleIcon from '../../components/Icons/InfoCircleIcon' export const StockAudit = { name: 'stockAudit', label: 'Stock Audit', prefix: 'SAU', icon: StockAuditIcon, actions: [ { name: 'info', label: 'Info', default: true, row: true, icon: InfoCircleIcon, url: (_id) => `/dashboard/inventory/stockaudits/info?stockAuditId=${_id}` } ], url: (id) => `/dashboard/inventory/stockaudits/info?stockAuditId=${id}`, columns: ['_reference', 'state', 'createdAt', 'updatedAt'], filters: ['_id'], sorters: ['createdAt', 'updatedAt'], group: ['state'], properties: [ { name: '_id', label: 'ID', type: 'id', objectType: 'stockAudit', showCopy: true, readOnly: true }, { name: 'createdAt', label: 'Created At', type: 'dateTime', readOnly: true }, { name: 'state', label: 'State', type: 'state', readOnly: true, columnWidth: 120 }, { name: 'updatedAt', label: 'Updated At', type: 'dateTime', readOnly: true } ] }