@component('mail::message') # {{ $what }} {{ ($stage ?? 'confirmed') === 'delivered' ? 'delivered' : 'confirmed' }} Hi {{ $customerName }}, @if(($stage ?? 'confirmed') === 'delivered') Done — your {{ strtolower($what) }} with reference **{{ $reference }}** has been delivered/completed. The tracking page keeps the full history of your order against the reference and the phone number you gave us when ordering. @else Good news — our team has confirmed your {{ strtolower($what) }} with reference **{{ $reference }}**. You can follow its status any time on the public tracking page using the reference and the phone number you gave us when ordering. @endif @component('mail::button', ['url' => $trackingUrl, 'color' => 'primary']) Track your {{ strtolower($what) }} @endcomponent Or paste this link into any browser: {{ $trackingUrl }} Questions about this {{ strtolower($what) }}? Just reply to this email or call the branch your order was placed with. {{ config('app.name', 'ERP') }} — automated notification @endcomponent