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
644e0c70
Commit
644e0c70
authored
20 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Trad: Quelques trad pour la forme...
parent
d6fea5ef
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/compta/prelevement/fiche.php
+20
-8
20 additions, 8 deletions
htdocs/compta/prelevement/fiche.php
with
20 additions
and
8 deletions
htdocs/compta/prelevement/fiche.php
+
20
−
8
View file @
644e0c70
<?PHP
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 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
...
...
@@ -19,8 +20,19 @@
* $Source$
*
*/
/**
\file htdocs/compta/prelevement/fiche.php
\ingroup prelevement
\brief Fiche prelevement
\version $Revision$
*/
require
(
"./pre.inc.php"
);
$langs
->
load
(
"bills"
);
/*
* Scurit accs client
*/
...
...
@@ -61,16 +73,16 @@ llxHeader('','Bon de pr
$h
=
0
;
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/compta/prelevement/fiche.php?id='
.
$_GET
[
"id"
];
$head
[
$h
][
1
]
=
$langs
->
trans
(
"
Fiche
"
);
$head
[
$h
][
1
]
=
$langs
->
trans
(
"
Card
"
);
$hselected
=
$h
;
$h
++
;
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/compta/prelevement/factures.php?id='
.
$_GET
[
"id"
];
$head
[
$h
][
1
]
=
$langs
->
trans
(
"
Facture
s"
);
$head
[
$h
][
1
]
=
$langs
->
trans
(
"
Bill
s"
);
$h
++
;
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/compta/prelevement/fiche-stat.php?id='
.
$_GET
[
"id"
];
$head
[
$h
][
1
]
=
$langs
->
trans
(
"Statisti
que
s"
);
$head
[
$h
][
1
]
=
$langs
->
trans
(
"Statisti
c
s"
);
$h
++
;
$prev_id
=
$_GET
[
"id"
];
...
...
@@ -93,10 +105,10 @@ if ($_GET["id"])
print
'<table class="border" width="100%">'
;
print
'<tr><td width="20%">
Référen
ce</td><td>'
.
$bon
->
ref
.
'</td></tr>'
;
print
'<tr><td width="20%">
Date
</td><td>'
.
strftime
(
"%d %b %Y"
,
$bon
->
datec
)
.
'</td></tr>'
;
print
'<tr><td width="20%">
Montant
</td><td>'
.
price
(
$bon
->
amount
)
.
'</td></tr>'
;
print
'<tr><td width="20%">
Fichier
</td><td>'
;
print
'<tr><td width="20%">
'
.
$langs
->
trans
(
"Ref"
)
.
'
</td><td>'
.
$bon
->
ref
.
'</td></tr>'
;
print
'<tr><td width="20%">
'
.
$langs
->
trans
(
"Date"
)
.
'
</td><td>'
.
strftime
(
"%d %b %Y"
,
$bon
->
datec
)
.
'</td></tr>'
;
print
'<tr><td width="20%">
'
.
$langs
->
trans
(
"Amount"
)
.
'
</td><td>'
.
price
(
$bon
->
amount
)
.
'</td></tr>'
;
print
'<tr><td width="20%">
'
.
$langs
->
trans
(
"File"
)
.
'
</td><td>'
;
$encfile
=
urlencode
(
DOL_DATA_ROOT
.
'/prelevement/bon/'
.
$bon
->
ref
);
...
...
@@ -159,7 +171,7 @@ if ($_GET["id"])
}
else
{
print
"Erreur"
;
dolibarr_print_error
(
$db
)
;
}
}
...
...
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