예제 #1
0
def doctorsList():
    """
    get doctor list
    :return:render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('clerk/doctors.html',
                           **clerkSetting(),
                           doctors=data)
예제 #2
0
def doctorsCalendar():
    """
    get doctor calendar
    :return: render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('clerk/doctors_calendar.html',
                           **clerkSetting(),
                           doctors=data)
예제 #3
0
파일: views.py 프로젝트: jasonshere/MAPS
def makeAppointment():
    """
    make an appointment
    :return: render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('patient/calendar.html',
                           **patientSetting(),
                           doctors=data)