@if($payment->type)
{{ucfirst(__($payment->type))}}
@endif
@switch($payment->status)
@case('approved')
{{ucfirst(__($payment->status))}}
@break
@case('initiated')
@case('pending')
{{ucfirst(__($payment->status))}}
@break
@case('canceled')
@case('refunded')
{{ucfirst(__($payment->status))}}
@break
@case('partially-paid')
{{ucfirst(__($payment->status))}}
@break
@case('declined')
{{ucfirst(__($payment->status))}}
@break
@endswitch
{{\App\Providers\SettingsServiceProvider::getWebsiteFormattedAmount($payment->amount)}}
{{$payment->created_at->format('Y-m-d')}}
@if($payment->invoice_id && $payment->user->id === Auth::user()->id && $payment->status === \App\Model\Transaction::APPROVED_STATUS)
@endif