@php $isEdit = $order->exists; $action = $isEdit ? route('admin.installations.update', $order) : route('admin.installations.store'); @endphp