noalyss
Version-9
include
header_print.php
Go to the documentation of this file.
1
<?php
2
/*
3
* This file is part of NOALYSS.
4
*
5
* NOALYSS is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* NOALYSS is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with NOALYSS; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
// Copyright Author Dany De Bontridder danydb@aevalys.eu
21
22
/*!\file
23
* \brief contains several function to replace the header in generated document
24
*
25
*/
26
27
28
29
date_default_timezone_set (
'Europe/Brussels'
);
30
31
function
header_txt
($p_cn)
32
{
33
$own
=
new
Noalyss_Parameter_Folder
($p_cn);
34
$soc=
$own
->MY_NAME;
35
36
$date
=date(
'd / m / Y H:i '
);
37
$dossier
=mb_convert_encoding(
" Dossier : "
.
dossier::name
(),
'ISO-8859-1'
,
'UTF-8'
);
38
39
return
$dossier
.
" "
.$soc.
" "
.
$date
;
40
}
41
42
?>
$date
$date
Definition:
action_display_short.php:30
name
$from_poste name
Definition:
balance.inc.php:163
$dossier
$dossier
Definition:
cfgfiche.inc.php:158
Noalyss_Parameter_Folder
Class to manage the company parameter (address, name...)
Definition:
noalyss_parameter_folder.class.php:28
$own
$own
Definition:
export_ledger_pdf.php:51
header_txt
header_txt($p_cn)
Definition:
header_print.php:31