mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: inventory adjustment publish messages.
This commit is contained in:
@@ -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}
|
||||
>
|
||||
<p>
|
||||
<T id={'are_sure_to_publish_this_inventory_adjustment'} />
|
||||
<T id={'inventory_adjustment.publish.alert_message'} />
|
||||
</p>
|
||||
</Alert>
|
||||
);
|
||||
|
||||
@@ -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() {
|
||||
<CustomerDeleteAlert name={'customer-delete'} />
|
||||
<ContactActivateAlert name={'contact-activate'} />
|
||||
<ContactInactivateAlert name={'contact-inactivate'} />
|
||||
{/* <CustomerBulkDeleteAlert name={'customers-bulk-delete'} /> */}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -39,14 +39,14 @@ export function ActionsMenu({
|
||||
/>
|
||||
<If condition={original.active}>
|
||||
<MenuItem
|
||||
text={intl.get('inactivate_item')}
|
||||
text={intl.get('inactivate_customer')}
|
||||
icon={<Icon icon="pause-16" iconSize={16} />}
|
||||
onClick={safeCallback(onInactivate, original)}
|
||||
/>
|
||||
</If>
|
||||
<If condition={!original.active}>
|
||||
<MenuItem
|
||||
text={intl.get('activate_item')}
|
||||
text={intl.get('activate_customer')}
|
||||
icon={<Icon icon="play-16" iconSize={16} />}
|
||||
onClick={safeCallback(onActivate, original)}
|
||||
/>
|
||||
|
||||
@@ -105,7 +105,7 @@ export const ActionsMenu = ({
|
||||
<If condition={!original.is_published}>
|
||||
<MenuItem
|
||||
icon={<Icon icon={'arrow-to-top'} size={16} />}
|
||||
text={intl.get('publish_expense')}
|
||||
text={intl.get('publish_adjustment')}
|
||||
onClick={safeCallback(onPublish, original)}
|
||||
/>
|
||||
</If>
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user