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:
parent
08ae048db0
commit
96d7a9819c
@ -205,6 +205,16 @@ export default {
|
||||
],
|
||||
},
|
||||
],
|
||||
actions: [
|
||||
{
|
||||
label: 'Revert',
|
||||
condition: (doc) => doc.submitted,
|
||||
action(doc) {
|
||||
doc.revert();
|
||||
},
|
||||
},
|
||||
utils.ledgerLink,
|
||||
],
|
||||
|
||||
links: [utils.ledgerLink],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user