Example #1
0
def to_formula_out():
    court, court_count = get_court()
    brand_in, brand_in_count = get_brand_out()
    return render_template('doctor/formula_milk_out.html',
                           court=court,
                           court_count=court_count,
                           brand_in=brand_in,
                           brand_in_count=brand_in_count)
Example #2
0
def to_additional_follow_up(baby_id):
    login_type = request.args.get('type', 'doctor')
    court, court_count = get_court()
    brand, brand_count = get_brand()
    formula, formula_count = get_formula()
    return render_template('doctor/add_visit_record.html',
                           courts=court,
                           brands=brand,
                           formulas=formula,
                           court_count=court_count,
                           brand_count=brand_count,
                           formula_count=formula_count,
                           baby_id=baby_id,
                           login_type=login_type)