Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
dfb4b37c
Commit
dfb4b37c
authored
Jan 9, 2009
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Pagecode change after click on create
parent
775ddafa
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/compta/paiement/rapport.php
+19
-13
19 additions, 13 deletions
htdocs/compta/paiement/rapport.php
with
19 additions
and
13 deletions
htdocs/compta/paiement/rapport.php
+
19
−
13
View file @
dfb4b37c
<?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-200
7
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-200
9
Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -15,21 +15,19 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\file htdocs/compta/paiement/rapport.php
\ingroup facture
\brief
Rapports de paiements
\version $
Revision
$
*
\file htdocs/compta/paiement/rapport.php
*
\ingroup facture
*
\brief
Payment reports page
*
\version $
Id
$
*/
require
(
"./pre.inc.php"
);
require_once
(
DOL_DOCUMENT_ROOT
.
"/includes/modules/rapport/pdf_paiement.class.php"
);
// Scurit
accs
// S
e
curit
y check
if
(
!
$user
->
rights
->
facture
->
lire
)
accessforbidden
();
...
...
@@ -46,13 +44,22 @@ if ($user->societe_id > 0)
$year
=
$_GET
[
"year"
];
if
(
!
$year
)
{
$year
=
date
(
"Y"
);
}
/*
* Action
gnrer fichier rapport paiement
s
* Actions
*/
if
(
$_POST
[
"action"
]
==
'gen'
)
{
$rap
=
new
pdf_paiement
(
$db
);
$outputlangs
=
$langs
;
if
(
!
empty
(
$_REQUEST
[
'lang_id'
]))
{
$outputlangs
=
new
Translate
(
""
,
$conf
);
$outputlangs
->
setDefaultLang
(
$_REQUEST
[
'lang_id'
]);
}
// We save charset_output to restore it because write_file can change it if needed for
// output format that does not support UTF8.
$sav_charset_output
=
$outputlangs
->
charset_output
;
...
...
@@ -71,13 +78,12 @@ if ($_POST["action"] == 'gen')
}
/*
* View
*/
llxHeader
();
/*
* Affichage liste des paiements
*
*/
$titre
=
(
$year
?
$langs
->
trans
(
"PaymentsReportsForYear"
,
$year
)
:
$langs
->
trans
(
"PaymentsReports"
));
print_titre
(
$titre
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment