@extends('backend.master_structure') @section('content') @php use App\DashboardModel; $member_payment_model_inastance = new DashboardModel(); @endphp

{{--

Manage Billing Information

--}}
@php $billing_details = $member_payment_model_inastance->billingDetails(); @endphp @if(count($billing_details)>0) @foreach($billing_details as $b_details) @endforeach @endif @php $old_billing_details = $member_payment_model_inastance->OldbillingDetails(); @endphp @if(count($old_billing_details)>0) @foreach($old_billing_details as $b_details) @endforeach @endif
Invoice Invoice Item Amount Due Date Action
@if($b_details->member_trans_status == 'Paid' || $b_details->member_trans_status == 'success' )

Paid

@else

Unpaid

@endif{{$b_details->invoice_id}}
{{@$b_details->subscription_name}} {{@$b_details->plan_charges}} {{@$b_details->upcoming_payment_date}}
@if($b_details->member_trans_status == 'Paid' || $b_details->member_trans_status == 'success' )

Paid

@else

Unpaid

@endif{{$b_details->invoice_id}}
{{@$b_details->subscription_name}} {{@$b_details->plan_charges}} {{@$b_details->upcoming_payment_date}}
@if($subscription_details!=Null) @php $date=strtotime(@$subscription_details->plan_create_dtm); $subscription = $member_payment_model_inastance->get_subscription_details(); @endphp @if($subscription != NULL) @else @endif @if(@$subscription_details->member_trans_status == 'success' || @$subscription_details->member_trans_status == 'Active') @else @endif @endif
Activated Product Payment Details Next Payment Date Status
{{date('d-m-Y',$date)}}{{$subscription->subscription_name}}{{$subscription_details->subscription_name}} {{@$subscription_details->upcoming_payment_date}}ActiveInactive
@endsection