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/brameda/brameda.nl/resources/views/shop/partials/checkout/coupon_code.blade.php
<table>
    <thead>
        <th>@lang('shop/discounts.coupon_codes')</th>
    </thead>
    <tbody>
        @foreach($applied_codes as $applied_code)
            <tr dusk="active_coupon">
                @php /** @var \App\Komma\Shop\Discounts\Discount $applied_code */@endphp
                <td>{{ $applied_code->condition_settings }} <button value="{{ $applied_code->condition_settings }}" name="delete_coupon">x</button></td>
            </tr>
        @endforeach
    </tbody>
</table>
<input type="text" name="coupon" title="Add coupon" dusk="coupon_input">
<button type="submit" name="add_coupon" value="add_coupon" dusk="add_coupon">@lang('shop/discounts.apply_coupon_code')</button><br>
@if($errors->has('coupon_code'))<span style="color: red;">@foreach ($errors->get('coupon_code') as $error) {{ ucfirst($error) }} @endforeach</span><br>@endif