trip ?? null; // Account registration is gated by the same setting the backend enforces // (AuthController rejects registration when this is off). When it's disabled we // hide the Register tab/form and the "Register now" switch so customers only // see the Login option. $registration_enabled = class_exists('\\Yatra\\Services\\SettingsService') ? \Yatra\Services\SettingsService::isEnabled('customer_registration') : true; ?>