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
dc1bc333
Commit
dc1bc333
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
sql syntax
parent
8c4324d9
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/supplier_proposal/class/supplier_proposal.class.php
+2
-2
2 additions, 2 deletions
htdocs/supplier_proposal/class/supplier_proposal.class.php
with
2 additions
and
2 deletions
htdocs/supplier_proposal/class/supplier_proposal.class.php
+
2
−
2
View file @
dc1bc333
...
...
@@ -1192,8 +1192,8 @@ class SupplierProposal extends CommonObject
$sql
=
"SELECT d.rowid, d.fk_supplier_proposal, d.fk_parent_line, d.label as custom_label, d.description, d.price, d.tva_tx, d.localtax1_tx, d.localtax2_tx, d.qty, d.fk_remise_except, d.remise_percent, d.subprice, d.fk_product,"
;
$sql
.
=
" d.info_bits, d.total_ht, d.total_tva, d.total_localtax1, d.total_localtax2, d.total_ttc, d.fk_product_fournisseur_price as fk_fournprice, d.buy_price_ht as pa_ht, d.special_code, d.rang, d.product_type,"
;
$sql
.
=
' p.ref as product_ref, p.description as product_desc, p.fk_product_type, p.label as product_label,'
;
$sql
.
=
' d.ref_fourn as ref_produit_fourn'
;
$sql
.
=
'
,
d.fk_multicurrency, d.multicurrency_code, d.multicurrency_subprice, d.multicurrency_total_ht, d.multicurrency_total_tva, d.multicurrency_total_ttc'
;
$sql
.
=
' d.ref_fourn as ref_produit_fourn
,
'
;
$sql
.
=
' d.fk_multicurrency, d.multicurrency_code, d.multicurrency_subprice, d.multicurrency_total_ht, d.multicurrency_total_tva, d.multicurrency_total_ttc'
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"supplier_proposaldet as d"
;
$sql
.
=
" LEFT JOIN "
.
MAIN_DB_PREFIX
.
"product as p ON d.fk_product = p.rowid"
;
$sql
.
=
" WHERE d.fk_supplier_proposal = "
.
$this
->
id
;
...
...
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