Blame view
imports/constants/constants.js
3.84 KB
102b779c9
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
export default class Constants{ csv_students_data() { // Constants Fields required to Export Valid CSV var csv_students_fields =['Errors', 'Student Admission ID*', 'Enrollment Date(YYYY-MM-DD)*', 'First Name*', 'Last Name*', 'Gender(male/female)*', 'Birthday(YYYY-MM-DD)*', 'Blood Group*', 'Nationality*', 'Mother Tongue*', 'Religion*', 'Community', 'Student Roll*', 'Student Class Name*', 'Student Section Name*', 'Previous Institution Name', 'Class-From', 'Class-To', 'From-Year', 'To-Year', 'Student Line Adress*', 'Student City*', 'Student State*', 'Student Zip Code*', 'Parent Name*', 'Parent Email*', 'Parent Relation*', 'Parent Profession', 'Parent Mobile*', ]; // var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return csv_students_fields; }; csv_staff_data() { // Constants Fields required to Export Valid CSV var csv_staffs_fields = [ 'Employee ID*', 'First Name*', 'Last Name*', 'Gender(male/female)*', 'Marital Status(married/unmarried)*', 'Staff Email*','Staff Phone*', 'Staff Birthday(YYYY-MM-DD)*', 'Blood group*', 'Nationality*', 'Mother Tongue*', 'Religion*', 'Staff Line Address*', 'City*', 'State*', 'Zip*', 'Job Role*', 'Teaching Staff(yes/no)*', 'Job Type(permanent/contract)*', 'Date of joining(YYYY-MM-DD)*', 'Qualification*', 'University*', 'Specialization*', 'From*', 'To*', 'Bank Account No*', 'Bank IFSC*', 'Bank Branch Details*', 'Previous Job Details*', 'Previous job Role*', 'Previous Job Type*', 'Previous Organization*', 'From*', 'To*', 'PAN Number', 'ESI Number', 'Aadhar Number', 'PF Number' ] // var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return csv_staffs_fields; }; } |