noalyss
Version-9
include
export
export_anc_acc_list_pdf.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of NOALYSS.
5
*
6
* PhpCompta 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
* PhpCompta 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 PhpCompta; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
// Copyright (2002-2021) Author Dany De Bontridder <danydb@noalyss.eu>
21
22
if
(!defined(
'ALLOWED'
)) die(
'Appel direct ne sont pas permis'
);
23
24
/**
25
* @file
26
* @brief export ANCBCC in PDF
27
*/
28
29
$bal
=
new
Anc_Acc_List
(
$cn
);
30
$bal
->get_request();
31
$pdf
=
new
PDF_Anc_Acc_List
(
$bal
);
32
$fDate
=date(
'dmy-Hi'
);
33
34
$pdf
->export_pdf()->Output(
"balance-acc-anc-$fDate.pdf"
,
'D'
);
$cn
$cn
Definition:
ajax_anc_accounting.php:30
Anc_Acc_List
Manage the class for reporting about Analytic Accountancy and Accountancy : card - analytic account,...
Definition:
anc_acc_list.class.php:34
PDF_Anc_Acc_List
Definition:
pdf_anc_acc_list.class.php:32
$fDate
$fDate
Definition:
export_anc_acc_list_pdf.php:32
$bal
$bal
Definition:
export_anc_acc_list_pdf.php:29
$pdf
$pdf
Definition:
export_anc_acc_list_pdf.php:31