noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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
23/**
24 * @file
25 * @brief export ANC Receipt with detail of operation and documents in PDF
26 */
27if (!defined('ALLOWED'))
28 die('Appel direct ne sont pas permis');
29
30// unlock session
31session_write_close();
32
33/**
34 * export all the selected documents for Anc Accountancy in PDF
35 */
37$ck = $http->get('ck',"string", 0);
38if ($ck == 0)
39{
40 echo _("Aucune sélection");
41 exit();
42}
44$type_pdf=$http->get("type_pdf","number",1);
45$reconcilied_document=$http->get("reconcilied_document","number",1);
46
47$task_id=$http->request("task_id");
49try {
51
52} catch (Exception $ex) {
54}
55
record_log($p_message)
Record an error message into the log file of the server or in the log folder of NOALYSS Record also t...
_("actif, passif,charge,...")
$ex
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...
for($e=0; $e< count($afiche); $e++) exit