@extends('front.practitioner.import.template.import') @section('content')
@if($card_flag == 0 && $history_flag == 0)

Nothing to display

@endif {{-- --}} @if($card_flag != 0 || $history_flag != 0)

Balance

Payment method

{{--
--}}
@isset($cardList) @if($cardList != '' && $cardList!= null) @foreach ($cardList as $cardLists)
@php if ($cardLists->card_type == 'MASTERCARD') { $src = "assets/images/credit-img/master-card.png"; } else if ($cardLists->card_type == 'VISA') { $src = "assets/images/credit-img/visa-card.png"; }else{ $src = ''; } @endphp
{{-- @if($cardLists->card_primary != 1) --}} @if( count($cardList) > 1) id}} id="deletepaymentcard"> @endif
@endforeach @endif @endisset {{--
Delete bin
--}} {{--
Delete bin
--}}

Payment History

@isset($history) @if($history != '' && $history!= null) @foreach ($history as $historys) {{-- --}} @endforeach @endif @endisset {{-- --}}
Date Invoice number Description Amount
{{date('d/m/Y', strtotime($historys->created_at))}}{{$historys->plan_invoice_number}}{{$historys->plan_invoice_number}} {{$historys->plan_description}} ${{number_format( preg_replace("/[^0-9.]/", "", ($historys->paid_amount)?? 0.00),2) ?? "0.00"}}
27/12/22 0022 Plan Renewal $29.00
23/11/22 0012 Plan Renewal $29.00
@endif
@endsection {{-- popup design start --}} @section('css') @endsection @section('import-scripts') @endsection