mirror of https://gitlab.federez.net/re2o/re2o
22 changed files with 741 additions and 49 deletions
@ -0,0 +1,22 @@ |
|||
Bonjour {{name}} ! |
|||
|
|||
Nous vous informons que votre cotisation auprès de {{asso_name}} a été acceptée. Vous voilà donc membre de l'association. |
|||
|
|||
Vous trouverez en pièce jointe un reçu. |
|||
|
|||
Pour nous faire part de toute remarque, suggestion ou problème vous pouvez nous envoyer un mail à {{asso_email}}. |
|||
|
|||
À bientôt, |
|||
L'équipe de {{asso_name}}. |
|||
|
|||
--- |
|||
|
|||
Your subscription to {{asso_name}} has just been accepted. You are now a full member of {{asso_name}}. |
|||
|
|||
You will find with this email a subscription voucher. |
|||
|
|||
For any information, suggestion or problem, you can contact us via email at |
|||
{{asso_email}}. |
|||
|
|||
Regards, |
|||
The {{asso_name}} team. |
|||
@ -0,0 +1,87 @@ |
|||
{% load i18n %} |
|||
{% language 'fr' %} |
|||
|
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% Invoice Template |
|||
% LaTeX Template |
|||
% Version 1.0 (3/11/12) |
|||
%% This template has been downloaded from: |
|||
% http://www.LaTeXTemplates.com |
|||
% |
|||
% Original author: |
|||
% Trey Hunner (http://www.treyhunner.com/) |
|||
% |
|||
% License: |
|||
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) |
|||
% |
|||
% Important note: |
|||
% This template requires the invoice.cls file to be in the same directory as |
|||
% the .tex file. The invoice.cls file provides the style used for structuring the |
|||
% document. |
|||
% |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% DOCUMENT CONFIGURATION |
|||
%---------------------------------------------------------------------------------------- |
|||
|
|||
\documentclass[12pt]{article} % Use the custom invoice class (invoice.cls) |
|||
\usepackage[utf8]{inputenc} |
|||
\usepackage[letterpaper,hmargin=0.79in,vmargin=0.79in]{geometry} |
|||
\usepackage{longtable} |
|||
\usepackage{graphicx} |
|||
\usepackage{tabularx} |
|||
\usepackage{eurosym} |
|||
\usepackage{multicol} |
|||
|
|||
\pagestyle{empty} % No page numbers |
|||
|
|||
\linespread{1.5} |
|||
|
|||
\newcommand{\doublehline}{\noalign{\hrule height 1pt}} |
|||
\setlength{\parindent}{0cm} |
|||
|
|||
|
|||
\begin{document} |
|||
|
|||
%---------------------------------------------------------------------------------------- |
|||
% HEADING SECTION |
|||
%---------------------------------------------------------------------------------------- |
|||
\begin{center} |
|||
{\Huge\bf Reçu d'adhésion \\ {{asso_name|safe}} } % Company providing the invoice |
|||
\end{center} |
|||
|
|||
\bigskip |
|||
\hrule |
|||
\bigskip |
|||
|
|||
\vfill |
|||
|
|||
Je sousigné, {{pres_name|safe}}, déclare par la présente avoir reçu le bulletin d'adhésion de: |
|||
|
|||
\begin{center} |
|||
\setlength{\tabcolsep}{10pt} % Make table columns tighter, usefull for postionning |
|||
\begin{tabular}{r l r l} |
|||
{\bf Prénom :}~ & {{firstname|safe}} & {% if phone %}{\bf Téléphone :}~ & {{phone}}{% else %} & {% endif %} \\ |
|||
{\bf Nom :}~ & {{lastname|safe}} & {\bf Mail :}~ & {{email|safe}} \\ |
|||
\end{tabular} |
|||
\end{center} |
|||
\bigskip |
|||
|
|||
ainsi que sa cotisation. |
|||
|
|||
Le postulant, déclare reconnaître l'objet de l'association, et en a accepté les statuts ainsi que le règlement intérieur qui sont mis à sa disposition dans les locaux de l'association. L'adhésion du membre sus-nommé est ainsi validée. Ce reçu confirme la qualité de membre du postulant, et ouvre droit à la participation à l'assemblée générale de l'association jusqu'au {{date_end|date:"d F Y"}}. |
|||
|
|||
\bigskip |
|||
|
|||
Validé électroniquement par {{pres_name|safe}}, le {{date_begin|date:"d/m/Y"}}. |
|||
|
|||
\vfill |
|||
\hrule |
|||
\smallskip |
|||
\footnotesize |
|||
Les informations recueillies sont nécessaires pour votre adhésion. Conformément à la loi "Informatique et Libertés" du 6 janvier 1978, vous disposez d'un droit d'accès et de rectification aux données personnelles vous concernant. Pour l'exercer, adressez-vous au secrétariat de l'association. |
|||
|
|||
|
|||
\end{document} |
|||
{% endlanguage %} |
|||
@ -0,0 +1,62 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.10.7 on 2019-01-20 23:39 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
import preferences.models |
|||
import re2o.mixins |
|||
|
|||
|
|||
def create_defaults(apps, schema_editor): |
|||
CotisationsOption = apps.get_model('preferences', 'CotisationsOption') |
|||
CotisationsOption.objects.get_or_create() |
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('preferences', '0058_auto_20190108_1650'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='CotisationsOption', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('send_voucher_mail', models.BooleanField(default=False, verbose_name='Send voucher by email when the invoice is controlled.')), |
|||
], |
|||
options={ |
|||
'verbose_name': 'cotisations options', |
|||
}, |
|||
bases=(re2o.mixins.AclMixin, models.Model), |
|||
), |
|||
migrations.CreateModel( |
|||
name='DocumentTemplate', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('template', models.FileField(upload_to='templates/', verbose_name='template')), |
|||
('name', models.CharField(max_length=125, unique=True, verbose_name='name')), |
|||
], |
|||
options={ |
|||
'verbose_name': 'document template', |
|||
'verbose_name_plural': 'document templates', |
|||
}, |
|||
bases=(re2o.mixins.RevMixin, re2o.mixins.AclMixin, models.Model), |
|||
), |
|||
migrations.AddField( |
|||
model_name='assooption', |
|||
name='pres_name', |
|||
field=models.CharField(default='', help_text='Displayed on subscription vouchers', max_length=255, verbose_name='President of the association'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='cotisationsoption', |
|||
name='invoice_template', |
|||
field=models.OneToOneField(default=preferences.models.default_invoice, on_delete=django.db.models.deletion.PROTECT, related_name='invoice_template', to='preferences.DocumentTemplate', verbose_name='Template for invoices'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='cotisationsoption', |
|||
name='voucher_template', |
|||
field=models.OneToOneField(default=preferences.models.default_voucher, on_delete=django.db.models.deletion.PROTECT, related_name='voucher_template', to='preferences.DocumentTemplate', verbose_name='Template for subscription voucher'), |
|||
), |
|||
migrations.RunPython(create_defaults), |
|||
] |
|||
@ -0,0 +1,50 @@ |
|||
{% 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 © 2017 Gabriel Détraz |
|||
Copyright © 2017 Goulven Kermarec |
|||
Copyright © 2017 Augustin Lemesle |
|||
|
|||
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 acl %} |
|||
{% load i18n %} |
|||
{% load logs_extra %} |
|||
|
|||
<table class="table table-striped"> |
|||
<thead> |
|||
<tr> |
|||
<th>{% trans "Document template" %}</th> |
|||
<th>{% trans "File" %}</th> |
|||
<th></th> |
|||
</tr> |
|||
</thead> |
|||
{% for template in document_template_list %} |
|||
<tr> |
|||
<td>{{ template.name }}</td> |
|||
<td><a href="{{template.template.url}}">{{template.template}}</a></td> |
|||
<td class="text-right"> |
|||
{% can_edit template %} |
|||
{% include 'buttons/edit.html' with href='preferences:edit-document-template' id=template.id %} |
|||
{% acl_end %} |
|||
{% history_button template %} |
|||
</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
|
|||
Loading…
Reference in new issue