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
23673cf4
Commit
23673cf4
authored
9 years ago
by
aspangaro
Browse files
Options
Downloads
Patches
Plain Diff
Fix: ER vat rate don't show in pdf
parent
e62595b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/expensereport/class/expensereport.class.php
+3
-2
3 additions, 2 deletions
htdocs/expensereport/class/expensereport.class.php
with
3 additions
and
2 deletions
htdocs/expensereport/class/expensereport.class.php
+
3
−
2
View file @
23673cf4
...
@@ -736,7 +736,7 @@ class ExpenseReport extends CommonObject
...
@@ -736,7 +736,7 @@ class ExpenseReport extends CommonObject
$this
->
lines
=
array
();
$this
->
lines
=
array
();
$sql
=
' SELECT de.rowid, de.comments, de.qty, de.value_unit, de.date,'
;
$sql
=
' SELECT de.rowid, de.comments, de.qty, de.value_unit, de.date,'
;
$sql
.
=
' de.'
.
$this
->
fk_element
.
', de.fk_c_type_fees, de.fk_projet, de.tva_tx
as vatrate
,'
;
$sql
.
=
' de.'
.
$this
->
fk_element
.
', de.fk_c_type_fees, de.fk_projet, de.tva_tx,'
;
$sql
.
=
' de.total_ht, de.total_tva, de.total_ttc,'
;
$sql
.
=
' de.total_ht, de.total_tva, de.total_ttc,'
;
$sql
.
=
' ctf.code as code_type_fees, ctf.label as libelle_type_fees,'
;
$sql
.
=
' ctf.code as code_type_fees, ctf.label as libelle_type_fees,'
;
$sql
.
=
' p.ref as ref_projet, p.title as title_projet'
;
$sql
.
=
' p.ref as ref_projet, p.title as title_projet'
;
...
@@ -773,7 +773,8 @@ class ExpenseReport extends CommonObject
...
@@ -773,7 +773,8 @@ class ExpenseReport extends CommonObject
$deplig
->
type_fees_code
=
$objp
->
code_type_fees
;
$deplig
->
type_fees_code
=
$objp
->
code_type_fees
;
$deplig
->
type_fees_libelle
=
$objp
->
libelle_type_fees
;
$deplig
->
type_fees_libelle
=
$objp
->
libelle_type_fees
;
$deplig
->
vatrate
=
$objp
->
vatrate
;
$deplig
->
tva_tx
=
$objp
->
tva_tx
;
$deplig
->
vatrate
=
$objp
->
tva_tx
;
$deplig
->
projet_ref
=
$objp
->
ref_projet
;
$deplig
->
projet_ref
=
$objp
->
ref_projet
;
$deplig
->
projet_title
=
$objp
->
title_projet
;
$deplig
->
projet_title
=
$objp
->
title_projet
;
...
...
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