src/Repositories/Corporation/Wallet.php
public function getCorporationWalletTransactions(
        int $corporation_id, bool $get = true, int $chunk = 50)
    {

        $transactions = CorporationWalletTransaction::where('corporation_id', $corporation_id);

        if ($get)
            return $transactions->orderBy('date', 'desc')
                ->paginate($chunk);

        return $transactions;
    }
public function getCorporationWalletTransactions(
        int $corporation_id, bool $get = true, int $chunk = 50)
    {

        $transactions = CorporationWalletTransaction::where('corporation_id', $corporation_id);

        if ($get)
            return $transactions->orderBy('date', 'desc')
                ->paginate($chunk);

        return $transactions;
    }
public function getCorporationWalletTransactions ( int $ corporation_id , bool $ get = true , int $ chunk = 50 ) { $ transactions = CorporationWalletTransaction :: where ( 'corporation_id' , $ corporation_id ) ; if ( $ get ) return $ transactions -> orderBy ( 'date' , 'desc' ) -> paginate ( $ chunk ) ; return $ transactions ; }
Return Wallet Transactions for a Corporation.

@param int  $corporation_id
@param bool $get
@param int  $chunk

@return mixed
Return Wallet Transactions for a Corporation .