Ajout option candidat parcours stage 3600h.
This commit is contained in:
parent
cafe0746c8
commit
8fe118e302
3 changed files with 3 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name='candidate',
|
||||
name='option',
|
||||
field=models.CharField(blank=True, choices=[('GEN', 'Généraliste'), ('ENF', 'Enfance'), ('PAG', 'Personnes âgées'), ('HAN', 'Handicap'), ('PE-5400h', 'Parcours Emploi 5400h.'), ('PE-3600h', 'Parcours Emploi 3600h.'), ('PS', 'Parcours stage 5400h.')], max_length=20, verbose_name='Option'),
|
||||
field=models.CharField(blank=True, choices=[('GEN', 'Généraliste'), ('ENF', 'Enfance'), ('PAG', 'Personnes âgées'), ('HAN', 'Handicap'), ('PE-5400h', 'Parcours Emploi 5400h.'), ('PE-3600h', 'Parcours Emploi 3600h.'), ('PS-3600h', 'Parcours stage 3600h.'), ('PS', 'Parcours stage 5400h.')], max_length=20, verbose_name='Option'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='candidate',
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ OPTION_CHOICES = (
|
|||
('HAN', 'Handicap'),
|
||||
('PE-5400h', 'Parcours Emploi 5400h.'),
|
||||
('PE-3600h', 'Parcours Emploi 3600h.'),
|
||||
('PS-3600h', 'Parcours stage 3600h.'),
|
||||
('PS', 'Parcours stage 5400h.'),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ class InscriptionSummaryPDF(EpcBaseDocTemplate):
|
|||
[work_label, candidate.get_ok('work_certificate')],
|
||||
])
|
||||
|
||||
if candidate.option != 'PS':
|
||||
if not candidate.option.startswith('PS'):
|
||||
data.append(["Contrat de travail", candidate.get_ok('contract')])
|
||||
data.append(["Promesse d'engagement", candidate.get_ok('promise')])
|
||||
data.append(["Taux d'activité", candidate.activity_rate])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue