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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
f0d02312
Commit
f0d02312
authored
18 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Accent dans PDF
parent
77b9f18e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/includes/modules/commande/pdf_edison.modules.php
+14
-14
14 additions, 14 deletions
htdocs/includes/modules/commande/pdf_edison.modules.php
with
14 additions
and
14 deletions
htdocs/includes/modules/commande/pdf_edison.modules.php
+
14
−
14
View file @
f0d02312
<?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-200
5
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-200
7
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
...
...
@@ -113,7 +113,7 @@ class pdf_edison extends ModelePDFCommandes
{
if
(
create_exdir
(
$dir
)
<
0
)
{
$this
->
error
=
$langs
->
trans
(
"ErrorCanNotCreateDir"
,
$dir
);
$this
->
error
=
$langs
->
trans
noentities
(
"ErrorCanNotCreateDir"
,
$dir
);
$langs
->
setPhpLang
();
// On restaure langue session
return
0
;
}
...
...
@@ -130,7 +130,7 @@ class pdf_edison extends ModelePDFCommandes
$pdf
->
SetDrawColor
(
128
,
128
,
128
);
$pdf
->
SetTitle
(
$com
->
ref
);
$pdf
->
SetSubject
(
$langs
->
trans
(
"Order"
));
$pdf
->
SetSubject
(
$langs
->
trans
noentities
(
"Order"
));
$pdf
->
SetCreator
(
"Dolibarr "
.
DOL_VERSION
);
$pdf
->
SetAuthor
(
$user
->
fullname
);
...
...
@@ -215,19 +215,19 @@ class pdf_edison extends ModelePDFCommandes
$pdf
->
line
(
174
,
$tab2_top
,
174
,
$tab2_top
+
$tab2_height
);
$pdf
->
SetXY
(
132
,
$tab2_top
+
0
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
(
"TotalHT"
),
0
,
'R'
,
0
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
noentities
(
"TotalHT"
),
0
,
'R'
,
0
);
$pdf
->
SetXY
(
132
,
$tab2_top
+
$tab2_lh
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
(
"Reduction"
),
0
,
'R'
,
0
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
noentities
(
"Reduction"
),
0
,
'R'
,
0
);
$pdf
->
SetXY
(
132
,
$tab2_top
+
$tab2_lh
*
2
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
"Total HT aprs remise"
,
0
,
'R'
,
0
);
$pdf
->
SetXY
(
132
,
$tab2_top
+
$tab2_lh
*
3
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
(
"TotalVAT"
),
0
,
'R'
,
0
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
noentities
(
"TotalVAT"
),
0
,
'R'
,
0
);
$pdf
->
SetXY
(
132
,
$tab2_top
+
(
$tab2_lh
*
4
));
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
(
"TotalTTC"
),
1
,
'R'
,
1
);
$pdf
->
MultiCell
(
42
,
$tab2_lh
,
$langs
->
trans
noentities
(
"TotalTTC"
),
1
,
'R'
,
1
);
$pdf
->
SetXY
(
174
,
$tab2_top
+
0
);
$pdf
->
MultiCell
(
26
,
$tab2_lh
,
price
(
$com
->
total_ht
+
$com
->
remise
),
0
,
'R'
,
0
);
...
...
@@ -270,19 +270,19 @@ class pdf_edison extends ModelePDFCommandes
$pdf
->
SetFont
(
'Arial'
,
''
,
11
);
$pdf
->
Text
(
30
,
$tab_top
+
5
,
$langs
->
trans
(
"Designation"
));
$pdf
->
Text
(
30
,
$tab_top
+
5
,
$langs
->
trans
noentities
(
"Designation"
));
$pdf
->
line
(
132
,
$tab_top
,
132
,
$tab_top
+
$tab_height
);
$pdf
->
Text
(
134
,
$tab_top
+
5
,
$langs
->
trans
(
"VAT"
));
$pdf
->
Text
(
134
,
$tab_top
+
5
,
$langs
->
trans
noentities
(
"VAT"
));
$pdf
->
line
(
144
,
$tab_top
,
144
,
$tab_top
+
$tab_height
);
$pdf
->
Text
(
147
,
$tab_top
+
5
,
$langs
->
trans
(
"Qty"
));
$pdf
->
Text
(
147
,
$tab_top
+
5
,
$langs
->
trans
noentities
(
"Qty"
));
$pdf
->
line
(
156
,
$tab_top
,
156
,
$tab_top
+
$tab_height
);
$pdf
->
Text
(
160
,
$tab_top
+
5
,
$langs
->
trans
(
"PriceU"
));
$pdf
->
Text
(
160
,
$tab_top
+
5
,
$langs
->
trans
noentities
(
"PriceU"
));
$pdf
->
line
(
174
,
$tab_top
,
174
,
$tab_top
+
$tab_height
);
$pdf
->
Text
(
187
,
$tab_top
+
5
,
$langs
->
trans
(
"Total"
));
$pdf
->
Text
(
187
,
$tab_top
+
5
,
$langs
->
trans
noentities
(
"Total"
));
// $pdf->Rect(10, $tab_top, 190, $nexY - $tab_top);
$pdf
->
Rect
(
10
,
$tab_top
,
190
,
$tab_height
);
...
...
@@ -290,7 +290,7 @@ class pdf_edison extends ModelePDFCommandes
$pdf
->
SetTextColor
(
0
,
0
,
0
);
$pdf
->
SetFont
(
'Arial'
,
''
,
10
);
$titre
=
$langs
->
trans
(
"AmountInCurrency"
,
$langs
->
trans
(
"Currency"
.
$conf
->
monnaie
));
$titre
=
$langs
->
trans
noentities
(
"AmountInCurrency"
,
$langs
->
trans
noentities
(
"Currency"
.
$conf
->
monnaie
));
$pdf
->
Text
(
200
-
$pdf
->
GetStringWidth
(
$titre
),
98
,
$titre
);
}
...
...
@@ -352,7 +352,7 @@ class pdf_edison extends ModelePDFCommandes
$pdf
->
SetTextColor
(
200
,
0
,
0
);
$pdf
->
SetFont
(
'Arial'
,
'B'
,
12
);
$pdf
->
Text
(
11
,
88
,
"Date : "
.
strftime
(
"%d %b %Y"
,
$com
->
date
));
$pdf
->
Text
(
11
,
94
,
$langs
->
trans
(
"Order"
)
.
" "
.
$com
->
ref
);
$pdf
->
Text
(
11
,
94
,
$langs
->
trans
noentities
(
"Order"
)
.
" "
.
$com
->
ref
);
}
...
...
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