Update app.py
Browse files
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', '
|
| 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]
|