start custom list rendering for Sales Order

This commit is contained in:
Rushabh Mehta 2014-07-29 19:34:10 +05:30 committed by Anand Doshi
parent b5e768906a
commit 67af99794d
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<div class="row" style="max-height: 30px;">
<div class="col-xs-9">{%= list.get_avatar_and_id(doc) %}
{%= doc.customer_name %}
</div>
<div class="col-xs-3 text-right">
{%= row.get_formatted("grand_total") %}
</div>
</div>

View File

@ -0,0 +1,3 @@
frappe.listview_settings['Sales Order'] = {
add_fields: ["grand_total", "company", "currency", "customer_name"]
};