{{ ucfirst($type) }} Details

@if ($type == 'shipping' && $step == $currentStep) @endif @if ($currentStep > $step) @endif
@if ($currentStep >= $step)
@if ($step == $currentStep)

@elseif($currentStep > $step)
Name
{{ $this->{$type}->first_name }} {{ $this->{$type}->last_name }}
@if ($this->{$type}->company_name)
Company
{{ $this->{$type}->company_name }}
@endif @if ($this->{$type}->contact_phone)
Phone Number
{{ $this->{$type}->contact_phone }}
@endif
Email
{{ $this->{$type}->contact_email }}
Address
{{ $this->{$type}->line_one }}
@if ($this->{$type}->line_two) {{ $this->{$type}->line_two }}
@endif @if ($this->{$type}->line_three) {{ $this->{$type}->line_three }}
@endif @if ($this->{$type}->city) {{ $this->{$type}->city }}
@endif @if ($this->{$type}->state) {{ $this->{$type}->state }}
@endif {{ $this->{$type}->postcode }}
{{ $this->{$type}->country?->native }}
@endif @if ($step == $currentStep)
@endif
@endif