@extends('backend.admin-master') @section('site-title') {{__('Product Order View')}} @endsection @section('style') @endsection @section('content')
| {{__('Subtotal')}} | {{amount_with_currency_symbol($order_details->subtotal)}} |
| {{__('Coupon Discount')}} | - {{amount_with_currency_symbol($order_details->coupon_discount)}} |
| {{__('Shipping Cost')}} | + {{amount_with_currency_symbol($order_details->shipping_cost)}} |
| {{__('Tax')}} {{$tax_percentage}} | + {{amount_with_currency_symbol(\App\Facades\Cart::cart_tax_for_mail_template($cart_items,$order_details))}} |
| {{__('Total')}} | {{amount_with_currency_symbol($order_details->total)}} |
{{__('Inclusive of custom duties and taxes where applicable')}}
@endif| {{__('Thumbnail')}} | {{__('Product Info')}} | @foreach($cart_items as $item) @php $product_info = \App\Products::find($item['id']);@endphp
|---|---|
|
{!! render_image_markup_by_attachment_id($product_info->image,'','thumb') !!}
|
{{$product_info->title}}
@if (!empty($item['variant']))
@php $price_with_variant = 0; @endphp
@foreach(json_decode($item['variant']) as $variants)
@php
$variant = get_product_variant_list_by_id($variants->variantID);
@endphp
@if(!empty($variant))
@php
$index = array_search($variants->term, json_decode($variant->terms,true));
$prices = json_decode($variant->price) ?? [];
$terms = json_decode($variant->terms) ?? [];
@endphp
{{__('Price :')}} {{amount_with_currency_symbol($product_info->sale_price)}}
{{__('Quantity :')}} {{$item['quantity']}}
@php $tax_amount = 0; @endphp
@if(get_static_option('product_tax_type') == 'individual' && is_tax_enable())
@php
$percentage = !empty($product_info->tax_percentage) ? $product_info->tax_percentage : 0;
$tax_amount = ($product_info->sale_price * $item['quantity']) / 100 * $product_info->tax_percentage;
@endphp
{{__('Tax')}} {{'('.$percentage.'%) :'}} +{{amount_with_currency_symbol($tax_amount)}}
@endif
{{__('Subtotal :')}} {{amount_with_currency_symbol($product_info->sale_price * $item['quantity'] + $tax_amount )}}
|