@php if(Auth::check()){ $refund = false; $daily_entry = false; if( auth()->user()->shop && auth()->user()->shop->progress_active ){ $refund = \VanguardLTE\Progress::where(['shop_id' => auth()->user()->shop_id, 'rating' => auth()->user()->rating, 'status' => 1])->first(); $daily_entry = \VanguardLTE\Progress::where([ 'shop_id' => auth()->user()->shop_id, 'day' => date('l'), 'rating' => auth()->user()->rating, ])->first(); } if( auth()->user()->shop && auth()->user()->shop->invite_active ){ $invite = \VanguardLTE\Invite::where(['shop_id' => auth()->user()->shop_id])->first(); } else { $invite = false; } $sms_bonus = \VanguardLTE\SMSBonusItem::where(['user_id' => auth()->user()->id, 'status' => 0])->orderBy('id', 'DESC')->first(); $currency = auth()->user()->present()->shop ? auth()->user()->present()->shop->currency : ''; } else{ $daily_entry = false; $refund = false; $invite = false; $sms_bonus = false; $currency = ''; } $rules = \VanguardLTE\Rule::get(); $detect = new \Detection\MobileDetect(); @endphp {{--

Error

Something went wrong!

I am done successfully!

--}}
@if( Auth::check() && auth()->user()->shop) @foreach(['privacy_policy', 'general_bonus_policy', 'why_bitcoin', 'responsible_gaming', 'terms_and_conditions'] AS $modal) @if(auth()->user()->shop->{'rules_' . $modal}) @php $rule = \VanguardLTE\Rule::where('href', $modal)->first(); @endphp @if($rule) @endif @endif @endforeach @endif @if(Auth::check() && auth()->user()->shop && auth()->user()->shop->rules_terms_and_conditions && !auth()->user()->agreed) @php $rule = \VanguardLTE\Rule::where('href', 'terms_and_conditions')->first(); @endphp @if($rule) @endif @endif