forked from firka/student-legacy
idk
This commit is contained in:
parent
308c8f966f
commit
c205bc592c
@ -11,6 +11,7 @@ class Student {
|
||||
String? address;
|
||||
String? groupId;
|
||||
List<String> parents;
|
||||
// List<String> parentsPhone;
|
||||
String? className;
|
||||
|
||||
Student({
|
||||
@ -21,6 +22,7 @@ class Student {
|
||||
required this.yearId,
|
||||
this.address,
|
||||
required this.parents,
|
||||
// required this.parentsPhone,
|
||||
this.json,
|
||||
});
|
||||
|
||||
|
@ -56,6 +56,13 @@ class AccountView extends StatelessWidget {
|
||||
Detail(
|
||||
title: "parents".plural(user.student.parents.length),
|
||||
description: user.student.parents.join(", ")),
|
||||
const SizedBox(
|
||||
height: 10.0,
|
||||
),
|
||||
// Detail(
|
||||
// title: "parents".i18n,
|
||||
// description: user.student.parents.join(", ")),
|
||||
Detail(title: "school".i18n, description: user.student.school.name),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
@ -9,6 +9,7 @@ extension Localization on String {
|
||||
"class": "Class",
|
||||
"address": "Home address",
|
||||
"parents": "Parents".one("Parent"),
|
||||
"parents_phone": "Parents' phone number: ".one("Parent"),
|
||||
},
|
||||
"hu_hu": {
|
||||
"birthdate": "Születési dátum",
|
||||
|
Loading…
x
Reference in New Issue
Block a user