@if(isset($publicPath) && $publicPath) @else @endif {{ __('lang.estimate') }} #: {{ $clientEstimateStatus->estimate->number }}
{{ __('lang.created_at') }}: {{ DateHelper::format($clientEstimateStatus->created_at) }}
@include('template.company-info') @include('template.client-info', ['client' => $clientEstimateStatus->estimate->client])
@foreach($clientEstimateStatus->estimate->estimate_sections as $key => $section) @foreach($section->estimate_products as $keyProduct => $product) @endforeach
{{ $section->name }}
{{ __('lang.product.product') }} {{ __('lang.quantity') }} {{ __('lang.price') }} {{ __('lang.price') }}

{{ $product->product->name }}

@if($product->product->description)

{{ $product->product->description }}

@endif
{{ $product->quantity }} {{ MoneyHelper::format($product->price) }} {{ MoneyHelper::format($product->price * $product->quantity) }}
@endforeach @if($clientEstimateStatus->estimate->discounts_id) @endif
{{ __('lang.sub_total') }} {{ MoneyHelper::format($clientEstimateStatus->estimate->sub_total) }}
{{ __('lang.tax') }} {{ MoneyHelper::format($clientEstimateStatus->estimate->tax) }}
{{ __('lang.discount') }} : {{ $clientEstimateStatus->estimate->discount->getDiscountName() }} {{ MoneyHelper::format($clientEstimateStatus->estimate->discount->getDiscountTotal() * -1) }}
{{ __('lang.total') }}: {{ MoneyHelper::format($clientEstimateStatus->estimate->total) }}