shifted item name and description fields to the left of stock reports

This commit is contained in:
Anand Doshi
2013-02-26 12:23:39 +05:30
parent a4d8e6b177
commit 805fdf313c
6 changed files with 22 additions and 22 deletions

View File

@@ -69,8 +69,15 @@ erpnext.StockLevel = erpnext.StockGridReport.extend({
open_btn: true,
doctype: '"Item"',
}},
{id: "item_name", name: "Item Name", field: "item_name", width: 100,
formatter: this.text_formatter},
{id: "description", name: "Description", field: "description", width: 200,
formatter: this.text_formatter},
{id: "brand", name: "Brand", field: "brand", width: 100,
link_formatter: {filter_input: "brand"}},
{id: "warehouse", name: "Warehouse", field: "warehouse", width: 100,
link_formatter: {filter_input: "warehouse"}},
{id: "uom", name: "UOM", field: "uom", width: 60},
{id: "actual_qty", name: "Actual Qty",
field: "actual_qty", width: 80, formatter: this.currency_formatter},
{id: "planned_qty", name: "Planned Qty",
@@ -87,13 +94,6 @@ erpnext.StockLevel = erpnext.StockGridReport.extend({
field: "re_order_level", width: 80, formatter: this.currency_formatter},
{id: "re_order_qty", name: "Re-Order Qty",
field: "re_order_qty", width: 80, formatter: this.currency_formatter},
{id: "uom", name: "UOM", field: "uom", width: 60},
{id: "brand", name: "Brand", field: "brand", width: 100,
link_formatter: {filter_input: "brand"}},
{id: "item_name", name: "Item Name", field: "item_name", width: 100,
formatter: this.text_formatter},
{id: "description", name: "Description", field: "description", width: 200,
formatter: this.text_formatter},
];
},