{{--
--}}

Real Diamond
Jewellery Proposal

Client Name
{{ $data['customer']->customer_name }}
Phone Number
{{ $data['customer']->phone_number }}
Address
{{ $data['customer']->address_line_1 }}, {{ $data['customer']->address_line_2 }}, {{ $data['customer']->area }}, {{ $data['customer_city'] }}, {{ $data['customer_state'] }} - {{ $data['customer']->pincode }} {{ $data['customer_country'] }}
# Quotation No.
{{ $data['prefix']->prefix }} - {{ $data['quotation_detail']->quot_no }}
Quotation Date
{{ \Carbon\Carbon::parse($data['quotation_detail']->quot_date)->format('d-m-Y') }}
{{ $data['company_name'] }}
{{ $data['address_line_1'] . ',' . $data['address_line_2'] . ',' . $data['company_city'] . ',' }}
{{ $data['company_state'] . '-' . $data['pincode'] . ',' . $data['company_country'] }}
{{ $data['phone_number'] }}
@if ($data['website'] != '-')
{{ $data['website'] }}
@endif
Managed By STAR EXPORT
@php $Total = $data['item_detail']->sum('net_amount'); @endphp @foreach ($data['item_detail']->chunk(4) as $chunk)
@foreach ($chunk as $item)
@php $imagePath = $item->image ? public_path($item->image) : ''; if (!file_exists($imagePath) || is_dir($imagePath)) { $imagePath = public_path('images/default.png'); } $imageData = ''; if (file_exists($imagePath)) { $imageData = base64_encode(file_get_contents($imagePath)); } @endphp
{{ unicodeToChar($data['quotation_detail']['currency_code'] ?? '₹') }}{{ calculateCurrencyConversion($item->net_amount, $data['quotation_detail']['currency_amount']) }}/-

{{ $item->item_name }}

Material Type : {{ $item->group_name }}

Gold Purity : {{ $item->gold_purity_name ?? '-' }}

Gold Color : {{ $item->gold_color_name ?? '-' }}

Diamond Type : {{ $item->diamond_type_name ?? '-' }}

Diamond CRT : {{ $item->diamond_crt ?? '-' }}

@endforeach {{-- Show total amount only on the last page --}} @if ($loop->last)
Total Amount : {{ unicodeToChar($data['quotation_detail']['currency_code'] ?? '₹') }}{{ calculateCurrencyConversion($Total, $data['quotation_detail']['currency_amount']) }}/-
@endif
@endforeach {{-- Terms & Conditions shown once at the end --}} @if (!empty($data['quotation_detail']['terms_and_condition']))

Terms & Condition

{!! $data['quotation_detail']['terms_and_condition'] !!}
@endif
{{--
--}}