Added colspan to indicators
This commit is contained in:
parent
920dc1400f
commit
0e8c36473a
@ -104,15 +104,15 @@ $.extend(erpnext.utils, {
|
||||
set_party_dashboard_indicators: function(frm) {
|
||||
if(frm.doc.__onload && frm.doc.__onload.dashboard_info) {
|
||||
var company_wise_info = frm.doc.__onload.dashboard_info;
|
||||
frm.dashboard.add_indicator(__('Company'));
|
||||
frm.dashboard.add_indicator(__('Annual Billing'));
|
||||
frm.dashboard.add_indicator(__('Total Unpaid'));
|
||||
frm.dashboard.add_indicator(__('Company'), '', 4);
|
||||
frm.dashboard.add_indicator(__('Annual Billing'), '', 4);
|
||||
frm.dashboard.add_indicator(__('Total Unpaid'), '', 4);
|
||||
company_wise_info.forEach(function(info){
|
||||
frm.dashboard.add_indicator(__('{0}',[info.company]));
|
||||
frm.dashboard.add_indicator(__('{0}',[info.company]), '', 4);
|
||||
frm.dashboard.add_indicator(__('{0}',
|
||||
[format_currency(info.billing_this_year, info.currency)]));
|
||||
[format_currency(info.billing_this_year, info.currency)]), '', 4);
|
||||
frm.dashboard.add_indicator(__('{0}',
|
||||
[format_currency(info.total_unpaid, info.currency)]));
|
||||
[format_currency(info.total_unpaid, info.currency)]), '', 4);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user