Skip to content

Commit

Permalink
fixes in grid reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Doshi committed Oct 5, 2012
1 parent d7972e3 commit a49475d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stock/page/stock_ageing/stock_ageing.js
Expand Up @@ -42,7 +42,10 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
setup_columns: function() {
this.columns = [
{id: "name", name: "Item", field: "name", width: 300,
formatter: this.link_formatter},
link_formatter: {
open_btn: true,
doctype: '"Item"'
}},
{id: "average_age", name: "Average Age", field: "average_age",
formatter: this.currency_formatter},
{id: "earliest", name: "Earliest", field: "earliest",
Expand Down
1 change: 1 addition & 0 deletions stock/page/stock_ledger/stock_ledger.js
Expand Up @@ -47,6 +47,7 @@ erpnext.StockLedger = erpnext.StockGridReport.extend({
link_formatter: {
filter_input: "item_code",
open_btn: true,
doctype: '"Item"',
}},
{id: "warehouse", name: "Warehouse", field: "warehouse", width: 100,
link_formatter: {filter_input: "warehouse"}},
Expand Down

0 comments on commit a49475d

Please sign in to comment.