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
3914f0eb
Commit
3914f0eb
authored
20 years ago
by
Eric Seigne
Browse files
Options
Downloads
Patches
Plain Diff
on affiche les commandes associees que si le module commandes est actif
parent
a3e7d820
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/comm/fiche.php
+35
-33
35 additions, 33 deletions
htdocs/comm/fiche.php
with
35 additions
and
33 deletions
htdocs/comm/fiche.php
+
35
−
33
View file @
3914f0eb
<?php
<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
*
*
* This program is free software; you can redistribute it and/or modify
* 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
* it under the terms of the GNU General Public License as published by
...
@@ -308,8 +309,9 @@ if ($_socid > 0)
...
@@ -308,8 +309,9 @@ if ($_socid > 0)
/*
/*
* Commandes
* Commandes
*
*
Que si le module est actif !
*/
*/
if
(
$conf
->
commande
->
enabled
)
{
print
'<table class="border" width="100%">'
;
print
'<table class="border" width="100%">'
;
$sql
=
"SELECT s.nom, s.idp, p.rowid as propalid, p.total_ht, p.ref, "
.
$db
->
pdate
(
"p.date_commande"
)
.
" as dp"
;
$sql
=
"SELECT s.nom, s.idp, p.rowid as propalid, p.total_ht, p.ref, "
.
$db
->
pdate
(
"p.date_commande"
)
.
" as dp"
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"societe as s, "
.
MAIN_DB_PREFIX
.
"commande as p WHERE p.fk_soc = s.idp "
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"societe as s, "
.
MAIN_DB_PREFIX
.
"commande as p WHERE p.fk_soc = s.idp "
;
...
@@ -341,7 +343,7 @@ if ($_socid > 0)
...
@@ -341,7 +343,7 @@ if ($_socid > 0)
}
}
$db
->
free
();
$db
->
free
();
}
}
}
/*
/*
*
*
* Liste des projets associs
* Liste des projets associs
...
...
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