mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-03 13:48:47 +01:00 
			
		
		
		
	Add new "other" payment type
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		
							
								
								
									
										21
									
								
								apps/participation/migrations/0006_auto_20220426_1346.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								apps/participation/migrations/0006_auto_20220426_1346.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					# Generated by Django 3.2.13 on 2022-04-26 11:46
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from django.db import migrations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dependencies = [
 | 
				
			||||||
 | 
					        ('participation', '0005_pool_results_available'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.AlterModelOptions(
 | 
				
			||||||
 | 
					            name='solution',
 | 
				
			||||||
 | 
					            options={'ordering': ('participation__team__trigram', 'final_solution', 'problem'), 'verbose_name': 'solution', 'verbose_name_plural': 'solutions'},
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        migrations.AlterModelOptions(
 | 
				
			||||||
 | 
					            name='synthesis',
 | 
				
			||||||
 | 
					            options={'ordering': ('passage__pool__round', 'type'), 'verbose_name': 'synthesis', 'verbose_name_plural': 'syntheses'},
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
							
								
								
									
										18
									
								
								apps/registration/migrations/0003_alter_payment_type.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								apps/registration/migrations/0003_alter_payment_type.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					# Generated by Django 3.2.13 on 2022-04-26 11:46
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from django.db import migrations, models
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dependencies = [
 | 
				
			||||||
 | 
					        ('registration', '0002_participantregistration_health_issues'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.AlterField(
 | 
				
			||||||
 | 
					            model_name='payment',
 | 
				
			||||||
 | 
					            name='type',
 | 
				
			||||||
 | 
					            field=models.CharField(blank=True, choices=[('', 'No payment'), ('helloasso', 'Hello Asso'), ('scholarship', 'Scholarship'), ('bank_transfer', 'Bank transfer'), ('other', 'Other (please indicate)'), ('free', 'The tournament is free')], default='', max_length=16, verbose_name='type'),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
@@ -333,6 +333,7 @@ class Payment(models.Model):
 | 
				
			|||||||
            ('helloasso', "Hello Asso"),
 | 
					            ('helloasso', "Hello Asso"),
 | 
				
			||||||
            ('scholarship', _("Scholarship")),
 | 
					            ('scholarship', _("Scholarship")),
 | 
				
			||||||
            ('bank_transfer', _("Bank transfer")),
 | 
					            ('bank_transfer', _("Bank transfer")),
 | 
				
			||||||
 | 
					            ('other', _("Other (please indicate)")),
 | 
				
			||||||
            ('free', _("The tournament is free")),
 | 
					            ('free', _("The tournament is free")),
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        blank=True,
 | 
					        blank=True,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ msgid ""
 | 
				
			|||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
"Project-Id-Version: TFJM\n"
 | 
					"Project-Id-Version: TFJM\n"
 | 
				
			||||||
"Report-Msgid-Bugs-To: \n"
 | 
					"Report-Msgid-Bugs-To: \n"
 | 
				
			||||||
"POT-Creation-Date: 2022-04-22 18:01+0200\n"
 | 
					"POT-Creation-Date: 2022-04-26 13:45+0200\n"
 | 
				
			||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 | 
					"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 | 
				
			||||||
"Last-Translator: Yohann D'ANELLO <yohann.danello@animath.fr>\n"
 | 
					"Last-Translator: Yohann D'ANELLO <yohann.danello@animath.fr>\n"
 | 
				
			||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
 | 
					"Language-Team: LANGUAGE <LL@li.org>\n"
 | 
				
			||||||
@@ -100,7 +100,7 @@ msgid "Changelog of type \"{action}\" for model {model} at {timestamp}"
 | 
				
			|||||||
msgstr "Changelog de type \"{action}\" pour le modèle {model} le {timestamp}"
 | 
					msgstr "Changelog de type \"{action}\" pour le modèle {model} le {timestamp}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/participation/admin.py:19 apps/participation/models.py:314
 | 
					#: apps/participation/admin.py:19 apps/participation/models.py:314
 | 
				
			||||||
#: apps/participation/tables.py:44 apps/registration/models.py:358
 | 
					#: apps/participation/tables.py:44 apps/registration/models.py:359
 | 
				
			||||||
msgid "valid"
 | 
					msgid "valid"
 | 
				
			||||||
msgstr "valide"
 | 
					msgstr "valide"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1326,35 +1326,39 @@ msgid "Bank transfer"
 | 
				
			|||||||
msgstr "Virement bancaire"
 | 
					msgstr "Virement bancaire"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:336
 | 
					#: apps/registration/models.py:336
 | 
				
			||||||
 | 
					msgid "Other (please indicate)"
 | 
				
			||||||
 | 
					msgstr "Autre (veuillez spécifier)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#: apps/registration/models.py:337
 | 
				
			||||||
msgid "The tournament is free"
 | 
					msgid "The tournament is free"
 | 
				
			||||||
msgstr "Le tournoi est gratuit"
 | 
					msgstr "Le tournoi est gratuit"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:343
 | 
					#: apps/registration/models.py:344
 | 
				
			||||||
msgid "scholarship file"
 | 
					msgid "scholarship file"
 | 
				
			||||||
msgstr "Notification de bourse"
 | 
					msgstr "Notification de bourse"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:344
 | 
					#: apps/registration/models.py:345
 | 
				
			||||||
msgid "only if you have a scholarship."
 | 
					msgid "only if you have a scholarship."
 | 
				
			||||||
msgstr "Nécessaire seulement si vous déclarez être boursier."
 | 
					msgstr "Nécessaire seulement si vous déclarez être boursier."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:351
 | 
					#: apps/registration/models.py:352
 | 
				
			||||||
msgid "additional information"
 | 
					msgid "additional information"
 | 
				
			||||||
msgstr "informations additionnelles"
 | 
					msgstr "informations additionnelles"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:352
 | 
					#: apps/registration/models.py:353
 | 
				
			||||||
msgid "To help us to find your payment."
 | 
					msgid "To help us to find your payment."
 | 
				
			||||||
msgstr "Pour nous aider à retrouver votre paiement, si nécessaire."
 | 
					msgstr "Pour nous aider à retrouver votre paiement, si nécessaire."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:367
 | 
					#: apps/registration/models.py:368
 | 
				
			||||||
#, python-brace-format
 | 
					#, python-brace-format
 | 
				
			||||||
msgid "Payment of {registration}"
 | 
					msgid "Payment of {registration}"
 | 
				
			||||||
msgstr "Paiement de {registration}"
 | 
					msgstr "Paiement de {registration}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:370
 | 
					#: apps/registration/models.py:371
 | 
				
			||||||
msgid "payment"
 | 
					msgid "payment"
 | 
				
			||||||
msgstr "paiement"
 | 
					msgstr "paiement"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: apps/registration/models.py:371
 | 
					#: apps/registration/models.py:372
 | 
				
			||||||
msgid "payments"
 | 
					msgid "payments"
 | 
				
			||||||
msgstr "paiements"
 | 
					msgstr "paiements"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user