mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: messages appToaster.
This commit is contained in:
@@ -151,8 +151,8 @@ function BillForm({
|
||||
message: formatMessage(
|
||||
{
|
||||
id: isNewMode
|
||||
? 'the_bill_has_been_successfully_created' :
|
||||
'the_bill_has_been_successfully_edited',
|
||||
? 'the_bill_has_been_created_successfully' :
|
||||
'the_bill_has_been_edited_successfully',
|
||||
},
|
||||
{ number: values.bill_number },
|
||||
),
|
||||
|
||||
@@ -83,7 +83,7 @@ function BillsList({
|
||||
requestDeleteBill(deleteBill.id).then(() => {
|
||||
AppToaster.show({
|
||||
message: formatMessage({
|
||||
id: 'the_bill_has_been_successfully_deleted',
|
||||
id: 'the_bill_has_been_deleted_successfully',
|
||||
}),
|
||||
intent: Intent.SUCCESS,
|
||||
});
|
||||
@@ -108,7 +108,7 @@ function BillsList({
|
||||
setOpenBill(false);
|
||||
AppToaster.show({
|
||||
message: formatMessage({
|
||||
id: 'the_bill_has_been_successfully_opened',
|
||||
id: 'the_bill_has_been_opened_successfully',
|
||||
}),
|
||||
intent: Intent.SUCCESS,
|
||||
});
|
||||
|
||||
@@ -150,8 +150,8 @@ function PaymentMadeForm({
|
||||
AppToaster.show({
|
||||
message: formatMessage({
|
||||
id: paymentMadeId
|
||||
? 'the_payment_made_has_been_successfully_edited'
|
||||
: 'the_payment_made_has_been_successfully_created',
|
||||
? 'the_payment_made_has_been_edited_successfully'
|
||||
: 'the_payment_made_has_been_created_successfully',
|
||||
}),
|
||||
intent: Intent.SUCCESS,
|
||||
});
|
||||
|
||||
@@ -78,7 +78,7 @@ function PaymentMadeList({
|
||||
requestDeletePaymentMade(deletePaymentMade.id).then(() => {
|
||||
AppToaster.show({
|
||||
message: formatMessage({
|
||||
id: 'the_payment_made_has_been_successfully_deleted',
|
||||
id: 'the_payment_made_has_been_deleted_successfully',
|
||||
}),
|
||||
intent: Intent.SUCCESS,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user