@foreach ($seos as $seo) @endforeach
| {{ __('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
@php $prod = App\Models\Product::find($product['item']['id']); @endphp
@if (isset($prod))
{{ __('Product SKU') }} - {{ $prod->sku }} {{ __('Reference Code') }} - {{ $prod->ref_code }} @if ($gs->is_invoice_photo) |
@if ($product['size'])
{{ __('Size') }}: {{ str_replace( '-', ' ', $product['size'], ) }} @endif @if ($product['color']){{ __('color') }} : @endif{{ __('Price') }} : {{ $order->currency_sign }}{{ number_format( $product['item']['price'] * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} {{ $first_curr->sign . ' ' . __('Price') }} : {{ $first_curr->sign }}{{ number_format( $product['item']['price'], $first_curr->decimal_digits, $first_curr->decimal_separator, $first_curr->thousands_separator, ) }} {{ __('Qty') }} : {{ $product['qty'] }} {{ $product['item']['measure'] }} @if (!empty($product['customizable_gallery'])){{ __('Custom Gallery Image') }}: @php $gal = App\Models\CategoryGallery::where('customizable_gallery', $product['customizable_gallery'])->first(); @endphp @if (isset($gal)) {{ __('Texture cod.:') }}
{{ $gal->id }}
@endif
{{ __('Custom Name') }}: {{ $product['customizable_name'] }} @endif @if (!empty($product['customizable_number'])){{ __('Custom Number') }}: {{ $product['customizable_number'] }} @endif @if (!empty($product['keys'])) @foreach (array_combine(explode(',', $product['keys']), explode('~', $product['values'])) as $key => $value){{ App\Models\Attribute::where('input_name', $key)->first()->name }}: {{ $value }} @endforeach @endif |
{{ $order->currency_sign }}{{ number_format(
$product['price'] * $order->currency_value,
$order_curr->decimal_digits,
$order_curr->decimal_separator,
$order_curr->thousands_separator,
) }}
{{ $first_curr->sign }}{{ number_format( $product['price'], $first_curr->decimal_digits, $first_curr->decimal_separator, $first_curr->thousands_separator, ) }} |
@php
$subtotal += round($product['price'] * $order->currency_value, 2);
@endphp
| {{ __('Subtotal') }} | {{ $order->currency_sign }}{{ number_format( $subtotal, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} | |
| {{ __('Shipping') }} | {{ $order->currency_sign }}{{ number_format( $order->shipping_cost * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} | |
| {{ __('Packaging') }} | {{ $order->currency_sign }}{{ number_format( $order->packing_cost * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} | |
| {{ __('TAX') }} | @php $tax = ($subtotal / 100) * $order->tax; @endphp{{ $order->currency_sign }}{{ number_format( $tax, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} | |
| {{ __('Coupon Discount') }} | {{ $order->currency_sign }}{{ number_format( $order->coupon_discount * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} | |
| {{ __('Total') }} | {{ $order->currency_sign }}{{ number_format(
$order->pay_amount * $order->currency_value,
$order_curr->decimal_digits,
$order_curr->decimal_separator,
$order_curr->thousands_separator,
) }}
{{ $first_curr->sign }}{{ number_format( $order->pay_amount, $first_curr->decimal_digits, $first_curr->decimal_separator, $first_curr->thousands_separator, ) }} |