@extends('layouts.main') {{--@push('catalogue-nav')--}} {{-- @include('partials.general.catalogue-nav')--}} {{--@endpush--}} @section('content') {{--{{var_dump($pendingcart)}}--}}
|
{{$item->name}}
|
@if(Auth::check())
@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
@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
|
SUBTOTAL | @if(Auth::check()) @if(Auth::user()->currency->is_currency_fixed == '1') ₦ @php echo $pendingcartsum ? transform_product_price($pendingcartsum[0], 1) : '0' @endphp @else @php echo $pendingcartsum ? transform_product_price($pendingcartsum[0], Auth::user()->currency->rate ). ' '. Auth::user()->currency->currency : '0' @endphp @endif @endif |
---|