mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
[minor] fix in general ledger after translation merge
This commit is contained in:
@@ -24,7 +24,6 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
setup_columns: function() {
|
setup_columns: function() {
|
||||||
var DEFAULT_COMPANY_VALUE = wn._("Select Company...");
|
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{id: "posting_date", name: wn._("Posting Date"), field: "posting_date", width: 100,
|
{id: "posting_date", name: wn._("Posting Date"), field: "posting_date", width: 100,
|
||||||
formatter: this.date_formatter},
|
formatter: this.date_formatter},
|
||||||
@@ -55,9 +54,9 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
filters: [
|
filters: [
|
||||||
{fieldtype:"Select", label: wn._("Company"), link:"Company", default_value: DEFAULT_COMPANY_VALUE,
|
{fieldtype:"Select", label: wn._("Company"), link:"Company", default_value: wn._("Select Company..."),
|
||||||
filter: function(val, item, opts) {
|
filter: function(val, item, opts) {
|
||||||
return item.company == val || val == DEFAULT_COMPANY_VALUE;
|
return item.company == val || val == opts.default_value;
|
||||||
}},
|
}},
|
||||||
{fieldtype:"Link", label: wn._("Account"), link:"Account",
|
{fieldtype:"Link", label: wn._("Account"), link:"Account",
|
||||||
filter: function(val, item, opts, me) {
|
filter: function(val, item, opts, me) {
|
||||||
|
|||||||
Reference in New Issue
Block a user