@extends('layouts.master') @section('content')

{{ __('Invoice summary') }}

@foreach($invoice->invoiceLines as $invoice_line)

{{$invoice_line->title}}

{{$invoice_line->quantity}} x {{$invoice_line->price_converted}}

{{ __($invoice_line->type) }}


@endforeach @if(Entrust::can('modify-invoice-lines')) @if(!$invoice->sent_at)

@endif @endif
@lang('Tax')
@lang('Sub Total')
@lang('Total')

{{$client->company_name}}

{{$contact_info->name}}

{{$contact_info->email}}


@lang('Invoice created')

{{date(carbonDate(), strtotime($invoice->created_at))}}

@lang('Invoice date')

{{ !$invoice->sent_at ? __('Not send') : date(carbonDate(), strtotime($invoice->sent_at))}}

@lang('Due date')

{{ !$invoice->due_at ? __('Not set') : date(carbonDate(), strtotime($invoice->due_at))}}

@lang('Amount due')

{{$amountDueFormatted}}

@lang('Status')

{{\App\Enums\InvoiceStatus::fromStatus($invoice->status)->getDisplayValue()}}

@if($source) @endif @if($invoice->invoice_number != null)

@lang('Invoice number')

{{$invoice->invoice_number}}

@endif @if($invoice->offer)

@lang('Based on')

@endif
@if(Entrust::can('invoice-pay'))