Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maud Kerebel
scripts
Commits
1eb39752
Commit
1eb39752
authored
Sep 01, 2014
by
Pierre-Elliott Bécue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[whos] Amélioration de l'affichage des factures.
parent
e79e5c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gestion/whos.py
gestion/whos.py
+2
-1
No files found.
gestion/whos.py
View file @
1eb39752
...
...
@@ -718,6 +718,7 @@ def facture_details(facture) :
f
+=
coul
(
u
"Articles :"
,
"gras"
)
+
u
"
\n
"
f
+=
list_articles
(
facture
)
f
+=
u
"
\n
"
f
+=
coul
(
u
"Total : "
,
"gras"
)
+
u
"%s €
\n
"
%
facture
.
total
()
# Mode de paiement
f
+=
coul
(
u
"Mode de paiement : "
,
"gras"
)
...
...
@@ -740,7 +741,7 @@ def list_articles(facture):
return
tableau
(
data
,
titre
=
[
u
'Code'
,
u
'Désignation'
,
u
'Nombre'
,
u
"Prix unitaire"
],
largeur
=
[
10
,
'*'
,
10
,
1
0
],
largeur
=
[
10
,
'*'
,
10
,
1
3
],
alignement
=
[
'c'
,
'g'
,
'c'
,
'c'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment