[minor] status for student applicant
This commit is contained in:
parent
66d49565d2
commit
6a1742abc8
@ -1,7 +1,11 @@
|
||||
frappe.listview_settings['Student Applicant'] = {
|
||||
add_fields: [ "application_status"],
|
||||
add_fields: [ "application_status", 'paid'],
|
||||
has_indicator_for_draft: 1,
|
||||
get_indicator: function(doc) {
|
||||
if (doc.application_status=="Applied") {
|
||||
if (doc.paid) {
|
||||
return [__("Paid"), "green", "paid,=,1"];
|
||||
}
|
||||
else if (doc.application_status=="Applied") {
|
||||
return [__("Applied"), "orange", "application_status,=,Applied"];
|
||||
}
|
||||
else if (doc.application_status=="Approved") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user