diff --git a/apps/treasury/migrations/0006_auto_20230414_1651.py b/apps/treasury/migrations/0006_auto_20230414_1651.py new file mode 100644 index 00000000..98df4316 --- /dev/null +++ b/apps/treasury/migrations/0006_auto_20230414_1651.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.28 on 2023-04-14 14:51 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('treasury', '0005_auto_20230129_2348'), + ] + + operations = [ + migrations.AlterField( + model_name='invoice', + name='bde', + field=models.CharField(choices=[('SecretStorlist', 'SecretStor[list]'), ('TotalistSpies', 'Tota[list]Spies'), ('Saperlistpopette', 'Saper[list]popette'), ('Finalist', 'Fina[list]'), ('Listorique', '[List]orique'), ('Satellist', 'Satel[list]'), ('Monopolist', 'Monopo[list]'), ('Kataclist', 'Katac[list]')], default='SecretStorlist', max_length=32, verbose_name='BDE'), + ), + ] diff --git a/apps/treasury/models.py b/apps/treasury/models.py index b2a4fd60..9198481c 100644 --- a/apps/treasury/models.py +++ b/apps/treasury/models.py @@ -28,9 +28,10 @@ class Invoice(models.Model): bde = models.CharField( max_length=32, - default='TotalistSpies', + default='SecretStorlist', choices=( - ('TotalistSpies', 'Tota[list]Spies'), + ('SecretStorlist', 'SecretStor[list]'), + ('TotalistSpies', 'Tota[list]Spies'), ('Saperlistpopette', 'Saper[list]popette'), ('Finalist', 'Fina[list]'), ('Listorique', '[List]orique'), diff --git a/apps/treasury/static/img/SecretStorlist.png b/apps/treasury/static/img/SecretStorlist.png new file mode 100644 index 00000000..5b7766fd Binary files /dev/null and b/apps/treasury/static/img/SecretStorlist.png differ diff --git a/apps/treasury/static/img/SecretStorlist_bg.jpg b/apps/treasury/static/img/SecretStorlist_bg.jpg new file mode 100644 index 00000000..8c5b0d26 Binary files /dev/null and b/apps/treasury/static/img/SecretStorlist_bg.jpg differ diff --git a/apps/treasury/templates/treasury/invoice_sample.tex b/apps/treasury/templates/treasury/invoice_sample.tex index f07f00f5..f34b7ad3 100644 --- a/apps/treasury/templates/treasury/invoice_sample.tex +++ b/apps/treasury/templates/treasury/invoice_sample.tex @@ -105,8 +105,8 @@ \renewcommand{\headrulewidth}{0pt} \cfoot{ - \small{\MonNom ~--~ \MonAdresseRue ~ \MonAdresseVille ~--~ Téléphone : +33(0)6 89 88 56 50\newline - Site web : bde.ens-cachan.fr ~--~ E-mail : tresorerie.bde@lists.crans.org \newline Numéro SIRET : 399 485 838 00011 + \small{\MonNom ~--~ \MonAdresseRue ~ \MonAdresseVille ~--~ Téléphone : +33(0)7 78 17 22 34\newline + Site web : bde.ens-cachan.fr ~--~ E-mail : tresorerie.bde@lists.crans.org \newline Numéro SIRET : 399 485 838 00029 } }