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
95c61f8c
Commit
95c61f8c
authored
20 years ago
by
Rodolphe Quiedeville
Browse files
Options
Downloads
Patches
Plain Diff
Ajout infos
parent
cb786e5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/telephonie/ligne/commande/retour/index.php
+55
-2
55 additions, 2 deletions
htdocs/telephonie/ligne/commande/retour/index.php
with
55 additions
and
2 deletions
htdocs/telephonie/ligne/commande/retour/index.php
+
55
−
2
View file @
95c61f8c
...
...
@@ -122,10 +122,63 @@ print '</td><td valign="top">';
*
*/
print_titre
(
"Retour en attente de traitement"
);
$sql
=
"SELECT "
;
$sql
.
=
" cli,mode,situation,date_mise_service,date_resiliation,motif_resiliation,commentaire,fichier, traite "
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"telephonie_commande_retour"
;
$sql
.
=
" WHERE traite = 0 AND mode = 'PRESELECTION'"
;
$sql
.
=
" LIMIT 10"
;
if
(
$db
->
query
(
$sql
))
{
$num
=
$db
->
num_rows
();
if
(
$num
)
{
$i
=
0
;
print_titre
(
"Retour"
);
print
'<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'
;
print
'<tr class="liste_titre"><td>Lignes Statuts</td><td align="center">Resultat</td>'
;
print
'<td align="center">Date</td><td>Commentaire</td>'
;
print
"</tr>
\n
"
;
$var
=
True
;
while
(
$i
<
$num
)
{
$obj
=
$db
->
fetch_object
();
$var
=!
$var
;
$ligne
=
new
LigneTel
(
$db
);
if
(
$ligne
->
fetch
(
$obj
->
cli
)
==
1
);
{
print
"<tr
$bc[$var]
><td>"
;
print
'<img src="'
.
DOL_URL_ROOT
.
'/telephonie/ligne/graph'
.
$ligne
->
statut
.
'.png"> '
;
print
'<a href="'
.
DOL_URL_ROOT
.
'/telephonie/ligne/fiche.php?numero='
.
$obj
->
cli
.
'">'
;
print
$obj
->
cli
.
"</a></td>
\n
"
;
print
'<td align="center">'
.
$obj
->
situation
.
"</td>
\n
"
;
print
'<td align="center">'
.
$obj
->
date_mise_service
.
"</td>
\n
"
;
print
'<td>'
.
$obj
->
commentaire
.
"</td>
\n
"
;
print
"</tr>
\n
"
;
}
$i
++
;
}
print
"</table><br />"
;
}
$db
->
free
();
}
else
{
print
$db
->
error
()
.
' '
.
$sql
;
}
print_titre
(
"Fichiers retour en attente de traitement"
);
print
'<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'
;
print
'<tr class="liste_titre"><td>
Lignes Statuts
</td><td>Taille</td><td>Date</td>'
;
print
'<tr class="liste_titre"><td>
Fichier
</td><td>Taille</td><td>Date</td>'
;
print
"</tr>
\n
"
;
$var
=
True
;
...
...
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