fixes in sales/purchase register

This commit is contained in:
Nabin Hait 2012-12-20 14:29:53 +05:30
parent 608a751b57
commit 457b0b8648
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ report.customize_filters = function() {
set_filter_property("Purchase Invoice", "From Posting Date", "in_first_page", 1);
set_filter_property("Purchase Invoice", "To Posting Date", "in_first_page", 1);
set_filter_property("Purchase Invoice", "Item", "in_first_page", 1);
set_filter_property("Purchase Invoice Item", "Item", "in_first_page", 1);
set_filter_property("Purchase Invoice", "From Posting Date",
"report_default", sys_defaults.year_start_date);

View File

@ -26,13 +26,13 @@ report.customize_filters = function() {
for(var i=0;i<filter_list_main.length;i++) {
set_filter_property("Sales Invoice", filter_list_main[i], "filter_hide", 0);
}
filter_list_item = ["Item", "item Group", "Brand Name", "Cost Center"]
filter_list_item = ["Item", "Item Group", "Brand Name", "Cost Center"]
for(var i=0;i<filter_list_item.length;i++) {
set_filter_property("Sales Invoice Item", filter_list_item[i], "filter_hide", 0);
}
set_filter_property("Sales Invoice", "From Posting Date", "in_first_page", 1);
set_filter_property("Sales Invoice", "To Posting Date", "in_first_page", 1);
set_filter_property("Sales Invoice", "Item", "in_first_page", 1);
set_filter_property("Sales Invoice Item", "Item", "in_first_page", 1);
set_filter_property("Sales Invoice", "From Posting Date",
"report_default", sys_defaults.year_start_date);