@extends('user.layouts.master') @section('breadcrumb') @include('user.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("user.dashboard"), ] ], 'active' => __(@$page_title)]) @endsection @section('content')
!
{{ __(@$page_title) }}
{{ __("Current Balance") }} {{ get_amount($myCard->amount,$myCard->currency,get_wallet_precision()) }}
{{ __("Card Name") }}
{{ __((ucwords(@$myCard->card_name))) }}
{{ __("cardI d") }}
{{ __((ucwords(@$myCard->ulid))) }}
{{ __("Card Tier") }}
{{ __(ucwords(@$myCard->card_tier)) }}
{{ __("Card Type") }}
{{ ucwords(@$myCard->card_type) }}
{{ __("customer Id") }}
{{@$myCard->customer_ulid }}
{{ __("card Number") }}
@php $card_pan = $card_api['real_pan'] != null ? str_split(remove_special_char($card_api['real_pan']), 4) : str_split($card_api['masked_pan'], 4); @endphp @foreach($card_pan as $key => $value) {{ @$value }} @endforeach
{{ __("Cvv") }}
{{ __($card_api['cvv'] ?? "***") }}
{{__("expiration")}}
{{@$myCard->card_exp_time }}
{{ __("Card Environment") }}
{{ $myCard->env }}
@if($myCard->status == global_const()::CARD_CLOSED_STATUS)
{{ __("Card Status") }}
{{ $myCard->cardStatus->value }}
@endif @if($myCard->status == global_const()::CARD_ENABLED_STATUS || $myCard->status == global_const()::CARD_FREEZE_STATUS)
{{__("Status") }}
@include('admin.components.form.switcher',[ 'name' => 'status', 'value' => old('status',@$myCard->status ), 'options' => [__('UnFreeze') => global_const()::CARD_ENABLED_STATUS,__('Freeze') => global_const()::CARD_FREEZE_STATUS], 'onload' => true, 'data_target' => @$myCard->id, ])
@endif
!
{{ __("Billing Address") }}
  • {{ __($myCard->address) }}
@endsection @push('script') @endpush