@if($account)
{{ $account->name }}
@else
Quotation
@endif
Quotation
@if($account && $account->address)
{{ $account->address }}
@endif
@if($account && $account->website)
{{ $account->website }}
@endif
@if($quotation->details && $quotation->details->count() > 0)
| Product |
Description |
Qty |
Unit |
Unit Price |
Total |
@php $grandTotal = 0; @endphp
@foreach($quotation->details as $detail)
@foreach($detail->product_details as $prodDetail)
| {{ $detail->product->name ?? 'N/A' }} |
{{ $prodDetail->description }} |
{{ number_format($prodDetail->quantity, 2) }} |
{{ $prodDetail->unit ?? '-' }} |
{{ number_format($prodDetail->price, 2) }} |
{{ number_format($prodDetail->total, 2) }} |
@php $grandTotal += $prodDetail->total; @endphp
@endforeach
@endforeach
Subtotal:
{{ number_format($grandTotal, 2) }}
TOTAL AMOUNT:
{{ number_format($grandTotal, 2) }}
@endif
{{-- --}}
{{-- @if($quotation->email_subject || $quotation->email_body)--}}
{{--
--}}
{{--
Additional Information
--}}
{{-- @if($quotation->email_subject)--}}
{{--
Subject: {{ $quotation->email_subject }}
--}}
{{-- @endif--}}
{{-- @if($quotation->email_body)--}}
{{--
Notes:
--}}
{{--
{!! nl2br(e($quotation->email_body)) !!}
--}}
{{-- @endif--}}
{{--
--}}
{{-- @endif--}}
@if($quotationTerms && $quotationTerms->count() > 0)
Terms and Conditions
@foreach($quotationTerms as $term)
- {{ $term->term }}
@endforeach
@endif