Skip to content

Commit

Permalink
Merge pull request #17 from bigcapitalhq/BIG-270-publish-and-draft-ca…
Browse files Browse the repository at this point in the history
…shflow-transaction-should-be-always-publish

BIG-270 Publish and draft cashflow transaction.
  • Loading branch information
abouolia authored Jan 8, 2022
2 parents 3a3dd7a + 9973693 commit 69f16d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/containers/Dialogs/MoneyInDialog/MoneyInForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function MoneyInForm({
const handleFormSubmit = (values, { setSubmitting, setErrors }) => {
const form = {
...omit(values, ['currency_code']),
published: submitPayload.publish,
published: true,
};
setSubmitting(true);
createCashflowTransactionMutate(form)
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Dialogs/MoneyOutDialog/MoneyOutForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function MoneyOutForm({
const handleFormSubmit = (values, { setSubmitting, setErrors }) => {
const form = {
...omit(values, ['currency_code']),
published: submitPayload.publish,
published: true,
};
setSubmitting(true);
createCashflowTransactionMutate(form)
Expand Down

0 comments on commit 69f16d1

Please sign in to comment.