mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
Fix: Expense & PaymentReceive FloatingActions.
This commit is contained in:
@@ -1,10 +1,20 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Intent, Button } from '@blueprintjs/core';
|
import {
|
||||||
|
Intent,
|
||||||
|
Button,
|
||||||
|
ButtonGroup,
|
||||||
|
Popover,
|
||||||
|
PopoverInteractionKind,
|
||||||
|
Position,
|
||||||
|
Menu,
|
||||||
|
MenuItem,
|
||||||
|
} from '@blueprintjs/core';
|
||||||
import { useFormikContext } from 'formik';
|
import { useFormikContext } from 'formik';
|
||||||
import { FormattedMessage as T } from 'react-intl';
|
import { FormattedMessage as T } from 'react-intl';
|
||||||
import { CLASSES } from 'common/classes';
|
import { CLASSES } from 'common/classes';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { saveInvoke } from 'utils';
|
import { saveInvoke } from 'utils';
|
||||||
|
import { Icon } from 'components';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expense form floating actions.
|
* Expense form floating actions.
|
||||||
@@ -14,56 +24,142 @@ export default function ExpenseFloatingFooter({
|
|||||||
onSubmitClick,
|
onSubmitClick,
|
||||||
onCancelClick,
|
onCancelClick,
|
||||||
onDraftClick,
|
onDraftClick,
|
||||||
|
onClearClick,
|
||||||
onSubmitAndNewClick,
|
onSubmitAndNewClick,
|
||||||
|
onSubmitForm,
|
||||||
|
onResetForm,
|
||||||
expense,
|
expense,
|
||||||
}) {
|
}) {
|
||||||
const handleSubmitBtnClick = (event) => {
|
const handleSubmitPublishAndNewBtnClick = (event) => {
|
||||||
saveInvoke(onSubmitClick, event);
|
onSubmitForm();
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: false,
|
||||||
|
publish: true,
|
||||||
|
resetForm: true,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleCancelBtnClick = (event) => {
|
const handleSubmitPublishContinueEditingBtnClick = (event) => {
|
||||||
saveInvoke(onCancelClick, event);
|
onSubmitForm();
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: false,
|
||||||
|
publish: true,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSubmitAndDraftBtnClick = (event) => {
|
const handleSubmitDraftAndNewBtnClick = (event) => {
|
||||||
saveInvoke(onDraftClick, event);
|
onSubmitForm();
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: false,
|
||||||
|
publish: false,
|
||||||
|
resetForm: true,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSubmitAndNewBtnClick = (event) => {
|
const handleSubmitDraftContinueEditingBtnClick = (event) => {
|
||||||
saveInvoke(onSubmitAndNewClick, event);
|
onSubmitForm();
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: false,
|
||||||
|
publish: true,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(CLASSES.PAGE_FORM_FLOATING_ACTIONS)}>
|
<div className={classNames(CLASSES.PAGE_FORM_FLOATING_ACTIONS)}>
|
||||||
|
<ButtonGroup>
|
||||||
|
{/* ----------- Save And Publish ----------- */}
|
||||||
<Button
|
<Button
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
intent={Intent.PRIMARY}
|
intent={Intent.PRIMARY}
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={handleSubmitBtnClick}
|
onClick={(event) => {
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: true,
|
||||||
|
publish: true,
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
text={
|
||||||
|
expense && expense.id ? (
|
||||||
|
<T id={'edit'} />
|
||||||
|
) : (
|
||||||
|
<T id={'save_publish'} />
|
||||||
|
)
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
<Popover
|
||||||
|
content={
|
||||||
|
<Menu>
|
||||||
|
<MenuItem
|
||||||
|
text={<T id={'publish_and_new'} />}
|
||||||
|
onClick={handleSubmitPublishAndNewBtnClick}
|
||||||
|
/>
|
||||||
|
<MenuItem
|
||||||
|
text={<T id={'publish_continue_editing'} />}
|
||||||
|
onClick={handleSubmitPublishContinueEditingBtnClick}
|
||||||
|
/>
|
||||||
|
</Menu>
|
||||||
|
}
|
||||||
|
minimal={true}
|
||||||
|
interactionKind={PopoverInteractionKind.CLICK}
|
||||||
|
position={Position.BOTTOM_LEFT}
|
||||||
>
|
>
|
||||||
{expense && expense.id ? <T id={'edit'} /> : <T id={'save'} />}
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className={'ml1'}
|
intent={Intent.PRIMARY}
|
||||||
|
rightIcon={<Icon icon="arrow-drop-up-16" iconSize={20} />}
|
||||||
|
/>
|
||||||
|
</Popover>
|
||||||
|
|
||||||
|
{/* ----------- Save As Draft ----------- */}
|
||||||
|
<Button
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
onClick={handleSubmitAndNewBtnClick}
|
className={'ml1'}
|
||||||
type="submit"
|
type="submit"
|
||||||
|
onClick={(event) => {
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: true,
|
||||||
|
publish: false,
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
text={<T id={'save_as_draft'} />}
|
||||||
|
/>
|
||||||
|
<Popover
|
||||||
|
content={
|
||||||
|
<Menu>
|
||||||
|
<MenuItem
|
||||||
|
text={<T id={'save_and_new'} />}
|
||||||
|
onClick={handleSubmitDraftAndNewBtnClick}
|
||||||
|
/>
|
||||||
|
<MenuItem
|
||||||
|
text={<T id={'save_continue_editing'} />}
|
||||||
|
onClick={handleSubmitDraftContinueEditingBtnClick}
|
||||||
|
/>
|
||||||
|
</Menu>
|
||||||
|
}
|
||||||
|
minimal={true}
|
||||||
|
interactionKind={PopoverInteractionKind.CLICK}
|
||||||
|
position={Position.BOTTOM_LEFT}
|
||||||
>
|
>
|
||||||
<T id={'save_new'} />
|
<Button rightIcon={<Icon icon="arrow-drop-up-16" iconSize={20} />} />
|
||||||
</Button>
|
</Popover>
|
||||||
|
{/* ----------- Clear ----------- */}
|
||||||
<Button
|
<Button
|
||||||
className={'ml1'}
|
className={'ml1'}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
onClick={handleSubmitAndDraftBtnClick}
|
onClick={(event) => {
|
||||||
>
|
onResetForm();
|
||||||
<T id={'save_as_draft'} />
|
saveInvoke(onClearClick, event);
|
||||||
</Button>
|
}}
|
||||||
|
text={expense && expense.id ? <T id={'reset'} /> : <T id={'clear'} />}
|
||||||
<Button className={'ml1'} onClick={handleCancelBtnClick}>
|
/>
|
||||||
<T id={'close'} />
|
{/* ----------- Cancel ----------- */}
|
||||||
</Button>
|
<Button
|
||||||
|
className={'ml1'}
|
||||||
|
onClick={(event) => {
|
||||||
|
saveInvoke(onCancelClick, event);
|
||||||
|
}}
|
||||||
|
text={<T id={'cancel'} />}
|
||||||
|
/>
|
||||||
|
</ButtonGroup>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ function ExpenseForm({
|
|||||||
onFormSubmit,
|
onFormSubmit,
|
||||||
onCancelForm,
|
onCancelForm,
|
||||||
}) {
|
}) {
|
||||||
const [payload, setPayload] = useState({});
|
const [submitPayload, setSubmitPayload] = useState({});
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
|
|
||||||
const isNewMode = !expenseId;
|
const isNewMode = !expenseId;
|
||||||
@@ -199,6 +199,8 @@ function ExpenseForm({
|
|||||||
setFieldValue,
|
setFieldValue,
|
||||||
handleSubmit,
|
handleSubmit,
|
||||||
getFieldProps,
|
getFieldProps,
|
||||||
|
submitForm,
|
||||||
|
resetForm,
|
||||||
} = useFormik({
|
} = useFormik({
|
||||||
enableReinitialize: true,
|
enableReinitialize: true,
|
||||||
validationSchema,
|
validationSchema,
|
||||||
@@ -228,7 +230,7 @@ function ExpenseForm({
|
|||||||
|
|
||||||
const form = {
|
const form = {
|
||||||
...values,
|
...values,
|
||||||
publish: payload.publish,
|
publish: submitPayload.publish,
|
||||||
categories,
|
categories,
|
||||||
};
|
};
|
||||||
const saveExpense = (mdeiaIds) =>
|
const saveExpense = (mdeiaIds) =>
|
||||||
@@ -246,7 +248,7 @@ function ExpenseForm({
|
|||||||
intent: Intent.SUCCESS,
|
intent: Intent.SUCCESS,
|
||||||
});
|
});
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
saveInvokeSubmit({ action: 'update', ...payload });
|
saveInvokeSubmit({ action: 'update', ...submitPayload });
|
||||||
clearSavedMediaIds([]);
|
clearSavedMediaIds([]);
|
||||||
resetForm();
|
resetForm();
|
||||||
})
|
})
|
||||||
@@ -265,8 +267,11 @@ function ExpenseForm({
|
|||||||
intent: Intent.SUCCESS,
|
intent: Intent.SUCCESS,
|
||||||
});
|
});
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
|
|
||||||
|
if (submitPayload.resetForm) {
|
||||||
resetForm();
|
resetForm();
|
||||||
saveInvokeSubmit({ action: 'new', ...payload });
|
}
|
||||||
|
saveInvokeSubmit({ action: 'new', ...submitPayload });
|
||||||
clearSavedMediaIds();
|
clearSavedMediaIds();
|
||||||
})
|
})
|
||||||
.catch((errors) => {
|
.catch((errors) => {
|
||||||
@@ -288,20 +293,17 @@ function ExpenseForm({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleSubmitClick = useCallback(() => {
|
const handleSubmitClick = useCallback(
|
||||||
setPayload({ publish: true, redirect: true });
|
(event, payload) => {
|
||||||
}, [setPayload]);
|
setSubmitPayload({ ...payload });
|
||||||
|
},
|
||||||
|
[setSubmitPayload],
|
||||||
|
);
|
||||||
|
|
||||||
const handleCancelClick = useCallback(() => {
|
const handleCancelClick = useCallback(() => {
|
||||||
history.goBack();
|
history.goBack();
|
||||||
}, []);
|
}, [history]);
|
||||||
|
|
||||||
const handleSubmitAndNewClick = useCallback(() => {
|
|
||||||
setPayload({ publish: true, redirect: false });
|
|
||||||
});
|
|
||||||
const handleSubmitAndDraftClick = useCallback(() => {
|
|
||||||
setPayload({ publish: false, redirect: false });
|
|
||||||
});
|
|
||||||
|
|
||||||
const handleDeleteFile = useCallback(
|
const handleDeleteFile = useCallback(
|
||||||
(_deletedFiles) => {
|
(_deletedFiles) => {
|
||||||
@@ -370,8 +372,8 @@ function ExpenseForm({
|
|||||||
isSubmitting={isSubmitting}
|
isSubmitting={isSubmitting}
|
||||||
onSubmitClick={handleSubmitClick}
|
onSubmitClick={handleSubmitClick}
|
||||||
onCancelClick={handleCancelClick}
|
onCancelClick={handleCancelClick}
|
||||||
onDraftClick={handleSubmitAndDraftClick}
|
onSubmitForm={submitForm}
|
||||||
onSubmitAndNewClick={handleSubmitAndNewClick}
|
onResetForm={resetForm}
|
||||||
expense={expense}
|
expense={expense}
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,9 +1,20 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Intent, Button } from '@blueprintjs/core';
|
import {
|
||||||
|
Intent,
|
||||||
|
Button,
|
||||||
|
ButtonGroup,
|
||||||
|
Popover,
|
||||||
|
PopoverInteractionKind,
|
||||||
|
Position,
|
||||||
|
Menu,
|
||||||
|
MenuItem,
|
||||||
|
} from '@blueprintjs/core';
|
||||||
import { FormattedMessage as T } from 'react-intl';
|
import { FormattedMessage as T } from 'react-intl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import { CLASSES } from 'common/classes';
|
import { CLASSES } from 'common/classes';
|
||||||
|
import { useFormikContext } from 'formik';
|
||||||
|
import { saveInvoke } from 'utils';
|
||||||
|
import { Icon } from 'components';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Payment receive floating actions bar.
|
* Payment receive floating actions bar.
|
||||||
@@ -13,53 +24,74 @@ export default function PaymentReceiveFormFloatingActions({
|
|||||||
onSubmitClick,
|
onSubmitClick,
|
||||||
onCancelClick,
|
onCancelClick,
|
||||||
onClearClick,
|
onClearClick,
|
||||||
|
onSubmitForm,
|
||||||
paymentReceiveId,
|
paymentReceiveId,
|
||||||
}) {
|
}) {
|
||||||
const handleSubmitClick = (event) => {
|
const handleSubmitBtnClick = (event) => {
|
||||||
onSubmitClick && onSubmitClick(event);
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: true,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleClearBtnClick = (event) => {
|
const handleClearBtnClick = (event) => {
|
||||||
onClearClick && onClearClick(event);
|
onClearClick && onClearClick(event);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleCloseBtnClick = (event) => {
|
const handleCancelBtnClick = (event) => {
|
||||||
onCancelClick && onCancelClick(event);
|
onCancelClick && onCancelClick(event);
|
||||||
|
saveInvoke(onCancelClick, event);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleSubmitAndNewClick = (event) => {
|
||||||
|
onSubmitForm();
|
||||||
|
saveInvoke(onSubmitClick, event, {
|
||||||
|
redirect: false,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(CLASSES.PAGE_FORM_FLOATING_ACTIONS)}>
|
<div className={classNames(CLASSES.PAGE_FORM_FLOATING_ACTIONS)}>
|
||||||
|
<ButtonGroup>
|
||||||
|
{/* ----------- Save and New ----------- */}
|
||||||
<Button
|
<Button
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
intent={Intent.PRIMARY}
|
intent={Intent.PRIMARY}
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={handleSubmitClick}
|
onClick={handleSubmitBtnClick}
|
||||||
|
text={paymentReceiveId ? <T id={'edit'} /> : <T id={'save_and_send'} />}
|
||||||
|
/>
|
||||||
|
<Popover
|
||||||
|
content={
|
||||||
|
<Menu>
|
||||||
|
<MenuItem
|
||||||
|
text={<T id={'save_and_new'} />}
|
||||||
|
onClick={handleSubmitAndNewClick}
|
||||||
|
/>
|
||||||
|
</Menu>
|
||||||
|
}
|
||||||
|
minimal={true}
|
||||||
|
interactionKind={PopoverInteractionKind.CLICK}
|
||||||
|
position={Position.BOTTOM_LEFT}
|
||||||
>
|
>
|
||||||
{paymentReceiveId ? <T id={'edit'} /> : <T id={'save_send'} />}
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
disabled={isSubmitting}
|
|
||||||
intent={Intent.PRIMARY}
|
intent={Intent.PRIMARY}
|
||||||
className={'ml1'}
|
rightIcon={<Icon icon="arrow-drop-up-16" iconSize={20} />}
|
||||||
name={'save'}
|
/>
|
||||||
type="submit"
|
</Popover>
|
||||||
onClick={handleSubmitClick}
|
{/* ----------- Clear & Reset----------- */}
|
||||||
>
|
|
||||||
<T id={'save'} />
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className={'ml1'}
|
className={'ml1'}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
onClick={handleClearBtnClick}
|
onClick={handleClearBtnClick}
|
||||||
>
|
text={paymentReceiveId ? <T id={'reset'} /> : <T id={'clear'} />}
|
||||||
<T id={'clear'} />
|
/>
|
||||||
</Button>
|
{/* ----------- Cancel ----------- */}
|
||||||
|
<Button
|
||||||
<Button className={'ml1'} type="submit" onClick={handleCloseBtnClick}>
|
className={'ml1'}
|
||||||
<T id={'close'} />
|
onClick={handleCancelBtnClick}
|
||||||
</Button>
|
text={<T id={'cancel'} />}
|
||||||
|
/>
|
||||||
|
</ButtonGroup>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { FormattedMessage as T, useIntl } from 'react-intl';
|
|||||||
import { pick, sumBy, omit } from 'lodash';
|
import { pick, sumBy, omit } from 'lodash';
|
||||||
import { Intent, Alert } from '@blueprintjs/core';
|
import { Intent, Alert } from '@blueprintjs/core';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
import { useHistory } from 'react-router-dom';
|
||||||
|
|
||||||
import { CLASSES } from 'common/classes';
|
import { CLASSES } from 'common/classes';
|
||||||
import PaymentReceiveHeader from './PaymentReceiveFormHeader';
|
import PaymentReceiveHeader from './PaymentReceiveFormHeader';
|
||||||
@@ -66,8 +67,11 @@ function PaymentReceiveForm({
|
|||||||
const [clearLinesAlert, setClearLinesAlert] = useState(false);
|
const [clearLinesAlert, setClearLinesAlert] = useState(false);
|
||||||
const [fullAmount, setFullAmount] = useState(null);
|
const [fullAmount, setFullAmount] = useState(null);
|
||||||
const [clearFormAlert, setClearFormAlert] = useState(false);
|
const [clearFormAlert, setClearFormAlert] = useState(false);
|
||||||
|
const [submitPayload, setSubmitPayload] = useState({});
|
||||||
|
|
||||||
const { formatMessage } = useIntl();
|
const { formatMessage } = useIntl();
|
||||||
|
const history = useHistory();
|
||||||
|
|
||||||
const isNewMode = !paymentReceiveId;
|
const isNewMode = !paymentReceiveId;
|
||||||
const [localPaymentEntries, setLocalPaymentEntries] = useState(
|
const [localPaymentEntries, setLocalPaymentEntries] = useState(
|
||||||
paymentReceiveEntries,
|
paymentReceiveEntries,
|
||||||
@@ -187,6 +191,10 @@ function PaymentReceiveForm({
|
|||||||
});
|
});
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
resetForm();
|
resetForm();
|
||||||
|
|
||||||
|
if (submitPayload.redirect) {
|
||||||
|
history.push('/payment-receives');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
// Handle request response errors.
|
// Handle request response errors.
|
||||||
const onError = (errors) => {
|
const onError = (errors) => {
|
||||||
@@ -220,6 +228,7 @@ function PaymentReceiveForm({
|
|||||||
isSubmitting,
|
isSubmitting,
|
||||||
touched,
|
touched,
|
||||||
resetForm,
|
resetForm,
|
||||||
|
submitForm,
|
||||||
} = useFormik({
|
} = useFormik({
|
||||||
enableReinitialize: true,
|
enableReinitialize: true,
|
||||||
validationSchema,
|
validationSchema,
|
||||||
@@ -338,6 +347,17 @@ function PaymentReceiveForm({
|
|||||||
[changePageSubtitle],
|
[changePageSubtitle],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const handleSubmitClick = useCallback(
|
||||||
|
(event, payload) => {
|
||||||
|
setSubmitPayload({ ...payload });
|
||||||
|
},
|
||||||
|
[setSubmitPayload],
|
||||||
|
);
|
||||||
|
|
||||||
|
const handleCancelClick = useCallback(() => {
|
||||||
|
history.goBack();
|
||||||
|
}, [history]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
@@ -416,6 +436,9 @@ function PaymentReceiveForm({
|
|||||||
isSubmitting={isSubmitting}
|
isSubmitting={isSubmitting}
|
||||||
paymentReceiveId={paymentReceiveId}
|
paymentReceiveId={paymentReceiveId}
|
||||||
onClearClick={handleClearBtnClick}
|
onClearClick={handleClearBtnClick}
|
||||||
|
onSubmitClick={handleSubmitClick}
|
||||||
|
onCancelClick={handleCancelClick}
|
||||||
|
onSubmitForm={submitForm}
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -844,12 +844,11 @@ export default {
|
|||||||
|
|
||||||
are_sure_to_publish_this_manual_journal:
|
are_sure_to_publish_this_manual_journal:
|
||||||
'Are you sure you want to publish this manual journal?',
|
'Are you sure you want to publish this manual journal?',
|
||||||
save_publish:'Save and Publish',
|
save_publish: 'Save and Publish',
|
||||||
publish_and_new: 'Publish and new',
|
publish_and_new: 'Publish and new',
|
||||||
publish_continue_editing:'Publish (continue editing)',
|
publish_continue_editing: 'Publish (continue editing)',
|
||||||
save_and_new:'Save and new',
|
save_and_new: 'Save and new',
|
||||||
save_continue_editing:'Save (continue editing)',
|
save_continue_editing: 'Save (continue editing)',
|
||||||
reset:'Reset ',
|
reset: 'Reset ',
|
||||||
|
save_and_send: 'Save and Send',
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user