@section('title', __('checkout/thankYou.Thank you')) @section('header-style', 'inner_nav') @push('style') @endpush @push('script') @endpush

@Lang('checkout/thankYou.Thanks for your order')

@Lang('checkout/thankYou.Order') #{{$order->order_no}}

@Lang('checkout/thankYou.You have earned')

1 @Lang('checkout/thankYou.Loyality Points')

@Lang('checkout/thankYou.Your progress')

@for($i=1; $i<= auth('web')->user()->loyaltyOrders->count() && $i<=5; $i++) @endfor @for($i=1; $i<=(5-auth('web')->user()->loyaltyOrders->count()); $i++) @endfor
@if(auth()->user()->loyaltyOrders->count() >= 5)

@Lang('checkout/thankYou.Congratulations!') @Lang('checkout/thankYou.You are eligible for') {{config('settings.loyalty_discount')}}% @Lang('checkout/thankYou.Offer') @Lang('checkout/thankYou.in your next order.')

@else

@Lang('checkout/thankYou.Collect') {{(5-auth()->user()->loyaltyOrders->count())}} @Lang('checkout/thankYou.additional points')
@Lang('checkout/thankYou.and get an automatic') {{config('settings.loyalty_discount')}}% @Lang('checkout/thankYou.Offer')

@endif