@extends('user.layout') @section('content')
# | {{ __('Image') }} | {{ __('Name') }} | {{ __('Details') }} | {{ __('Price') }} | {{ __('Total') }} |
---|---|---|---|---|---|
{{ $key + 1 }} | {{ strlen($item->title) > 50 ? mb_substr($item->title, 0, 50, 'UTF-8') . '...' : $item->title }}
{{ 'Item Price : ' }} {{ $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol : '' }}{{ $item->price / $item->qty }} {{ $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol : '' }} @if (!empty($item->variations)) @php $v_total = 0; $variatons = json_decode($item->variations); @endphp @if (!empty($variatons)) {{ __('Variations') }}: @foreach ($variatons as $k => $itm) {{ $k }} {{ $itm->name }} + {{ $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol : '' }}{{ $itm->price }}{{ $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol : '' }} @php $v_total += $itm->price; @endphp @endforeach @endif @endif |
{{ __('Quantity') }}: {{ $item->qty }} |
{{ __('Item : ') }}
{{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ $item->price }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }}
@if ($item->variations != 'null') {{ __('Variations : ') }} {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ $v_total * $item->qty }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} @endif |
{{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ $item->price + $v_total * $item->qty }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} |