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