mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +00:00
Merge branch 'master' of https://github.com/frappe/books
This commit is contained in:
commit
d5786b42a5
@ -20,7 +20,7 @@ module.exports = {
|
||||
fieldname: 'date',
|
||||
label: 'Posting Date',
|
||||
fieldtype: 'Date',
|
||||
defaultValue: new Date().toISOString()
|
||||
default: new Date().toISOString()
|
||||
},
|
||||
{
|
||||
fieldname: 'account',
|
||||
@ -102,8 +102,7 @@ module.exports = {
|
||||
label: 'Amount',
|
||||
fieldtype: 'Currency',
|
||||
required: 1,
|
||||
readOnly: 1,
|
||||
formula: doc => doc.getSum('for', 'amount')
|
||||
default: doc => doc.getSum('for', 'amount')
|
||||
},
|
||||
{
|
||||
fieldname: 'writeoff',
|
||||
|
@ -42,6 +42,11 @@ const config = {
|
||||
route: '/list/Item',
|
||||
doctype: 'Item'
|
||||
},
|
||||
{
|
||||
label: _('Payments'),
|
||||
route: '/list/Payment',
|
||||
doctype: 'Payment'
|
||||
},
|
||||
{
|
||||
label: _('Journal Entry'),
|
||||
route: '/list/JournalEntry',
|
||||
@ -71,6 +76,11 @@ const config = {
|
||||
route: '/list/Item',
|
||||
doctype: 'Item'
|
||||
},
|
||||
{
|
||||
label: _('Payments'),
|
||||
route: '/list/Payment',
|
||||
doctype: 'Payment'
|
||||
},
|
||||
{
|
||||
label: _('Journal Entry'),
|
||||
route: '/list/JournalEntry',
|
||||
|
Loading…
Reference in New Issue
Block a user