@props([ 'export' => false, ]) @extends('report.layout') @section('title', $invoice->correlative_code) @section('type', __('lang.invoice')) @section('extra_info') @include('report.partial.client-info', ['client' => $invoice->clientStatusEstimate->estimateTemplate->project->client, 'title' => __('lang.bill_to')])

{{ __('lang.invoice') }}

{{ __('lang.number') }} #: {{ $invoice->correlative_code }}
{{ __('lang.created_at') }} : {{ DateHelper::format($invoice->created_at) }}
{{ __('lang.status') }}: {{ $invoice->getStatus() }}
@endsection @section('content')
{!! $invoice->clientStatusEstimate->estimateTemplate->introduction !!} @if($invoice->clientStatusEstimate->estimateTemplate->discount_id) @endif
{{ __('lang.sub_total') }}: {{ MoneyHelper::format($invoice->clientStatusEstimate->estimateTemplate->sub_total) }}
{{ __('lang.tax') }}: {{ MoneyHelper::format($invoice->clientStatusEstimate->estimateTemplate->tax) }}
{{ __('lang.discount') }} : {{ $invoice->clientStatusEstimate->estimateTemplate->getDiscountName() }}: {{ MoneyHelper::format($invoice->clientStatusEstimate->estimateTemplate->getDiscountTotal()) }}
{{ __('lang.total') }} : {{ MoneyHelper::format($invoice->clientStatusEstimate->estimateTemplate->total) }}
@endsection