feat: import class sessions, attendance, and payments from JSON
Match students by name when national ID or phone is missing, parse Jalali dates, and allow sessions without a professor.
This commit is contained in:
@@ -41,7 +41,6 @@ const sessionSchema = new mongoose.Schema({
|
||||
professor: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Professor',
|
||||
required: true,
|
||||
index: true
|
||||
},
|
||||
day: {
|
||||
|
||||
Reference in New Issue
Block a user