mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
TODO Cleanup (#9152)
This commit is contained in:
parent
c3f737b320
commit
05fa36df72
@ -206,9 +206,6 @@ export function useStockFields({
|
||||
delete_on_deplete: {}
|
||||
};
|
||||
|
||||
// TODO: Handle custom field management based on provided options
|
||||
// TODO: refer to stock.py in original codebase
|
||||
|
||||
// Remove the expiry date field if it is not enabled
|
||||
if (!globalSettings.isSet('STOCK_ENABLE_EXPIRY')) {
|
||||
delete fields.expiry_date;
|
||||
|
@ -184,19 +184,19 @@ export default function SystemSettings() {
|
||||
'PART_NAME_FORMAT',
|
||||
'PART_SHOW_RELATED',
|
||||
'PART_CREATE_INITIAL',
|
||||
'PART_CREATE_SUPPLIER', // TODO: Break here
|
||||
'PART_CREATE_SUPPLIER',
|
||||
'PART_TEMPLATE',
|
||||
'PART_ASSEMBLY',
|
||||
'PART_COMPONENT',
|
||||
'PART_TRACKABLE',
|
||||
'PART_PURCHASEABLE',
|
||||
'PART_SALABLE',
|
||||
'PART_VIRTUAL', // TODO: Break here
|
||||
'PART_VIRTUAL',
|
||||
'PART_COPY_BOM',
|
||||
'PART_COPY_PARAMETERS',
|
||||
'PART_COPY_TESTS',
|
||||
'PART_CATEGORY_PARAMETERS',
|
||||
'PART_CATEGORY_DEFAULT_ICON' // TODO: Move to part category settings page
|
||||
'PART_CATEGORY_DEFAULT_ICON'
|
||||
]}
|
||||
/>
|
||||
)
|
||||
|
@ -129,8 +129,6 @@ function partTableColumns(): TableColumn[] {
|
||||
);
|
||||
}
|
||||
|
||||
// TODO: Add extra information on stock "demand"
|
||||
|
||||
if (stock <= 0) {
|
||||
color = 'red';
|
||||
text = t`No stock`;
|
||||
|
@ -119,8 +119,6 @@ export default function PluginListTable() {
|
||||
render: (record: any) => {
|
||||
return record?.meta.version;
|
||||
}
|
||||
|
||||
// TODO: Display date information if available
|
||||
},
|
||||
{
|
||||
accessor: 'meta.author',
|
||||
|
Loading…
x
Reference in New Issue
Block a user