@extends('layouts.master-layouts') @section('title') {{ __('List of Transaction') }} @endsection @section('content') @component('components.breadcrumb') @slot('title') Transaction List @endslot @slot('li_1') Dashboard @endslot @slot('li_2') Transactions @endslot @endcomponent
@if (session()->has('page_limit')) @php $per_page = session()->get('page_limit'); @endphp @else @php $per_page = Config::get('app.page_limit'); @endphp @endif @php $currentpage = $transaction->currentPage(); @endphp @foreach ($transaction as $key => $item) @endforeach
{{ __('Sr. No') }} {{ __('Billing name') }} {{ __('Order id') }} {{ __('Transaction no') }} {{ __('Amount ($)') }} {{ __('Payment Method') }}
{{ $key + 1 + $per_page * ($currentpage - 1) }} {{ $item->billing_name }} {{ $item->order_id }} {{ $item->transaction_no }} {{ $item->amount }} {{ $item->payment_method }}
Showing {{ $transaction->firstItem() }} to {{ $transaction->lastItem() }} of {{ $transaction->total() }} entries
{{ $transaction->links() }}
@endsection @section('script') @endsection