noalyss Version-9
export_anc_receipt_pdf.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of NOALYSS.
5 *
6 * NOALYSS is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * NOALYSS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with NOALYSS; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21// Copyright Author Dany De Bontridder danydb@aevalys.eu
22// Copyright Author Dany De Bontridder danydb@aevalys.eu
23if (!defined('ALLOWED'))
24 die('Appel direct ne sont pas permis');
25
26// unlock session
27session_write_close();
28
29/**
30 * export all the selected documents for Ana Accountancy in PDF
31 */
33$ck = $http->get('ck',"string", 0);
34if ($ck == 0)
35{
36 echo _("Aucune sélection");
37 exit();
38}
40$type_pdf=$http->get("type_pdf","number",1);
41$reconcilied_document=$http->get("reconcilied_document","number",1);
42
43$task_id=$http->request("task_id");
46
Export DOCUMENT from Analytic accountancy, can transform into PDF and add a stamp on each pages.
manage the http input (get , post, request) and extract from an array
Use one db for tracking progress bar value, the task id must be unique and let you follow the progres...
if($ck==0) $anc
$http
export all the selected documents for Ana Accountancy in PDF
for($e=0; $e< count($afiche); $e++) exit