{{ __('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 : @endifPrice : {{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}{{ round($product['item_price'] * $order->currency_value , 2) }} Qty : {{$product['qty']}} {{ $product['item']['measure'] }} |
{{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}{{ round($product['price'] * $order->currency_value , 2) }} | @php $subtotal += round($product['price'] * $order->currency_value, 2); @endphp
{{ __('Subtotal') }} | {{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}{{ round($subtotal, 2) }} | |
{{ __('Shipping Cost') }}({{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}) | {{ round($order->shipping_cost , 2) }} | |
{{ __('Packaging Cost') }}({{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}) | {{ round($order->packing_cost , 2) }} | |
{{ __('TAX') }}({{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}) | @php $tax = ($subtotal / 100) * $order->tax; @endphp{{round($tax, 2)}} | |
{{ __('Coupon Discount') }}({{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}) | {{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}{{round($order->coupon_discount, 2)}} | |
{{ __('Total') }} | {{ \App\Models\Currency::where('sign',$order->currency_sign)->first()->name }}{{ round($order->pay_amount * $order->currency_value , 2) }} |