@extends('employer.layouts.app')
@section('content')
@component('employer.layouts.partials.breadcrumbs', ['breadcrumbs' => $breadcrumbs])
@endcomponent
{{--{{ optional($card)->secondary_card_number ?? 'No data' }}--}}
@if(isset($card->secondary_card_number))
@else
No data
@endif
{{ optional($card)->secondary_name_on_card ?? 'No data' }}
{{ optional($card)->secondary_expiry_date ?? 'No data' }}
@if(isset($card))
@if($card->primary_is_default ==1)
Your default card is your Primary Card.
@else
Your default card is your Secondary Card.
@endif
{{--
--}}
Update Cards
@else
@endif
{{--
Cards
Sl # |
Card Type |
Card Number |
Valid till |
Name |
Actions |
@foreach ($card as $card)
{{ $loop->iteration }} |
{{ $card->card_type }} |
{{ $card->card_number }} |
{{ $card->expiry_date }} |
{{ $card->name_on_card}} |
|
@endforeach
--}}
@endsection
@push('custom_css')
@endpush
@push('custom_js')
@endpush