@extends('layouts.main') @section('content') @php $cartstatus = [ 'cancelled' => 0, 'pending' => 1, 'shipped' => 2, 'delivered' => 3, 'processing' => 4, 'expired' => 5, 'noncart' => 6, 'deleted' => 7, 'pickedup' => 8 ]; $total = 0; $anydelivery = ""; $address = ""; $sentto = ""; $is_delivery = false; @endphp
Name | Quantity | Redemption method | {{--Price (Unit) | --}} {{--Price (Total) | --}}Status | Voucher | {{--Pickup Address | --}} @if(isset($data)) @foreach($data as $item) @php $total += ($item->price * $item->qty); @endphp
---|---|---|---|---|---|---|---|
{{$item->name}} @if($item->value) ( {{$item->value}} ) @endif | {{$item->qty}} | @if($item->delivery_type === 1) Pickup @elseif($item->delivery_type === 2) Shipping @else E-Channel @endif | {{----}} {{--@if(Auth::user()->currency->is_currency_fixed == '1')--}} {{--₦{{transform_product_price($item->price, 1) }}--}} {{--@else--}} {{--{{ transform_product_price($item->price, Auth::user()->currency->rate )}} {{Auth::user()->currency->currency}}--}} {{--@endif--}} {{-- | --}} {{----}} {{--@if(Auth::user()->currency->is_currency_fixed == '1')--}} {{--₦{{transform_product_price( ($item->price * $item->qty), 1) }}--}} {{--@else--}} {{--{{transform_product_price( ($item->price * $item->qty), Auth::user()->currency->rate )}} {{Auth::user()->currency->currency}}--}} {{--@endif--}} {{-- | --}}@if($item->delivery_type != 2 && $item->delivery_type != 1) Successful @else {{ucfirst(array_flip($cartstatus)[$item->status])}} @endif | {{$item->voucher}} | {{--{{$item->pickup_location_name}} | --}} @if($item->delivery_type === 2) @if(isset($item->address)) @endif @endif @if($item->delivery_type === 2) @php $anydelivery = "( + delivery charge)" @endphp @if(isset($item->firstname)) @endif @if(isset($item->lastname)) @endif @endif
Pickup Location @if(isset($item->pickup_location_name)) {{$item->pickup_location_name}} @endif |
@elseif($item->delivery_type === 2 || $item->delivery_type === 5)
@endif |
Price (Unit) @if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price($item->price, 1) }} @else {{ transform_product_price($item->price, Auth::user()->currency->rate )}} {{Auth::user()->currency->currency}} @endif |
Price (Total) @if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price( ($item->price * $item->qty), 1) }} @else {{transform_product_price( ($item->price * $item->qty), Auth::user()->currency->rate )}} {{Auth::user()->currency->currency}} @endif |
||||
Delivery address
{{$sentto}}
{{$address}}
@endifTotal cost : @if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price( $total, 1) }} @else {{ transform_product_price( ($total * Auth::user()->currency->rate), 1 )}} {{Auth::user()->currency->currency}} @endif
Delivery cost : @if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price( ceil($delivery_charge), 1) }} @else {{ transform_product_price( ceil($delivery_charge), 1 )}} {{Auth::user()->currency->currency}} @endif
Grand Total : @if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price( ceil( $total + $delivery_charge ), 1) }} @else {{ transform_product_price( ceil( ($total * Auth::user()->currency->rate) + $delivery_charge) , 1 )}} {{Auth::user()->currency->currency}} @endif
E-voucher redemptions, your item(s) will be available for pick up at your selected location within the period of 15 days after which your voucher expires.
Delivery redemptions, your item(s) will be delivered to your address within 15 days period.
An agent will contact you for unavailability of an item.
For complaints or enquiries please call 08187491646 or send an email to service@loyaltysolutionsnigeria.com
Powered by Loyalty Solutions Limited