Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maud Kerebel
scripts
Commits
c4de365c
Commit
c4de365c
authored
Aug 29, 2014
by
Pierre-Elliott Bécue
Browse files
Quelques corrections.
parent
c0ace05c
Changes
2
Show whitespace changes
Inline
Side-by-side
gestion/gest_crans.py
View file @
c4de365c
...
...
@@ -1149,7 +1149,7 @@ def confirm(clas):
in_facture
.
save
()
except
Exception
as
c
:
arg
=
u
'--title "Enregistrement" '
arg
+=
u
'--msgbox "%s
\n\n\n
" 0 0'
%
to_unicode
(
c
.
args
[
0
])
arg
+=
u
'--msgbox "%s
\n\n\n
" 0 0'
%
to_unicode
(
unicode
(
c
.
args
[
0
])
)
dialog
(
arg
)
return
1
in_facture
=
None
...
...
gestion/whos.py
View file @
c4de365c
...
...
@@ -307,7 +307,7 @@ def factures_brief(factures) :
p
,
', '
.
join
(
article
[
'code'
]
for
article
in
facture
.
articles
()),
facture
.
modePaiement
(),
coul
(
"OK"
,
"vert"
)
if
facture
.
recuPaiement
()
else
coul
(
"NON"
,
"rouge"
),
coul
(
facture
.
recuPaiement
()
,
"vert"
)
if
facture
.
recuPaiement
()
else
coul
(
"NON"
,
"rouge"
),
controle
,
unicode
(
facture
.
total
())
+
u
" €"
,
])
...
...
@@ -315,7 +315,7 @@ def factures_brief(factures) :
return
u
"Le propriétaire en rouge signale un problème administratif.
\n
"
+
\
tableau
(
data
,
titre
=
[
u
'fid'
,
u
'Propriétaire'
,
u
'Articles'
,
u
'Mode de paiement'
,
u
'Payé'
,
u
"Contrôle"
,
u
"Total"
],
largeur
=
[
5
,
16
,
'*'
,
16
,
1
0
,
10
,
8
],
largeur
=
[
5
,
16
,
'*'
,
16
,
1
9
,
10
,
8
],
alignement
=
[
'd'
,
'g'
,
'g'
,
'c'
,
'c'
,
'g'
,
'd'
]
)
...
...
Write
Preview
Supports
Markdown
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