@extends('user.layouts.master') @push('css') @endpush @section('breadcrumb') @include('user.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("user.dashboard"), ] ], 'active' => __(@$page_title)]) @endsection @section('content')
!
{{ __(@$page_title) }}
{{ __("Current Balance") }} @if($api_mode == global_const()::SANDBOX) {{ __("TEST MODE") }} @elseif ($api_mode == global_const()::LIVE) {{ getAmount(@$myCard->amount,2) }} {{ get_default_currency_code() }} @endif
{{ __("Account") }}
{{ __((ucwords(@$myCard->account->accountName))) }}
{{ __("card Holder") }}
{{ @$myCard->name }}
{{ __("currency") }}
{{ @$myCard->currency }}
{{ __("brand") }}
{{ @$myCard->brand }}
{{__("type")}}
{{ ucwords(@$myCard->type) }}
{{ __("card Pan") }}
{{ $myCard->maskedPan }}
{{ __("expiry Date") }}
{{$myCard->expiryMonth }} / {{$myCard->expiryYear }}
{{ __("Cvv") }}
{{ __("***") }}
{{ __("Status") }}
@include('admin.components.form.switcher',[ 'name' => 'status', 'value' => old('status',@$myCard->status ), 'options' => [__('unblock') => 1,__('block') => 0], 'onload' => true, 'data_target' =>@$myCard->id, ])
{{ __("reveal Details") }}
@endsection @push('script') @if($api_mode == global_const()::SANDBOX) @elseif ($api_mode == global_const()::LIVE) @endif @endpush