Upcoming Invoice
Next Billing Date
{{ \Carbon\Carbon::createFromTimestamp($upcomingInvoice->period_end)->format('d M Y') }}
{{ strtoupper($upcomingInvoice->currency) }}

@foreach($upcomingInvoice->lines->data as $line) @php @endphp @endforeach
{{--
Plan: {{ $currentPlan->name }}
--}}
{{ $line->description }}
${{ number_format($line->subtotal / 100, 2) }}
Subtotal @php $subtoal = number_format($upcomingInvoice->subtotal_excluding_tax / 100, 2); @endphp ${{ $subtoal }}
GST @php $gstTotal = number_format($upcomingInvoice->total_taxes[0]->amount / 100, 2); @endphp ${{ $gstTotal }}
Total Due ${{ number_format($subtoal + $gstTotal, 2) }}