2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

fix: Rename 'Pending' to 'Unpaid'

This commit is contained in:
Faris Ansari 2020-01-02 22:38:39 +05:30
parent 3429abc3c8
commit 1dcdc1c898

View File

@ -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,