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
Benjamin Graillot
scripts
Commits
5d994bec
Commit
5d994bec
authored
Sep 08, 2007
by
gdetrez
Browse files
plus d'infos en cas de probleme
darcs-hash:20070908162834-f46e9-fe1c373a95f74e684e7f72babdde41a4abc49e92.gz
parent
4f0d379a
Changes
1
Hide whitespace changes
Inline
Side-by-side
intranet/modules/gestionFactures/main.py
View file @
5d994bec
...
...
@@ -12,7 +12,7 @@
#
# ##################################################################################################### #
import
cherrypy
,
sys
,
os
,
datetime
import
crans.cp
import
crans.cp
,
crans
.
utils
.
exceptions
from
ClassesIntranet.ModuleBase
import
ModuleBase
class
main
(
ModuleBase
):
...
...
@@ -133,8 +133,9 @@ class main(ModuleBase):
fact
.
recuPaiement
(
cherrypy
.
session
[
'uid'
])
fact
.
save
()
except
Exception
,
e
:
crans
.
cp
.
log
(
"pb crédit"
,
"GESTION FACTURES"
,
1
)
return
self
.
index
(
erreur
=
u
"Problème lors du crédit"
)
crans
.
cp
.
log
(
unicode
(
e
),
"GESTION FACTURES"
,
1
)
crans
.
cp
.
log
(
crans
.
utils
.
exceptions
.
formatExc
(
),
"GESTION FACTURES"
,
1
)
return
self
.
displayTemplate
(
erreur
=
u
"Erreur: "
+
unicode
(
e
)
)
crans
.
cp
.
log
(
"Facture creditee [fid=%s]"
%
fid
,
"GESTION FACTURES"
)
return
self
.
displayTemplate
(
message
=
u
"Facture créditée"
)
crediteFacture
.
exposed
=
True
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