diff --git a/client/src/containers/Alerts/Items/InventoryAdjustmentPublishAlert.js b/client/src/containers/Alerts/Items/InventoryAdjustmentPublishAlert.js index da9fecaf9..a4e9b4a47 100644 --- a/client/src/containers/Alerts/Items/InventoryAdjustmentPublishAlert.js +++ b/client/src/containers/Alerts/Items/InventoryAdjustmentPublishAlert.js @@ -38,7 +38,7 @@ function InventoryAdjustmentPublishAlert({ publishInventoryAdjustmentMutate(inventoryId) .then(() => { AppToaster.show({ - message: intl.get('the_inventory_adjustment_has_been_published'), + message: intl.get('inventory_adjustment.publish.success_message'), intent: Intent.SUCCESS, }); closeAlert(name); @@ -59,7 +59,7 @@ function InventoryAdjustmentPublishAlert({ loading={isLoading} >

- +

); diff --git a/client/src/containers/Customers/CustomersAlerts.js b/client/src/containers/Customers/CustomersAlerts.js index 6a51cd7a0..16737b94d 100644 --- a/client/src/containers/Customers/CustomersAlerts.js +++ b/client/src/containers/Customers/CustomersAlerts.js @@ -1,6 +1,5 @@ import React from 'react'; import CustomerDeleteAlert from 'containers/Alerts/Customers/CustomerDeleteAlert'; -// import CustomerBulkDeleteAlert from 'containers/Alerts/Customers/CustomerBulkDeleteAlert'; import ContactActivateAlert from '../../containers/Alerts/Contacts/ContactActivateAlert'; import ContactInactivateAlert from '../../containers/Alerts/Contacts/ContactInactivateAlert'; @@ -13,7 +12,6 @@ export default function ItemsAlerts() { - {/* */} ); } diff --git a/client/src/containers/Customers/CustomersLanding/components.js b/client/src/containers/Customers/CustomersLanding/components.js index 8180b0ac2..2c29c2112 100644 --- a/client/src/containers/Customers/CustomersLanding/components.js +++ b/client/src/containers/Customers/CustomersLanding/components.js @@ -39,14 +39,14 @@ export function ActionsMenu({ /> } onClick={safeCallback(onInactivate, original)} /> } onClick={safeCallback(onActivate, original)} /> diff --git a/client/src/containers/InventoryAdjustments/components.js b/client/src/containers/InventoryAdjustments/components.js index d2aeee4e2..812371a7e 100644 --- a/client/src/containers/InventoryAdjustments/components.js +++ b/client/src/containers/InventoryAdjustments/components.js @@ -105,7 +105,7 @@ export const ActionsMenu = ({ } - text={intl.get('publish_expense')} + text={intl.get('publish_adjustment')} onClick={safeCallback(onPublish, original)} /> diff --git a/client/src/lang/en/index.json b/client/src/lang/en/index.json index 48989a679..9f42b9557 100644 --- a/client/src/lang/en/index.json +++ b/client/src/lang/en/index.json @@ -770,7 +770,7 @@ "qty_on_hand": "Qty on hand", "adjustment_account": "Adjustment account", "inventory_adjustment_list": "Inventory Adjustment List", - "delete_adjustment": "Delete Adjustment", + "delete_adjustment": "Delete adjustment", "the_make_adjustment_has_been_created_successfully": "The make adjustment has been created successfully.", "the_adjustment_has_been_deleted_successfully": "The adjustment has been deleted successfully.", "once_delete_this_inventory_a_adjustment_you_will_able_to_restore_it": "Once you delete this inventory a adjustment, you won't be able to restore it later. Are you sure you want to delete this invoice?", @@ -1186,10 +1186,13 @@ "terms_conditions":"Terms conditions", "your_invoice_numbers_are_set_on_auto_increment_mod_are_you_sure_changing_this_setting":"Your invoice numbers are set on auto-increment mod. Are you sure changing this setting?", "auto_incrementing_number":"Auto-incrementing number", - "the_inventory_adjustment_has_been_published": "The Inventory adjustment has been published", - "are_sure_to_publish_this_inventory_adjustment": "Are you sure you want to publish this inventory?", + "inventory_adjustment.publish.success_message": "The inventory adjustment has been published successfully.", + "inventory_adjustment.publish.alert_message": "Are you sure you want to publish this inventory adjustment?", "the_contact_has_been_activated_successfully": "The contact has been inactivated successfully.", "the_contact_has_been_inactivated_successfully": "The contact has been inactivated successfully.", "are_sure_to_inactive_this_contact": "Are you sure you want to inactive this contact ? You will be able to activate it later", - "are_sure_to_activate_this_contact": "Are you sure you want to activate this contact ? You will be able to inactivate it later" + "are_sure_to_activate_this_contact": "Are you sure you want to activate this contact ? You will be able to inactivate it later", + "publish_adjustment": "Publish adjustment", + "inactivate_customer": "Inactivate customer", + "activate_customer": "Activate customer" } \ No newline at end of file