app/Http/Controllers/CheckoutController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function choxuly()
    {
        $donhang =   DB::table('don_dat_hangs')
            ->where('trangthai','=','Chờ Xử Lý')->get();
        return view('admin.donHang.choxuly')
            ->with('donhang',$donhang);
    }
public function choxuly ( ) { $ donhang = DB :: table ( 'don_dat_hangs' ) -> where ( 'trangthai' , '=' , 'Chờ Xử Lý')->ge t () ; return view ( 'admin.donHang.choxuly' ) -> with ( 'donhang' , $ donhang ) ; }
Display a listing of the resource.
Display a listing of the resource .
//