app/Http/Controllers/SellerBankController.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 index()
    {
        $sellerBanks = SellerBank::latest()->paginate(10);
        return view('pages.profile.banks.sellerBank.index', compact('sellerBanks'))
             ->with('i',(request()->input('page',1) -1)*10);
    }
public function index ( ) { $ sellerBanks = SellerBank :: latest ( ) -> paginate ( 10 ) ; return view ( 'pages.profile.banks.sellerBank.index' , compact ( 'sellerBanks' ) ) -> with ( 'i' , ( request ( ) -> input ( 'page' , 1 ) - 1 ) * 10 ) ; }
Display a listing of the resource.
Display a listing of the resource .