mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Utilisation de l'établissement en variable de session / gestion de
la page des inscriptions en fonction de l'établissement / mise à jour du mock_data à l'init
This commit is contained in:
16
Back-End/School/management/mock_datas/discounts.json
Normal file
16
Back-End/School/management/mock_datas/discounts.json
Normal file
@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"name": "Parrainage",
|
||||
"amount": "10.00",
|
||||
"description": "Réduction pour parrainage",
|
||||
"discount_type": 1,
|
||||
"type": 1
|
||||
},
|
||||
{
|
||||
"name": "Réinscription",
|
||||
"amount": "100.00",
|
||||
"description": "Réduction pour Réinscription",
|
||||
"discount_type": 1,
|
||||
"type": 0
|
||||
}
|
||||
]
|
||||
23
Back-End/School/management/mock_datas/establishments.json
Normal file
23
Back-End/School/management/mock_datas/establishments.json
Normal file
@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"name": "Ecole A",
|
||||
"address": "Adresse de l'Ecole A",
|
||||
"total_capacity": 69,
|
||||
"establishment_type": [1, 2],
|
||||
"licence_code": ""
|
||||
},
|
||||
{
|
||||
"name": "Ecole B",
|
||||
"address": "Adresse de l'Ecole B",
|
||||
"total_capacity": 100,
|
||||
"establishment_type": [2, 3],
|
||||
"licence_code": ""
|
||||
},
|
||||
{
|
||||
"name": "Ecole C",
|
||||
"address": "Adresse de l'Ecole C",
|
||||
"total_capacity": 50,
|
||||
"establishment_type": [1],
|
||||
"licence_code": ""
|
||||
}
|
||||
]
|
||||
37
Back-End/School/management/mock_datas/fees.json
Normal file
37
Back-End/School/management/mock_datas/fees.json
Normal file
@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"name": "Frais d'inscription",
|
||||
"base_amount": "150.00",
|
||||
"description": "Montant de base",
|
||||
"is_active": true,
|
||||
"type": 0
|
||||
},
|
||||
{
|
||||
"name": "Matériel",
|
||||
"base_amount": "85.00",
|
||||
"description": "Livres / jouets",
|
||||
"is_active": true,
|
||||
"type": 0
|
||||
},
|
||||
{
|
||||
"name": "Sorties périscolaires",
|
||||
"base_amount": "120.00",
|
||||
"description": "Sorties",
|
||||
"is_active": true,
|
||||
"type": 0
|
||||
},
|
||||
{
|
||||
"name": "Les colibris",
|
||||
"base_amount": "4500.00",
|
||||
"description": "TPS / PS / MS / GS",
|
||||
"is_active": true,
|
||||
"type": 1
|
||||
},
|
||||
{
|
||||
"name": "Les butterflies",
|
||||
"base_amount": "5000.00",
|
||||
"description": "CP / CE1 / CE2 / CM1 / CM2",
|
||||
"is_active": true,
|
||||
"type": 1
|
||||
}
|
||||
]
|
||||
12
Back-End/School/management/mock_datas/payment_modes.json
Normal file
12
Back-End/School/management/mock_datas/payment_modes.json
Normal file
@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"mode": 4,
|
||||
"type": 0,
|
||||
"is_active": true
|
||||
},
|
||||
{
|
||||
"mode": 2,
|
||||
"type": 1,
|
||||
"is_active": true
|
||||
}
|
||||
]
|
||||
22
Back-End/School/management/mock_datas/payment_plans.json
Normal file
22
Back-End/School/management/mock_datas/payment_plans.json
Normal file
@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"frequency": 1,
|
||||
"type": 0,
|
||||
"is_active": true
|
||||
},
|
||||
{
|
||||
"frequency": 3,
|
||||
"type": 1,
|
||||
"is_active": true
|
||||
},
|
||||
{
|
||||
"frequency": 10,
|
||||
"type": 1,
|
||||
"is_active": true
|
||||
},
|
||||
{
|
||||
"frequency": 12,
|
||||
"type": 1,
|
||||
"is_active": true
|
||||
}
|
||||
]
|
||||
57
Back-End/School/management/mock_datas/school_classes.json
Normal file
57
Back-End/School/management/mock_datas/school_classes.json
Normal file
@ -0,0 +1,57 @@
|
||||
[
|
||||
{
|
||||
"age_range": "3-6",
|
||||
"number_of_students": 14,
|
||||
"teaching_language": "",
|
||||
"school_year": "2024-2025",
|
||||
"levels": [2, 3, 4],
|
||||
"type": 1,
|
||||
"time_range": ["08:30", "17:30"],
|
||||
"opening_days": [1, 2, 4, 5],
|
||||
"teachers": [2]
|
||||
},
|
||||
{
|
||||
"age_range": "2-3",
|
||||
"number_of_students": 5,
|
||||
"teaching_language": "",
|
||||
"school_year": "2024-2025",
|
||||
"levels": [1],
|
||||
"type": 1,
|
||||
"time_range": ["08:30", "17:30"],
|
||||
"opening_days": [1, 2, 4, 5],
|
||||
"teachers": [3]
|
||||
},
|
||||
{
|
||||
"age_range": "6-12",
|
||||
"number_of_students": 21,
|
||||
"teaching_language": "",
|
||||
"school_year": "2024-2025",
|
||||
"levels": [5, 6, 7, 8, 9],
|
||||
"type": 1,
|
||||
"time_range": ["08:30", "17:30"],
|
||||
"opening_days": [1, 2, 4, 5],
|
||||
"teachers": [4]
|
||||
},
|
||||
{
|
||||
"age_range": "4-6",
|
||||
"number_of_students": 18,
|
||||
"teaching_language": "",
|
||||
"school_year": "2024-2025",
|
||||
"levels": [4, 5],
|
||||
"type": 1,
|
||||
"time_range": ["08:30", "17:30"],
|
||||
"opening_days": [1, 2, 4, 5],
|
||||
"teachers": [1]
|
||||
},
|
||||
{
|
||||
"age_range": "7-9",
|
||||
"number_of_students": 20,
|
||||
"teaching_language": "",
|
||||
"school_year": "2024-2025",
|
||||
"levels": [6, 7],
|
||||
"type": 1,
|
||||
"time_range": ["08:30", "17:30"],
|
||||
"opening_days": [1, 2, 4, 5],
|
||||
"teachers": [2]
|
||||
}
|
||||
]
|
||||
26
Back-End/School/management/mock_datas/specialities.json
Normal file
26
Back-End/School/management/mock_datas/specialities.json
Normal file
@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"name": "GROUPE",
|
||||
"color_code": "#FF0000"
|
||||
},
|
||||
{
|
||||
"name": "MATHS",
|
||||
"color_code": "#0a98f0"
|
||||
},
|
||||
{
|
||||
"name": "ANGLAIS",
|
||||
"color_code": "#f708d7"
|
||||
},
|
||||
{
|
||||
"name": "FRANCAIS",
|
||||
"color_code": "#04f108"
|
||||
},
|
||||
{
|
||||
"name": "HISTOIRE",
|
||||
"color_code": "#ffb005"
|
||||
},
|
||||
{
|
||||
"name": "SPORT",
|
||||
"color_code": "#bbb9b9"
|
||||
}
|
||||
]
|
||||
30
Back-End/School/management/mock_datas/teachers.json
Normal file
30
Back-End/School/management/mock_datas/teachers.json
Normal file
@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"last_name": "DUMBLEDORE",
|
||||
"first_name": "Albus",
|
||||
"email": "albus.dumbledore@gmail.com",
|
||||
"specialities": ["GROUPE"],
|
||||
"droit": 1
|
||||
},
|
||||
{
|
||||
"last_name": "ROGUE",
|
||||
"first_name": "Severus",
|
||||
"email": "severus.rogue@gmail.com",
|
||||
"specialities": ["ANGLAIS"],
|
||||
"droit": 1
|
||||
},
|
||||
{
|
||||
"last_name": "MC GONAGALL",
|
||||
"first_name": "Minerva",
|
||||
"email": "minerva.mcgonagall@gmail.com",
|
||||
"specialities": ["MATHS", "HISTOIRE"],
|
||||
"droit": 1
|
||||
},
|
||||
{
|
||||
"last_name": "CHOURAVE",
|
||||
"first_name": "Pomona",
|
||||
"email": "pomona.chourave@gmail.com",
|
||||
"specialities": ["MATHS", "FRANCAIS", "SPORT"],
|
||||
"droit": 1
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user