Skip to content

Commit

Permalink
feat: default invoice number when no invoices present
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-geddy committed Dec 17, 2021
1 parent 724fea3 commit c78c44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redux/invoice/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const generateInvoiceNumber = function *({payload: {}}) {
yield put(actions.setInvoiceNo('0001'))
}
} catch (error) {
yield put(actions.setInvoiceNo('0000'))
yield put(actions.setInvoiceNo('0001'))
}
}

Expand Down

1 comment on commit c78c44c

@vercel
Copy link

@vercel vercel bot commented on c78c44c Dec 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.