def booking(): if 'u_email' in session: sch_record = dbconn.viewS() rst_records =dbconn.viewRoute() jty_records = dbconn.viewJetty() return render_template('booking.html', records=rst_records,Sch_records=sch_record, j_records = jty_records ) return redirect(url_for('login'))
def schedules(): route_record = dbconn.viewR() sch_record = dbconn.viewS() rst_records =dbconn.viewRoute() return render_template('schedules.html', records=rst_records,Sch_records=sch_record, Rou_records = route_record)
def jetties(): route_record = dbconn.viewR() sch_record = dbconn.viewS() rst_records =dbconn.viewRoute() return render_template('jetties.html', Rou_records = route_record,Sch_records=sch_record, records=rst_records)