@php use App\Library\Tool; @endphp @extends('layouts/contentLayoutMaster') @section('title', __('locale.labels.invoice')) @section('page-style') @endsection @section('content')
{{config('app.name')}}

{!! \App\Helpers\Helper::app_config('company_address') !!}

{{ __('locale.labels.invoice') }} #{{ $invoice->id }}

{{ __('locale.labels.invoice_date') }}:

{{ Tool::formatDate($invoice->created_at) }}


{{ __('locale.labels.recipient') }}:
{{ $invoice->user->displayName() }}

{{ $invoice->user->customer->address }}

{{ $invoice->user->customer->state }}-{{ $invoice->user->customer->postcode }}

{{ $invoice->user->customer->city }}, {{ $invoice->user->customer->country }}

{{ $invoice->user->email }}

{{__('locale.labels.payment_details')}}:
{{ __('locale.labels.total') }}: {{ Tool::format_price($invoice->amount, $invoice->currency->format) }}
{{ __('locale.labels.paid_by') }}: {{ $invoice->paymentMethod->name }}
{{ __('locale.labels.transaction_id') }}: {{ $invoice->transaction_id }}
{{ __('locale.labels.payment_details') }} {{ __('locale.labels.status') }} {{ __('locale.labels.type') }} {{ __('locale.labels.amount') }}
{{ $invoice->description }} {{ ucfirst($invoice->status) }} {{ ucfirst($invoice->type) }} {{ Tool::format_price($invoice->amount, $invoice->currency->format) }}

{{ __('locale.labels.subtotal') }}:

{{ Tool::format_price($invoice->amount, $invoice->currency->format) }}


{{ __('locale.labels.total') }}:

{{ Tool::format_price($invoice->amount, $invoice->currency->format) }}

@endsection