@extends('layouts.front')
@section('content')
{{ $langg->lang301 }} {{date('d-M-Y',strtotime($order->created_at))}}
{{ $langg->lang798 }}:
{!! $order->payment_status == 'Pending' ? "". $langg->lang799 ."":"". $langg->lang800 ."" !!}
{{ $langg->lang293 }}
{{$order->currency_sign}}{{ round($order->pay_amount * $order->currency_value , 2) }}
{{ $langg->lang294 }} {{$order->method}} {{$order->charge_id}} {{$order->txnid}} {{ $langg->lang306 }} {{ $langg->lang307 }}
{{ DB::table('shippings')->where('price','=',$price)->first()->title }}: {{$order->currency_sign}}{{ round($order->shipping_cost, 2) }}
{{ DB::table('packages')->where('price','=',$pprice)->first()->title }}: {{$order->currency_sign}}{{ round($order->packing_cost, 2) }}
{{ $langg->lang798 }}
{!! $order->payment_status == 'Pending' ? "". $langg->lang799 ."":"". $langg->lang800 ."" !!}
{{ $langg->lang293 }}
{{$order->currency_sign}}{{ round($order->pay_amount * $order->currency_value , 2) }}
{{ $langg->lang294 }} {{$order->method}} {{$order->charge_id}} {{$order->txnid}}
{{ $langg->lang1001 }} :
{{ $order->dhl_tracking_code }}
{{ $langg->lang1002 }} :
-
{{ $langg->lang284 }}
{{ $langg->lang285 }} {{$order->order_number}} [{{$order->status}}]
{{ $langg->lang287 }}
{{ $langg->lang288 }} {{$order->customer_name}}
{{ $langg->lang289 }} {{$order->customer_email}}
{{ $langg->lang290 }} {{$order->customer_phone}}
{{ $langg->lang291 }} {{$order->customer_address}}
@if($order->order_note != null)
{{ $langg->lang801 }}: {{$order->order_note}}
@endif
{{$order->customer_city}}-{{$order->customer_zip}}
{{ $langg->lang292 }}
{{ $langg->lang302 }}
{{ $langg->lang288 }}
{{$order->shipping_name == null ? $order->customer_name : $order->shipping_name}}
{{ $langg->lang289 }}
{{$order->shipping_email == null ? $order->customer_email : $order->shipping_email}}
{{ $langg->lang290 }}
{{$order->shipping_phone == null ? $order->customer_phone : $order->shipping_phone}}
{{ $langg->lang291 }}
{{$order->shipping_address == null ? $order->customer_address : $order->shipping_address}}
{{$order->shipping_city == null ? $order->customer_city : $order->shipping_city}}-{{$order->shipping_zip == null ? $order->customer_zip : $order->shipping_zip}}
@else
{{ $langg->lang303 }}
{{ $langg->lang304 }} {{$order->pickup_location}}
@endif
{{ $langg->lang305 }}
@if($order->shipping == "shipto")
{{ $langg->lang287 }}
{{ $langg->lang288 }} {{$order->customer_name}}
{{ $langg->lang289 }} {{$order->customer_email}}
{{ $langg->lang290 }} {{$order->customer_phone}}
{{ $langg->lang291 }} {{$order->customer_address}}
@if($order->order_note != null)
{{ $langg->lang801 }}: {{$order->order_note}}
@endif
{{$order->customer_city}}-{{$order->customer_zip}}
{{ $langg->lang292 }}
{{ $langg->lang1000 }}
{{ $langg->lang308 }}
@foreach($cart->items as $product)
{{ $langg->lang309 }}
{{ $langg->lang310 }}
{{ $langg->lang539 }}
{{ $langg->lang314 }}
{{ $langg->lang315 }}
@endforeach
{{ $product['item']['id'] }}
@if($product['item']['user_id'] != 0)
@php
$user = App\Models\User::find($product['item']['user_id']);
@endphp
@if(isset($user))
{{mb_strlen($product['item']['name'],'utf-8') > 30 ? mb_substr($product['item']['name'],0,30,'utf-8').'...' : $product['item']['name']}}
@else
{{mb_strlen($product['item']['name'],'utf-8') > 30 ? mb_substr($product['item']['name'],0,30,'utf-8').'...' : $product['item']['name']}}
@endif
@else
{{mb_strlen($product['item']['name'],'utf-8') > 30 ? mb_substr($product['item']['name'],0,30,'utf-8').'...' : $product['item']['name']}}
@endif
@if($product['item']['type'] != 'Physical')
@if($order->payment_status == 'Completed')
@if($product['item']['file'] != null)
{{ $langg->lang316 }}
@else
{{ $langg->lang316 }}
@endif
@if($product['license'] != '')
{{ $langg->lang317 }}
@endif
@endif
@endif
{{ $langg->lang311 }}: {{$product['qty']}}
@if(!empty($product['size']))
{{ $langg->lang312 }}: {{ $product['item']['measure'] }}{{str_replace('-',' ',$product['size'])}}
@endif
@if(!empty($product['color']))
@endforeach
@endif
{{$order->currency_sign}}{{round($product['item']['price'] * $order->currency_value,2)}}
{{$order->currency_sign}}{{round($product['price'] * $order->currency_value,2)}}
{{ $langg->lang320 }}