0
$cek = DB::table('temp_obat')
->selectRaw('sum(total)')
->where('pasien', $id)
->get();
$total = $cek;
return view ('buy/bayar',compact('pasien'));
話總和(總)我怎麼能刪除的話在我看來,刀片sum(total)
?