@extends('layouts.home') @section('body')
@foreach ($invoices as $invoice)

My Bill {{ $invoice->invoice_details->tx_ref }}

{{ $invoice->invoice_details->customer->name->first_name }} {{ $invoice->invoice_details->customer->name->last_name }}

{{ $invoice->invoice_details->customer->email }}

{{ $invoice->invoice_details->currency }} {{ $invoice->invoice_details->amount }}

status == 0 ? 'pending' : 'live' }}>{{ $invoice->status == 0 ? 'Pending' : 'Paid' }}

Subscription Information

{{ $invoice->plan_details->product_name ?? '' }} X {{ $invoice->plan_details->plan_name ?? '' }}

Features

@foreach ($invoice->plan_details->options as $option)

{{ $option->default == 0 ? 'Optional' : 'Default' }} {{ $option->name }}

@endforeach
{{--

₦ 2,800,000

Lifetime

--}}

Invoice Details

@if (isset($invoice->meta)) @for ($i = 0; $i < 1; $i++)

Payment Type:

{{ $invoice->meta[$i]->payment_type }}

Payment date:

{{ $invoice->meta[$i]->created_at }}

Transaction REf:

{{ $invoice->meta[$i]->flw_ref }}

Charged Amount:

{{ $invoice->meta[$i]->currency }} {{ $invoice->meta[$i]->charged_amount }}

{{--

Total Tax Amount:

₦ 0

--}} @endfor @endif
{{--

Transaction Details

Scroll to explore

Date
Live

Mar 03, 2022

13:14 PM

Transactions

INV-67960

New Sale

Transaction ID

622071e58915440296523a95

Gateway - Card

Card - 0369

Stripe Charge ID:
ch_3K29Kz488WSD8kXb2KzkfXkl

AMOUNT

₦ 2,800,000

Invoice Details

Date
Paid

Mar 03, 2022

Transactions

INV-67960

AMOUNT

₦ 2,800,000

--}}
@endforeach
@endsection