@php $company = $setting?->company_name ?: config('app.name'); $primary = $setting?->primary_color ?: '#124a61'; $accent = $setting?->accent_color ?: '#2e86ab'; $lines = $rfq->lines ?? collect(); $qty = fn ($value) => rtrim(rtrim(number_format((float) $value, 2), '0'), '.'); $deadline = $rfq->response_deadline; @endphp

{{ __('Dear') }} {{ $invitation->contact_name ?: ($supplier?->contact_person ?: ($supplier?->name ?: __('Supplier'))) }},

@if ($isReminder)

{!! __('This is a friendly reminder that we have not yet received your quotation for :number. Your pricing is still welcome.', ['number' => e($rfq->rfq_number)]) !!}

@else

{!! __(':company invites you to submit a quotation for the requirement below. Please price it using the secure link at the end of this email, no account or password is needed.', ['company' => e($company)]) !!}

@endif
@if ($rfq->title) @endif @if ($rfq->required_by) @endif
{{ __('Reference') }} {{ $rfq->rfq_number }}
{{ __('Subject') }} {{ $rfq->title }}
{{ __('Responses close') }} {{ $deadline ? $deadline->format('F j, Y \a\t g:i A') : __('No fixed deadline') }}
{{ __('Goods required by') }} {{ $rfq->required_by->format('F j, Y') }}
{{ __('Items to price') }} {{ $lines->count() }}
@if ($rfq->scope)

{{ __('Scope') }}

{{ $rfq->scope }}

@endif @if ($lines->isNotEmpty())

{{ __('Items') }}

@foreach ($lines as $line) @endforeach
•  {{ $line->description }} @if ($line->specification)
{{ $line->specification }}
@endif
{{ $qty($line->quantity) }} {{ $line->unit }}
@endif
{{ __('Submit Your Quotation') }}

{{ __('This link is unique to your company and should not be shared. Quotations are sealed, no other bidder can see your pricing.') }}