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 dahuy()
    {
        $donhang =   DB::table('don_dat_hangs')
            ->where('trangthai','=','Đã Hủy')->get();
        return view('admin.donHang.dahuy')
            ->with('donhang',$donhang);
    }
public function dahuy ( ) { $ donhang = DB :: table ( 'don_dat_hangs' ) -> where ( 'trangthai' , '=' , 'Đã Hủy')->g e t( ); return view ( 'admin.donHang.dahuy' ) -> with ( 'donhang' , $ donhang ) ; }
Display a listing of the resource.
Display a listing of the resource .
//