@if ($payments->isEmpty()) @else @foreach ($payments as $payment) @php $labelType = ($payment->mode == 'free_period') ? 'membership' : 'generic'; @endphp @endforeach
{{ __('labels.generic.status') }} {{ __('labels.generic.payment_mode') }} {{ __('labels.generic.amount') }} {{ __('labels.generic.created_at') }} {{ __('labels.generic.item') }}
@if ($payment->status == 'pending') @else {{ __('labels.membership.'.$payment->status) }} @endif {{ __('labels.'.$labelType.'.'.$payment->mode) }} {{ $payment->amount.' '.$payment->currency }} @date ($payment->created_at) {{ __('labels.membership.'.$payment->item) }} @if ($payment->status == 'pending') @endif
@endif