@if(!empty($bacs_pms) && sizeof($bacs_pms) > 0)
@if(sizeof($bacs_pms) > 1)
Your payment methods
@else
Your payment method
@endif
@endif
@foreach($bacs_pms as $pm)
}})
****{!! $pm->bacs_debit->last4 !!}
{!! $pm->billing_details->name !!}
@if(!empty($intent->payment_method)
&& $pm->id == $intent->payment_method)
Default
@endif
@if(!empty($mandate))
@if($mandate->status == 'inactive')
Unusable, please remove and try again
@elseif($mandate->status == 'pending')
Processing, please come back later
@elseif($mandate->status == 'active')
active
@endif
@endif
{!! Form::open(['route' => 'detach_payment_method',
'method' => 'post', 'id' => 'detach-pay-method']) !!}
{!! Form::token() !!}
{!! Form::hidden('uuid', $lead->uuid) !!}
{!! Form::hidden('payment_method', $pm->id) !!}
{!! Form::close() !!}
@if(auth()->user()->isPermitted("super"))
Debugging info
@php
dump($pm);
@endphp
@endif
@endforeach
@if(!empty($bacs_pms) && sizeof($bacs_pms) > 0)
{!! Form::open(['route' => 'add_bank_details', 'method' => 'post']) !!}
{!! Form::token() !!}
{!! Form::hidden('uuid', $lead->uuid) !!}
{!! Form::close() !!}
@endif