DeepLearning101 commited on
Commit
43aa99d
·
verified ·
1 Parent(s): a2d9c5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def get_bookings():
26
  res = supabase.table("bookings").select("*").order("created_at", desc=True).execute()
27
  if not res.data: return pd.DataFrame()
28
  df = pd.DataFrame(res.data)
29
- cols = ['id', 'date', 'time', 'name', 'tel', 'email', 'pax', 'remarks', 'status', 'user_id']
30
  for c in cols:
31
  if c not in df.columns: df[c] = ""
32
  return df[cols]
 
26
  res = supabase.table("bookings").select("*").order("created_at", desc=True).execute()
27
  if not res.data: return pd.DataFrame()
28
  df = pd.DataFrame(res.data)
29
+ cols = ['id', '日期', '時間', '姓名', '電話', 'email', '人數', '備註', '狀態', '用戶 line id']
30
  for c in cols:
31
  if c not in df.columns: df[c] = ""
32
  return df[cols]