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
3e18ebb7
Commit
3e18ebb7
authored
Jul 03, 2018
by
Hugo LEVY-FALK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Même template pour la validation de paiement.
parent
6957598a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
39 deletions
+6
-39
cotisations/payment_methods/cheque/views.py
cotisations/payment_methods/cheque/views.py
+5
-2
cotisations/templates/cotisations/payment.html
cotisations/templates/cotisations/payment.html
+1
-0
cotisations/templates/cotisations/payment_form.html
cotisations/templates/cotisations/payment_form.html
+0
-37
No files found.
cotisations/payment_methods/cheque/views.py
View file @
3e18ebb7
...
...
@@ -39,6 +39,9 @@ def cheque(request, invoice_pk):
)
return
render
(
request
,
'cotisations/payment_form.html'
,
{
'form'
:
form
}
'cotisations/payment.html'
,
{
'form'
:
form
,
'amount'
:
invoice
.
prix_total
()
}
)
cotisations/templates/cotisations/payment.html
View file @
3e18ebb7
...
...
@@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</h3>
<form
class=
"form"
method=
"{{ method }}"
action=
"{{ action }}"
>
{{ content | safe }}
{% bootstrap_form form %}
{% trans "Pay" as tr_pay %}
{% bootstrap_button tr_pay button_type='submit' icon='piggy-bank' %}
</form>
...
...
cotisations/templates/cotisations/payment_form.html
deleted
100644 → 0
View file @
6957598a
{% extends "cotisations/sidebar.html" %}
{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.
Copyright © 2018 Hugo Levy-Falk
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
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
{% load bootstrap3 %}
{% load staticfiles%}
{% load i18n %}
{% block title %}{% trans form.title %}{% endblock %}
{% block content %}
<h2>
{% trans form.title %}
</h2>
<form
class=
"form"
method=
"post"
>
{% csrf_token %}
{% bootstrap_form form %}
{% bootstrap_button tr_confirm button_type='submit' icon='piggy-bank' %}
</form>
{% endblock %}
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