<div class="modal" id="coupon">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <!-- Modal body -->
            <div class="modal-body">
                <div class="coupon-topbox" style="padding-bottom: 0;">
                    <h1>{{__('lang.apply_coupon_btn')}}</h1>
                </div>
                <div class="coupon-bottombox">
                    @if(count($coupon)>0)
                    @foreach($coupon as $coup)
                    <div class="couponshow">
                        <div class="couponshow-left">
                            {{$coup->coupon_name}}
                            <p>{{__('lang.save')}} {{$coup->value}} {{($coup->type=='Fixed')?setting('default_currency_code'):"%"}} </p>
                        </div>
                        <div class="couponshow-mid">{{__('lang.expire_on')}} {{\Helpers::commonDateFormate($coup->end_date)}} | 23:59 PM</div>
                        <div class="couponshow-right"><a href="{{url('apply-coupon')}}?coupon_id={{$coup->id}}">{{__('lang.apply_btn')}}</a></div>
                    </div>
                    @endforeach
                    @endif
                </div>
            </div>
        </div>
    </div>
</div>