@include('emails.commonkua.header') @component('emails.common.table') @component('emails.common.tr') @component('emails.common.td') @component('emails.common.p') Hello {{ $agent->full_name ?? ($agent->first_name ?? 'Agent') }}, @endcomponent @component('emails.common.p') “Oops! Your sales form couldn’t be approved.” @endcomponent @component('emails.common.p') Thank you for submitting your sales form. After review, we regret to inform you that your submission has been rejected due to incomplete or incorrect information. @endcomponent @component('emails.common.p') Please find the Summary of your rejected forms: @endcomponent @component('emails.common.table_with_border') @component('emails.common.tr') {!! 'Customer Name' !!} {!! 'Customer Number' !!} {!! 'Product' !!} {!! 'Sale Amount' !!} {!! 'Reason for Rejection' !!} @endcomponent @foreach ($rejections as $lead) @component('emails.common.tr') @if($lead->customer_type == 'business') {!! '' . e($lead->registered_company_name ?? '—') . '' !!} {!! '' . e($lead->bussiness_phone ?? '—') . '' !!} @else {!! '' . e($lead->customer_full_name ?? '—') . '' !!} {!! '' . e($lead->customer_phone_number ?? '—') . '' !!} @endif {!! '' . e($lead->product_name ?? '—') . '' !!} {!! '' . (isset($lead->sales_amount) ? number_format((float) $lead->sales_amount, 2) : '—') . '' !!} {!! '' . e($lead->rejection_reason ?? '—') . '' !!} @endcomponent @endforeach @endcomponent @if (!empty($detailsUrl)) @component('emails.common.p') Click this link to see more details related to your rejected sales: Click Here @endcomponent @endif @component('emails.common.p') If you need assistance or clarification, feel free to contact the KUA Support Team for help. @endcomponent @component('emails.common.p') Empowering People. Bridging Markets. Driving Growth. @endcomponent @endcomponent @endcomponent @component('emails.common.tr') @component('emails.common.td') @component('emails.commonkua.secondary_footer') {{-- noQuote --}} @endcomponent @endcomponent @endcomponent @endcomponent @include('emails.commonkua.footer')