feat: add professor import support, user account creation, and IBAN/card fields
This commit is contained in:
@@ -13,8 +13,12 @@ const {
|
||||
describe('importHelpers', () => {
|
||||
it('normalizes honorifics so spreadsheet names match database users', () => {
|
||||
assert.equal(normalizePersonName('مریم خ پناهیان'), 'مریم پناهیان');
|
||||
assert.equal(normalizePersonName('سرکار فاطمه'), 'فاطمه');
|
||||
assert.equal(normalizePersonName('سرکار خانم جاذبی'), 'جاذبی');
|
||||
assert.ok(namesMatch('آقای رضایی', 'آقای رضایی'));
|
||||
assert.equal(normalizePhone(9168942141), '09168942141');
|
||||
assert.equal(normalizePhone('93568933888'), '09356893388');
|
||||
assert.equal(normalizePhone('09161117529'), '09161117529');
|
||||
});
|
||||
|
||||
it('maps spreadsheet attendance marks', () => {
|
||||
|
||||
Reference in New Issue
Block a user