@extends('layouts.main') @section('content') @if($errors->any()) @include('partials.notify', ['text' => $errors->first()]) @endif @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 | Price(Unit) | Price(Total) | Redemption method | Status | Voucher no |
---|---|---|---|---|---|---|
{{$item->name}} @if($item->value)( {{$item->value}} ) @endif @if($item->delivery_type === 1)Pickup Location @if(isset($item->pickup_location_name)) {{$item->pickup_location_name}} @endif @elseif($item->delivery_type === 2 || $item->delivery_type === 5) @endif |
{{$item->qty}} | @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 === 1) Pickup @elseif($item->delivery_type === 2) Shipping @else E-Channel @endif | @if($item->delivery_type != 2 && $item->delivery_type != 1) Successful @else {{ucfirst(array_flip($cartstatus)[$item->status])}} @endif | {{$item->voucher}} | @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
E-voucher redemptions, your item(s) will be avialable for pick up at your selected location within the period of 15 days after which your voucher expires
Delivery redemptions, your items will be delivered to your address within 15 days period
An agent will contact you for unavailability of an item
For complaints or enquires please call 08187491646 or send an email to service@loyaltysolutionsnigeria.com
Pickup Location
@if(isset($item->pickup_location_name)) {{$item->pickup_location_name}} @endif @elseif($item->delivery_type === 2 || $item->delivery_type === 5) @elseif($item->delivery_type === 2 || $item->delivery_type === 5) @endif @if($is_delivery)Delivery address
{{$sentto}}
{{$address}}, {{ucwords(strtolower($city))}}, {{ucwords(strtolower($state))}}, Nigeria
@endifTotal cost
@if(Auth::user()->currency->is_currency_fixed == '1') ₦{{transform_product_price( ceil($total), 1) }} @else {{ transform_product_price( (ceil($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