{{ __('Product') }} | {{ __('Details') }} | {{ __('Total') }} |
---|---|---|
@if($product['item']['user_id'] != 0) @php $user = App\Models\User::find($product['item']['user_id']); @endphp @if(isset($user)) {{ $product['item']['name']}} @else {{$product['item']['name']}} @endif @else {{ $product['item']['name']}} @endif |
@if($product['size'])
{{ __('Size') }} : {{str_replace('-',' ',$product['size'])}} @endif @if($product['color']){{ __('color') }} : @endif{{ __('Price') }} : {{ \PriceHelper::showCurrencyPrice(($product['item_price'] ) * $order->currency_value) }} {{ __('Qty') }} : {{$product['qty']}} {{ $product['item']['measure'] }} @if(!empty($product['keys'])) @foreach( array_combine(explode(',', $product['keys']), explode(',', $product['values'])) as $key => $value){{ ucwords(str_replace('_', ' ', $key)) }} : {{ $value }} @endforeach @endif |
{{ \PriceHelper::showCurrencyPrice($product['price'] * $order->currency_value) }} {{ $product['discount'] == 0 ? '' : '('.$product['discount'].'% '.__('Off').')' }} | @php $subtotal += round(($product['price']/ $order->currency_value) * $order->currency_value, 2); @endphp
{{ __('Subtotal') }} | {{ \PriceHelper::showOrderCurrencyPrice((($subtotal) * $order->currency_value),$order->currency_sign) }} | |
{{ DB::table('shippings')->where('price','=',$price)->first()->title }}({{$order->currency_sign}}) | {{ \PriceHelper::showOrderCurrencyPrice($order->shipping_cost,$order->currency_sign) }} | |
{{ DB::table('packages')->where('price','=',$pprice)->first()->title }}({{$order->currency_sign}}) | {{ \PriceHelper::showOrderCurrencyPrice($order->packing_cost,$order->currency_sign) }} | |
{{ __('Tax') }} | {{ \PriceHelper::showOrderCurrencyPrice((($order->tax) / $order->currency_value),$order->currency_sign) }} | |
{{ __('Coupon Discount') }}({{$order->currency_sign}}) | {{ \PriceHelper::showOrderCurrencyPrice($order->coupon_discount,$order->currency_sign) }} | |
{{ __('Paid From Wallet') }} | {{ \PriceHelper::showOrderCurrencyPrice(($order->wallet_price * $order->currency_value),$order->currency_sign) }} | |
{{$order->method}} | {{ \PriceHelper::showOrderCurrencyPrice(($order->pay_amount * $order->currency_value),$order->currency_sign) }} | |
{{ __('Total') }} | {{ \PriceHelper::showOrderCurrencyPrice((($order->pay_amount + $order->wallet_price) * $order->currency_value),$order->currency_sign) }} |