HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/debout/debout.nl/resources/views/shop/partials/checkout/shipping_details.blade.php
@foreach($addresses as $address)
    @include('shop.partials.checkout.address_radio', ['prefix' => 'shipping_', 'address' => $address, 'selected_id' => old('selected_shipping_address', ($lastUsedShippingAddress) ? $lastUsedShippingAddress->id : 0)])
    <br>
@endforeach
<br><br>
<label for="shipping_address_-1">@lang('shop/checkout.new_address')</label>
<input type="radio" name="shipping_address" id="shipping_address_-1" value="-1" @if(!$lastUsedShippingAddress)) checked @endif dusk="new_shipping_address"><br> <!-- We use -1 for the backend. So it knows it should not use an existing id but the address inputs instead -->
@include('shop.partials.checkout.address_fillable', ['prefix' => 'shipping_'])