Skip to content

Commit

Permalink
Deprecate data imports for products and inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Feb 13, 2025
1 parent a372cab commit 41f03be
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/fhir-import/src/containers/StartImportView/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,21 +148,21 @@ export const DataImportForm = (props: DataImportFormProps) => {
UploadBtnText: t('Attach assignment file'),
permissions: ['PractitionerRole.create', 'PractitionerRole.update'],
},
{
formFieldName: inventories,
label: t('Inventory'),
UploadBtnText: t('Attach inventory file'),
permissions: ['Group.create', 'Group.update'],
disabledReason: t('A list resource Id is not correctly configured'),
},
{
formFieldName: products,
label: t('Products'),
UploadBtnText: t('Attach product file'),
permissions: ['Group.create', 'Group.update'],
disabled: !productListId,
disabledReason: t('A list resource Id is not correctly configured'),
},
// {
// formFieldName: inventories,
// label: t('Inventory'),
// UploadBtnText: t('Attach inventory file'),
// permissions: ['Group.create', 'Group.update'],
// disabledReason: t('A list resource Id is not correctly configured'),
// },
// {
// formFieldName: products,
// label: t('Products'),
// UploadBtnText: t('Attach product file'),
// permissions: ['Group.create', 'Group.update'],
// disabled: !productListId,
// disabledReason: t('A list resource Id is not correctly configured'),
// },
];

return (
Expand Down

0 comments on commit 41f03be

Please sign in to comment.