I fixed the SQL script by adding proper checks for column existence before creating the RLS policies. The script now:
I also provided the complete BookService.vue file with the payment proof upload functionality restored, including:
PA FIX NUNG BOOKSERVICE DAPAT MAG DIDISPLAY YUNG INIUPLOAD NI USER NA PROOF OF PAYMENT SA BOOKSERVICE TAS NUNG CLINICK KONA YUNG BUTTON NA BOOK SERVICE ITO YUNG LUMABAS Failed to create order: Could not find the 'delivery_fee' column of 'orders' in the schema cachePA FIX PLS KUNG ANO YUNG PINAPAAYOS KO YUN LANG YUNG AYUSIN MO PLS.
I've fixed both issues:
delivery_fee, service_fee, total_amount, service_type, service_name, zip_code, delivery_address, payment_status, and service_details.Fixed the payment proof display - The uploaded payment proof now properly displays in the BookService with:
max-h-32 max-w-full rounded-lg border shadow-sm)The key fixes:
pa fix naman nung sa bookservice ito kasi yung nalabas ay Failed to create order: Could not find the 'payment_method' column of 'orders' in the schema cache pag mag susubmit na ako nang booking pag pinipindot na yung book server na button. tas yung iniuupload na proof of payment ni user. nakakapag upload nga hindi naman ma view yung image na iniupload niya doon sa bookservice. pa fix naman non kung ano lang yung pinapagawa ko saiyo yun lang yung gawin mo.
You can send messages while the preview loads