[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 77/151: Scenario test pour PDF_Operation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 77/151: Scenario test pour PDF_Operation |
Date: |
Sat, 4 Feb 2017 17:14:29 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 17107bdff0516c375e2ef37bf4aefdacf8c64662
Author: Dany De Bontridder <address@hidden>
Date: Sun Nov 27 13:40:50 2016 +0100
Scenario test pour PDF_Operation
---
scenario/pdf_operation.php | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/scenario/pdf_operation.php b/scenario/pdf_operation.php
new file mode 100644
index 0000000..1e70116
--- /dev/null
+++ b/scenario/pdf_operation.php
@@ -0,0 +1,34 @@
+<?php
+/*
+ * This file is part of NOALYSS.
+ *
+ * NOALYSS is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * NOALYSS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with NOALYSS; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+//@description: Test the class PDF_OPERATION
+
+require_once NOALYSS_INCLUDE."/class/class_pdf_operation.php";
+
+
+
+$pdf=new PDF_Operation ($cn,4677);
+//$pdf=new PDF_Operation ($cn,47);
+//$pdf=new PDF_Operation ($cn,4638);
+
+$pdf->export_pdf(array("anc","acc"));
+
+$a=$pdf->get_pdf();
+$a->Output("/tmp/t.pdf","F");
+
+echo $pdf->get_pdf_filename();
\ No newline at end of file
- [Noalyss-commit] [noalyss] 67/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, (continued)
- [Noalyss-commit] [noalyss] 67/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 59/151: improve CSS theme, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 45/151: Documentation and clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 58/151: IDate : admit date from before 2000, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 63/151: Update doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 66/151: adapt for php 7.0, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 68/151: add newline at the end of file, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 69/151: adapt for php 7.0, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 80/151: Export Detail Operation Analytique + Document, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 47/151: Correct simul.py remove old file, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 77/151: Scenario test pour PDF_Operation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 82/151: Remove useless file, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 78/151: Scenario test pour PDF_Operation Task #9 - PDF_Operation : ajout des options, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 71/151: Database Ajout d'une fonction pour retirer une seule ligne, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 97/151: update of the config.inc.example file, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 94/151: Fix problem of accentuated char, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 105/151: Noalyss_SQL Fix bug in set and get fct, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 103/151: Timestamp instead of date, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 90/151: Improve Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 87/151: Performance : improve VERIF , Improve Accounting check, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 92/151: Fix config.inc.php : add carriage return, Dany De Bontridder, 2017/02/04