added about us page and settings

This commit is contained in:
Rushabh Mehta
2012-12-27 16:50:24 +05:30
33 changed files with 571 additions and 316 deletions

View File

@@ -48,7 +48,7 @@ cur_frm.cscript.refresh = function(doc,dt,dn) {
cur_frm.communication_view = new wn.views.CommunicationList({
list: wn.model.get("Communication", {"customer": doc.name}),
parent: cur_frm.fields_dict.communication_html.wrapper,
doc: doc
doc: doc,
});
}
}
@@ -114,4 +114,4 @@ cur_frm.fields_dict['customer_group'].get_query = function(doc,dt,dn) {
}
cur_frm.fields_dict.lead_name.get_query = erpnext.utils.lead_query;
cur_frm.fields_dict.lead_name.get_query = erpnext.utils.lead_query;

View File

@@ -5,6 +5,7 @@ wn.doclistviews['Lead'] = wn.views.ListView.extend({
'tabLead.lead_name',
'tabLead.status',
'tabLead.source',
'tabLead.company_name',
'tabLead.modified_by'
]);
this.stats = this.stats.concat(['status', 'source', 'rating', 'company']);
@@ -29,7 +30,8 @@ wn.doclistviews['Lead'] = wn.views.ListView.extend({
{width: '5%', content:'avatar_modified'},
{width: '30%', content:'lead_name'},
{width: '12%', content:'status_html'},
{width: '38%', content:'lead_status+tags', css: {color:'#222'}},
{width: '15%', content:'lead_status+tags', css: {color:'#222'}},
{width: '23%', content: 'company_name'},
{width: '12%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
]
})