@if(!empty($enquiry->reason))
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Offer name</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            {{ $enquiry->reason->name }}
        </td>
    </tr>
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Location</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            {{ $enquiry->reason->dealership?->name }}
        </td>
    </tr>
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Vehicle Make</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            {{ $enquiry->reason->make?->name }}
        </td>
    </tr>
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Vehicle Model</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            {{ $enquiry->reason->model?->name }}
        </td>
    </tr>
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Price</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            {{ $enquiry->reason->price }}
        </td>
    </tr>
    <tr>
        <td width="32%" valign="top" style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <strong>Website link</strong>
        </td>
        <td width="58%" valign="middle"
            style="border-bottom:1px solid {{ $layerAccentColour }};padding: 10px;">
            <a href="{{ \App\Facades\Site::offerUrl($enquiry->reason) }}">View on website</a>
        </td>
    </tr>
@endif
