Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
27f646c2
Commit
27f646c2
authored
Jun 17, 2018
by
Hugo LEVY-FALK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Afficher le bon prix c'est encore mieux
parent
53221426
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
cotisations/payment.py
cotisations/payment.py
+1
-1
cotisations/templates/cotisations/new_facture.html
cotisations/templates/cotisations/new_facture.html
+2
-0
cotisations/templates/cotisations/payment.html
cotisations/templates/cotisations/payment.html
+1
-1
No files found.
cotisations/payment.py
View file @
27f646c2
...
...
@@ -29,7 +29,7 @@ def accept_payment(request, factureid):
messages
.
success
(
request
,
_
(
"The payment of %(amount)s € has been accepted."
)
%
{
'amount'
:
invoice
.
prix
()
'amount'
:
invoice
.
prix
_total
()
}
)
# In case a cotisation was bought, inform the user, the
...
...
cotisations/templates/cotisations/new_facture.html
View file @
27f646c2
...
...
@@ -35,11 +35,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<form
class=
"form"
method=
"post"
>
{% csrf_token %}
<h3>
{% trans "New invoice" %}
</h3>
{% if user.solde %}
<p>
{% blocktrans %}
User's balance : {{ user.solde }} €
{% endblocktrans %}
</p>
{% endif %}
{% bootstrap_form factureform %}
{{ venteform.management_form }}
<!-- TODO: FIXME to include data-type="check" for right option in id_cheque select -->
...
...
cotisations/templates/cotisations/payment.html
View file @
27f646c2
...
...
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h3>
{% blocktrans %}
Refill of
{{ amount }} €
Pay
{{ amount }} €
{% endblocktrans %}
</h3>
<form
class=
"form"
method=
"{{ method }}"
action=
"{{ action }}"
>
...
...
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