mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Rename 'Pending' to 'Unpaid'
This commit is contained in:
parent
3429abc3c8
commit
1dcdc1c898
@ -10,7 +10,7 @@ module.exports = {
|
||||
fieldname: 'status',
|
||||
fieldtype: 'Select',
|
||||
render(doc) {
|
||||
let status = 'Pending';
|
||||
let status = 'Unpaid';
|
||||
let color = 'orange';
|
||||
if (!doc.submitted) {
|
||||
status = 'Draft';
|
||||
@ -44,7 +44,13 @@ module.exports = {
|
||||
openQuickEdit({
|
||||
doctype: 'Payment',
|
||||
name: payment.name,
|
||||
hideFields: ['party', 'date', hideAccountField, 'paymentType', 'for'],
|
||||
hideFields: [
|
||||
'party',
|
||||
'date',
|
||||
hideAccountField,
|
||||
'paymentType',
|
||||
'for'
|
||||
],
|
||||
defaults: {
|
||||
party,
|
||||
[hideAccountField]: doc.account,
|
||||
|
Loading…
Reference in New Issue
Block a user