| @lang('Item') | @lang('Price') | @lang('Quantity') | @lang('Total') |
| {{$product->name}}
@if($product->pivot->spec && ($specs = unserialize($product->pivot->spec)))
@foreach($specs as $key => $spec) {{$spec['name']}}: {{$spec['value']}}@if(!$loop->last), @endif @endforeach @endif |
{{currency_format($product->pivot->unit_price, $order->currency)}} | {{$product->pivot->quantity}} | {{currency_format($product->pivot->total, $order->currency)}} |
| @lang('Subtotal') | {{currency_format($order->total, $order->currency)}} | ||
| @lang('Tax') | + {{$order->tax}} % | ||
| @lang('Shipping Cost') | {{isset($order->shipping_cost) ? currency_format($order->shipping_cost, $order->currency) : currency_format(0, $order->currency)}} | ||
| @lang('Coupon Discount') | {{ currency_format($order->coupon_amount, $order->currency) }} | ||
| @lang('Wallet Used') | {{ currency_format($order->wallet_amount, $order->currency) }} | ||
| @lang('Total') | {{currency_format($order->shipping_cost + $order->total - $order->wallet_amount - $order->coupon_amount + ($order->total * $order->tax) / 100, $order->currency)}} |