@php $btn_class = "btn-outline-dark"; @endphp @if($reservation?->car_receiving_status == 'received') @php $btn_class = "btn-success"; @endphp @elseif($reservation?->car_receiving_status == 'not_received') @php $btn_class = "btn-warning"; @endphp @endif @props([ 'btn_width' => null ])