mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: add create & edit & delete in credit note.
This commit is contained in:
@@ -66,6 +66,7 @@ export default function VendorCreditNoteFloatingActions() {
|
||||
// Handle submit button click.
|
||||
const handleSubmitBtnClick = (event) => {
|
||||
setSubmitPayload({ redirect: true });
|
||||
submitForm();
|
||||
};
|
||||
|
||||
const handleClearBtnClick = (event) => {
|
||||
@@ -80,6 +81,7 @@ export default function VendorCreditNoteFloatingActions() {
|
||||
disabled={isSubmitting}
|
||||
loading={isSubmitting}
|
||||
intent={Intent.PRIMARY}
|
||||
onClick={handleSubmitBtnClick}
|
||||
text={<T id={'save'} />}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user