fix for excelreport
This commit is contained in:
@@ -229,7 +229,11 @@ dbo.invoicereportInit = function () {
|
||||
|
||||
createSpreadsheet: function () {
|
||||
var vm = dbo.invoicereport;
|
||||
var url = 'index.php/reports/reportsController/createInvoicesSpreadsheet/' + vm.selectedYear();
|
||||
|
||||
var orderDirection = vm.orderDirection ? 'ASC' : 'DESC';
|
||||
var archive = vm.archive() ? 'T' : 'F';
|
||||
|
||||
var url = 'index.php/reports/reportsController/createInvoicesSpreadsheet/' + vm.selectedYear() + '/' + vm.orderType + '/' + orderDirection + '/' + archive;
|
||||
window.open( url, '_blank' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user