def show_mentors(): ''' Prepares data to display in a formatted table. ''' title = 'Mentors list:' title_list = ['ID', 'Name', 'Surname', 'Email', 'Status'] table = Ui.create_person_table_to_print(Mentor.mentors_list) Ui.print_table(table, title, title_list)
def show_regular_employees(): ''' Prepares data to display in a formatted table. ''' title = 'Regular employees list:' title_list = ['ID', 'Name', 'Surname', 'Email', 'Status'] table = Ui.create_person_table_to_print(Employee.employees_list) Ui.print_table(table, title, title_list)
def show_students(): ''' Prepares data to display in a formatted table. ''' title = 'Student list:' title_list = ['ID', 'Name', 'Surname', 'Email', 'Status'] table = Ui.create_person_table_to_print(Student.student_list) Ui.print_table(table, title, title_list) Ui.get_inputs([''], "Click enter to go back")