@section('meta_title', __('texts.payment_methods')) @extends('portal.default.layouts.master') @section('body')
{{ ctrans("texts.{$payment_method->gateway_type->alias}") }}

{{ ctrans('texts.payment_type') }}: {{ $payment_method->gateway_type->name }}

{{ ctrans('texts.type') }}: {{ ucfirst($payment_method->meta->brand) }}

{{ ctrans('texts.card_number') }}: **** **** **** {{ ucfirst($payment_method->meta->last4) }}

@isset($payment_method->meta->exp_month)

{{ ctrans('texts.expires') }}: {{ "{$payment_method->meta->exp_month}/{$payment_method->meta->exp_year}" }}

@endisset

{{ ctrans('texts.date_created') }}: {{ date(auth()->user()->client->date_format(), $payment_method->created_at) }}

{{ ctrans('texts.default') }}: {{ $payment_method->is_default ? ctrans('texts.yes') : ctrans('texts.no') }}

{{ ctrans("texts.delete_payment_method") }}

{{ ctrans('texts.about_to_delete_payment_method') }} {{ ctrans('texts.action_cant_be_reversed') }}.

@endsection