mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 11:50:31 +00:00
fix: SMS notification types.
This commit is contained in:
@@ -13,7 +13,7 @@ import { compose } from 'utils';
|
||||
|
||||
const notificationType = {
|
||||
key: 'payment-receive-details',
|
||||
label: 'Payment receive thank you.',
|
||||
label: intl.get('sms_notification.payment_details.type'),
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -67,7 +67,10 @@ function NotifyPaymentReceiveViaSMSForm({
|
||||
|
||||
// Form initial values.
|
||||
const initialValues = React.useMemo(
|
||||
() => ({ ...paymentReceiveMSDetail }),
|
||||
() => ({
|
||||
...paymentReceiveMSDetail,
|
||||
notification_key: notificationType.key,
|
||||
}),
|
||||
[paymentReceiveMSDetail],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user