One Hat Cyber Team
Your IP :
3.133.123.185
Server IP :
104.21.80.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
resources
/
views
/
includes
/
Edit File:
checkout_sitebar.blade.php
<div class="col-xl-3 col-lg-4"> <aside class="sidebar"> <div class="padding-top-2x hidden-lg-up"></div> <!-- Order Summary Widget--> <section class="card widget widget-featured-posts widget-order-summary p-4"> <h3 class="widget-title">{{__('Order Summary')}}</h3> @php $free_shipping = DB::table('shipping_services')->whereStatus(1)->whereIsCondition(1)->first() @endphp @if ($free_shipping) @if ($free_shipping->minimum_price >= $cart_total) <p class="free-shippin-aa"><em>{{ __('Free Shipping Ater order') }} {{PriceHelper::setCurrencyPrice($free_shipping->minimum_price)}}</em></p> @endif @endif <table class="table"> <tr> <td>{{__('Cart Subtotal')}}:</td> <td class="text-gray-dark">{{PriceHelper::setCurrencyPrice($cart_total)}}</td> </tr> @if($tax != 0) <tr> <td>{{__('Estimated tax')}}:</td> <td class="text-gray-dark">{{PriceHelper::setCurrencyPrice($tax)}}</td> </tr> @endif @if (DB::table('states')->count() > 0) <tr class="{{Auth::check() && Auth::user()->state_id ? '' : 'd-none'}} set__state_price_tr"> <td>{{__('State tax')}}:</td> <td class="text-gray-dark set__state_price">{{PriceHelper::setCurrencyPrice(Auth::check() && Auth::user()->state_id ? Auth::user()->state->price : 0)}}</td> </tr> @endif @if($discount) <tr> <td>{{__('Coupon discount')}}:</td> <td class="text-danger">- {{PriceHelper::setCurrencyPrice($discount ? $discount['discount'] : 0)}}</td> </tr> @endif @if($shipping) <tr> <td>{{__('Shipping')}}:</td> <td class="text-gray-dark">{{PriceHelper::setCurrencyPrice($shipping ? $shipping->price : 0)}}</td> </tr> @endif <tr> <td class="text-lg text-primary">{{__('Order total')}}</td> <td class="text-lg text-primary grand_total_set">{{PriceHelper::setCurrencyPrice($grand_total)}}</td> </tr> </table> </section> <!-- Items in Cart Widget--> <section class="card widget widget-featured-posts widget-featured-products p-4"> <h3 class="widget-title">{{__('Items In Your Cart')}}</h3> @foreach ($cart as $key => $item) <div class="entry"> <div class="entry-thumb"><a href="{{route('front.product',$item['slug'])}}"><img src="{{asset('assets/images/'.$item['photo'])}}" alt="Product"></a></div> <div class="entry-content"> <h4 class="entry-title"><a href="{{route('front.product',$item['slug'])}}"> {{ strlen(strip_tags($item['name'])) > 45 ? substr(strip_tags($item['name']), 0, 45) . '...' : strip_tags($item['name']) }} </a></h4> <span class="entry-meta">{{$item['qty']}} x {{PriceHelper::setCurrencyPrice($item['main_price'])}}</span> @foreach ($item['attribute']['option_name'] as $optionkey => $option_name) <span class="entry-meta"><b>{{$option_name}}</b> : {{PriceHelper::setCurrencySign()}}{{$item['attribute']['option_price'][$optionkey]}}</span> @endforeach </div> </div> @endforeach </section> </aside> </div>
Simpan