fixes in sales/purchase register
This commit is contained in:
parent
608a751b57
commit
457b0b8648
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user