diff --git a/src/containers/Drawers/CustomerDetailsDrawer/CustomerDetailsHeader.js b/src/containers/Drawers/CustomerDetailsDrawer/CustomerDetailsHeader.js index fd5a1dc12..8c3540ea5 100644 --- a/src/containers/Drawers/CustomerDetailsDrawer/CustomerDetailsHeader.js +++ b/src/containers/Drawers/CustomerDetailsDrawer/CustomerDetailsHeader.js @@ -31,7 +31,7 @@ export default function CustomerDetailsHeader() { } name={'type'} - children={customer?.customer_type} + children={customer?.formatted_customer_type } /> }> 0 diff --git a/src/containers/Drawers/InventoryAdjustmentDetailDrawer/InventoryAdjustmentDetailHeader.js b/src/containers/Drawers/InventoryAdjustmentDetailDrawer/InventoryAdjustmentDetailHeader.js index d807d9f09..e0db888a3 100644 --- a/src/containers/Drawers/InventoryAdjustmentDetailDrawer/InventoryAdjustmentDetailHeader.js +++ b/src/containers/Drawers/InventoryAdjustmentDetailDrawer/InventoryAdjustmentDetailHeader.js @@ -24,7 +24,7 @@ export default function InventoryAdjustmentDetailHeader() { - {inventoryAdjustment.type} + {inventoryAdjustment.type_formatted} diff --git a/src/containers/InventoryAdjustments/components.js b/src/containers/InventoryAdjustments/components.js index c42409926..810aa3f9f 100644 --- a/src/containers/InventoryAdjustments/components.js +++ b/src/containers/InventoryAdjustments/components.js @@ -40,9 +40,9 @@ export const PublishAccessor = (r) => { * Type column accessor. */ export const TypeAccessor = (row) => { - return row.type ? ( + return row.type_formatted ? ( - {intl.get(row.type)} + {row.type_formatted} ) : ( '' diff --git a/src/containers/Items/ItemsListProvider.js b/src/containers/Items/ItemsListProvider.js index 51918764a..e64c77032 100644 --- a/src/containers/Items/ItemsListProvider.js +++ b/src/containers/Items/ItemsListProvider.js @@ -63,7 +63,7 @@ function ItemsListProvider({ tableState, tableStateChanged, ...props }) { return ( diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index 0c0e6d053..1759684dd 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -1426,7 +1426,7 @@ "cash_flow_transaction.money_out": "سحب من حساب {value}", "cash_flow_transaction.other_income_account": " حساب الإيرادات الأخرى ", "cash_flow_transaction.other_expense_account": "حساب مصاريف اخري", - "save_and_publish": "احفظ وانشر", + "save_and_publish": "حفظ ونشر", "cash_flow_transaction.label_transfer_from_account": "تحويل من الحساب ", "cash_flow_transaction.label_transfer_to_account": "تحويل إلى الحساب ", "cash_flow_transaction.label_current_account": "حساب الحالي",