@extends('layouts.core.frontend_no_subscription', [ 'menu' => 'subscription', ]) @section('title', trans('messages.subscription')) @section('head') @endsection @section('page_header')

{{ Auth::user()->customer->displayName() }}

@endsection @section('content') @include("account._menu", [ 'menu' => 'subscription', ])

{{ trans('messages.invoice') }}: #{{ $invoice->number }}

@if ($invoice->isPaid())
{{ trans('messages.invoice.invoice_is_paid') }}

{{ trans('messages.invoice.no_payment_needed') }}

@endif
{{ $invoice->billing_first_name }} {{ $invoice->billing_last_name }}

{{ $invoice->billing_address }}, {{ $invoice->billingCountry ? $invoice->billingCountry->name : '' }}

{{ $invoice->billing_email }}

{{ $invoice->billing_phone }}

{{ trans('messages.invoice') }} #: {{ $invoice->number }}
{{ trans('messages.created_at') }}: {{ $invoice->customer->formatCurrentDateTime('datetime_full') }}
{{ trans('messages.due_date') }}: {{ $invoice->customer->formatDateTime($invoice->created_at, 'datetime_full') }}
@foreach ($invoice->order->orderItems as $orderItem) @endforeach
{{ trans('messages.invoice.items') }} {{ trans('messages.invoice.price') }}

{{ $orderItem->title }}

{!! $orderItem->description !!}
{{ format_price($orderItem->amount, $invoice->order->currency->format) }}
{{ trans('messages.bill.subtotal') }}: {{ $invoice->subTotal() }}
{{ trans('messages.bill.tax') }}: {{ $invoice->getTax() }}
{{ trans('messages.bill.total') }}: {{ $invoice->total() }}
@if ($invoice->isPaid()) download{{ trans('messages.download') }} @endif
@endsection