diff --git a/resources/views/billing-portal/v3/authentication/register-or-login.blade.php b/resources/views/billing-portal/v3/authentication/register-or-login.blade.php index a3d1a1e8ed45..33caa14f860a 100644 --- a/resources/views/billing-portal/v3/authentication/register-or-login.blade.php +++ b/resources/views/billing-portal/v3/authentication/register-or-login.blade.php @@ -93,18 +93,110 @@
@csrf - @foreach($this->registrationFields() as $field) -
- {{ $field['label'] }} - +
+ @if($subscription->company->client_registration_fields) + @foreach($subscription->company->client_registration_fields as $field) + @if($field['visible']) +
+
+ - @error($field['key']) - - @enderror -
- @endforeach + @if($field['required']) +
*
+ @endif + + + @if($field['key'] === 'email') + + @elseif($field['key'] === 'password') + + @elseif($field['key'] === 'currency_id') + + @elseif($field['key'] === 'country_id') + + @else + + @endif + + @error($field['key']) +
+ {{ $message }} +
+ @enderror +
+ + @if($field['key'] === 'password') +
+
+ + + @if($field['required']) +
*
+ @endif +
+ + +
+ @endif + @endif + @endforeach + @endif +