@extends('admin.layout') @section('styles') @endsection @section('content')
| # | {{__('Product')}} | {{__('Product Title')}} | {{__('Price')}} | {{__('Quantity')}} | {{__('Total')}} |
|---|---|---|---|---|---|
| {{$key+1}} |
{{$item->title}}
@php $variations = json_decode($item->variations, true); @endphp @if (!empty($variations)) {{__("Variation")}}: @foreach ($variations as $vKey => $variation) {{str_replace("_"," ",$vKey)}}: {{$variation["name"]}} @if (!$loop->last) , @endif @endforeach @endif @php $addons = json_decode($item->addons, true); @endphp @if (!empty($addons)) Add On's: @foreach ($addons as $addon) {{$addon["name"]}} @if (!$loop->last) , @endif @endforeach @endif |
{{__("Product")}}:
{{$order->currency_code_position == 'left' ? $order->currency_code : ''}}
{{(float)$item->product_price}}
{{$order->currency_code_position == 'right' ? $order->currency_code : ''}}
@if (is_array($variations)) {{__("Variation")}}: {{$order->currency_code_position == 'left' ? $order->currency_code : ''}} {{(float)$item->variations_price}} {{$order->currency_code_position == 'right' ? $order->currency_code : ''}} @endif @if (is_array($addons)) {{__("Add On's")}}: {{$order->currency_code_position == 'left' ? $order->currency_code : ''}} {{(float)$item->addons_price}} {{$order->currency_code_position == 'right' ? $order->currency_code : ''}} @endif |
{{$item->qty}} | {{$order->currency_code_position == 'left' ? $order->currency_code : ''}} {{$item->total}} {{$order->currency_code_position == 'right' ? $order->currency_code : ''}} |