@subscriber @php $subscription = new \Wave\Http\Controllers\SubscriptionController; $invoices = $subscription->invoices( auth()->user() ); @endphp @if(isset($invoices->success) && $invoices->success == true) @foreach($invoices->response as $invoice) @endforeach
{{__("Date of Invoice")}} {{__("Price")}} {{__("Receipt Link")}}
{{ Carbon\Carbon::parse($invoice->payout_date)->toFormattedDateString() }} ${{ $invoice->amount }} {{__("Download")}}
@else

{{__("Sorry, there seems to be an issue retrieving your invoices or you may not have any invoices yet.")}}

@endif @notsubscriber

{{__("When you subscribe to a plan, this is where you will be able to download your invoices.")}}

{{__("View Plans")}} @endsubscriber