diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js b/erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js index 6f194760ae1..efc3eb45974 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice_list.js @@ -14,5 +14,6 @@ frappe.listview_settings['Sales Invoice'] = { } else if (doc.outstanding_amount > 0 && doc.due_date <= frappe.datetime.get_today()) { return [__("Overdue"), "red", "oustanding_amount,>,0|due_date,<=,Today"] } - } + }, + right_column: "grand_total_export" }; diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index ac896b8edfa..397c36bc6ea 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -7,7 +7,7 @@ frappe.provide('erpnext'); $(document).bind('toolbar_setup', function() { frappe.app.name = "ERPNext"; - $('.navbar-brand').html('ERPNext'); + $('.navbar-brand').html(''); $('[data-link="docs"]').attr("href", "https://erpnext.com/user-guide") }); diff --git a/erpnext/templates/form_grid/item_grid.html b/erpnext/templates/form_grid/item_grid.html index 2803550484b..939d8809e5f 100644 --- a/erpnext/templates/form_grid/item_grid.html +++ b/erpnext/templates/form_grid/item_grid.html @@ -2,14 +2,14 @@ {% if(!doc) { %}
-
{%= __("Items") %}
-
{%= __("Qty") %}
-
{%= __("Rate") %}
-
{%= __("Amount") %}
+
{%= __("Items") %}
+ + +
{%= __("Amount") %}
{% } else { %}
-
{%= doc.item_code %} +
{%= doc.item_code %} {% if(doc.item_name != doc.item_code) { %}
{%= doc.item_name %}{% } %} {% if(doc.item_name != doc.description) { %} @@ -56,7 +56,7 @@
-
+ -
+ -
+
{% if (!frappe.perm.is_visible("amount", doc, frm.perm)) { %} {%= __("hidden") %} {% } else { %} @@ -102,6 +102,13 @@
  {% include "templates/form_grid/includes/progress.html" %} {% } %} + + {% if (frappe.perm.is_visible("rate", doc, frm.perm)) { %} +
+ {%= doc.get_formatted("qty") %} {%= doc.uom || doc.stock_uom %} + x {%= doc.get_formatted("rate") %} +
+ {% } %}
{% } %} diff --git a/erpnext/templates/form_grid/stock_entry_grid.html b/erpnext/templates/form_grid/stock_entry_grid.html index 9f913087c56..cf9b260f807 100644 --- a/erpnext/templates/form_grid/stock_entry_grid.html +++ b/erpnext/templates/form_grid/stock_entry_grid.html @@ -5,13 +5,13 @@ {% if(!doc) { %}
-
{%= __("Item") %}
-
{%= __("Qty") %}
-
{%= __("Amount") %}
+
{%= __("Item") %}
+
{%= __("Qty") %}
+
{%= __("Amount") %}
{% } else { %}
-
{%= doc.item_code %} +
{%= doc.item_code %} {% if(doc.item_name != doc.item_code) { %}
{%= doc.item_name %}{% } %} {% if(doc.item_name != doc.description) { %} @@ -31,13 +31,13 @@
-
+
{%= doc.get_formatted("qty") %}
{%= doc.uom || doc.stock_uom %}
-
+
{%= doc.get_formatted("amount") %}
{%= doc.get_formatted("incoming_rate") %}