@extends('master_layout.app') @section('content')

Invoice List

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@if (isset($modPer) && $modPer->view == 1) {{-- Export Excel --}} @endif
{{-- --}} {{--
--}}
@foreach ($subscriber_list as $sl) @php $plan_name = []; $plan_name = explode(',', $sl->description); @endphp @if ($sl->receipt_url != '') @php $status = 'Online'; @endphp @else @php $status = 'Offline'; @endphp @endif @endforeach
Invoice number User Name Subscription Start Date End Date Amount paid Payment mode Action
#{{ $sl->pid }} {{ $sl->name }} {{ $plan_name[0] }} {{ date('M-d-Y', strtotime($sl->created_at)) }} {{ date('M-d-Y', strtotime($sl->last_active_day)) }} {{ $sl->amount }} {{ $status }}
@if (isset($modPer) || (isset($modPer_1) && $modPer_1->view == 1)) Download @endif
@endsection