@php /** * @name Pagina ordine * @version 1.0.0 */ @endphp @extends('app') @section('content')
@if($page->get_name() == 'order-received')
@get_template_part('page.order.parts.confirm', null, ['order' => $order, 'payments' => $payments])
@endif

{{ __t('Prodotti') }}

@php $products = $order->get_products(); @endphp @foreach ($products as $product)
@get_template_part('page.orders.parts.product', null, ['product' => $product])
@endforeach
@php $amount = $order->get_amount(); $type = call_setting('settings.cart.view_amount'); switch ($type) { case 'no_tax': $subtotal = $amount->get_amount(true, true); $total = $amount->get_amount_sale(true, true); $sale = $amount->amount_format(($amount->get_amount(false, false) - $amount->get_amount_sale(false, false)), true); break; case 'include_tax': $subtotal = $amount->get_amount_with_tax(true, true); $total = $amount->get_amount_sale_with_tax(true, true); $sale = $amount->amount_format(($amount->get_amount(false, false) - $amount->get_amount_sale(false, false)), true); break; } @endphp
{{ __t('Subtotale') }}
{{ $subtotal }}
{{ __t('Sconto') }}
{{ '- ' . $sale }}
{{ __t('Totale') }}
{{ $total }}
{{ __t('Quantità totale') }}
{{ $order->get_quantity() }}
@get_template_part('page.order.parts.header', null, ['order' => $order, 'payments' => $payments])
@endsection