2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

feat: add reversion and ledger link to payment quick entry

This commit is contained in:
18alantom 2021-11-08 17:36:09 +05:30
parent 08ae048db0
commit 96d7a9819c

View File

@ -205,6 +205,16 @@ export default {
],
},
],
actions: [
{
label: 'Revert',
condition: (doc) => doc.submitted,
action(doc) {
doc.revert();
},
},
utils.ledgerLink,
],
links: [utils.ledgerLink],
};