projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed newlines in js submit dialogs.
[fa-stable.git]
/
reporting
/
rep704.php
diff --git
a/reporting/rep704.php
b/reporting/rep704.php
index 192cc5230ea8eb1c1469d3ce5d8e645261f49266..ffa888fdaad9b2e091f85635fcc0a1854402244b 100644
(file)
--- a/
reporting/rep704.php
+++ b/
reporting/rep704.php
@@
-9,7
+9,7
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security =
2
;
+$page_security =
'SA_GLREP'
;
// ----------------------------------------------------------------
// $ Revision: 2.0 $
// Creator: Joe Hunt
// ----------------------------------------------------------------
// $ Revision: 2.0 $
// Creator: Joe Hunt
@@
-25,7
+25,6
@@
include_once($path_to_root . "/gl/includes/gl_db.inc");
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_GL_transactions();
//----------------------------------------------------------------------------------------------------
print_GL_transactions();
//----------------------------------------------------------------------------------------------------
@@
-59,17
+58,12
@@
function print_GL_transactions()
$comments = $_POST['PARAM_4'];
$destination = $_POST['PARAM_5'];
}
$comments = $_POST['PARAM_4'];
$destination = $_POST['PARAM_5'];
}
- if (isset($destination) && $destination)
- {
+ if ($destination)
include_once($path_to_root . "/reporting/includes/excel_report.inc");
include_once($path_to_root . "/reporting/includes/excel_report.inc");
- $filename = "GLAccountTransactions.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "GLAccountTransactions.pdf";
- }
- $rep = new FrontReport(_('GL Account Transactions'), $filename, user_pagesize());
+
+ $rep = new FrontReport(_('GL Account Transactions'), "GLAccountTransactions", user_pagesize());
$dec = user_price_dec();
$cols = array(0, 70, 90, 140, 210, 280, 340, 400, 450, 510, 570);
$dec = user_price_dec();
$cols = array(0, 70, 90, 140, 210, 280, 340, 400, 450, 510, 570);