mirror of
https://github.com/frappe/books.git
synced 2025-02-02 20:18:26 +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],
|
links: [utils.ledgerLink],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user