@extends('layouts.app') @section('title') Transaction History @endsection @section('content') @if (\Session::has('success'))
×
@endif @if ($errors->any())
@endif @if (isset($error))
×
@endif @if(isset($user_role) && $user_role == 1 || $user_role == 2)
@endif

{{ __('Transaction History') }}

@if(isset($formattedCharges) && count($formattedCharges) > 0) @foreach($formattedCharges as $charge) @endforeach @else @endif
Name Amount Status Transaction ID Transaction Type Stripe ID Last 4 Created On Receipt
{{ $charge['name'] }} ${{ number_format(bcdiv($charge['amount'],100,2),2) }} {{ ucwords($charge['status']) }} {{ $charge['transaction_id'] }} {{ ucwords($charge['transaction_type']) }} {{ $charge['stripe_id'] }} @if(!empty($charge['last4']))···· @endif{{ $charge['last4'] }} {{ date('m-d-Y',$charge['created']) }} @if(isset($charge['charge_id']) && !empty($charge['charge_id']) && isset($charge['user_id']) && !empty($charge['user_id'])) @else N/A @endif
No Records Found.
@endsection