@extends('templates.'.$template.'.layouts.default') @section('content')
@include("templates.$template.account.common.tabs")

{{ trans('translations.order-no') }} {{ $order->id }}

{{ trans('translations.plasata-pe') }}:{{ $order->date }}
{{ trans('translations.total') }}:{{ $order->total }} Lei

{{ $order->getStatus() }}
{{--

Data estimata de livrare:

15.10.2019-15.01.2020

--}}
{{ trans('translations.total') }}

{{ trans('translations.livrare-prin-curier') }}

{{ trans('translations.pentru') }}:

{{ $order->shipping_name }}, {{ $order->shipping_phone }}

{{ trans('translations.adresa') }}:

{{ $order->shipping_address }}, {{ $order->getShippingCity() }}, {{ $order->getShippingCounty() }}

{{ trans('translations.de-prezentat-la-livrare') }}:

{{ trans('translations.cartea-de-identitate') }}

@if($order->person_type == 0)
{{ trans('translations.date-facturare') }}

{{ trans('translations.pentru') }}:

{{ $order->customer_name }}, {{ $order->customer_phone }}

{{ trans('translations.adresa') }}:

{{ $order->billing_address }}, {{ $order->getBillingCity() }}, {{ $order->getBillingCounty() }}

@else
{{ trans('translations.date-facturare') }}

{{ trans('translations.pentru') }}:

{{ $order->customer_name }}, {{ $order->customer_phone }}

{{ $order->company_name }}

{{ trans('translations.adresa') }}:

{{ $order->company_address }}, {{ $order->getCompanyCity() }}, {{ $order->getCompanyCounty() }}

@endif
{{ trans('translations.modalitate-de-plata') }}

{{ $order->getPaymentMethod() }}

Plata acceptata

{{ trans('translations.valoarea-totala') }} {{ $order->total }} Lei

@foreach ($orderProducts as $orderProduct)
{{ $orderProduct->name }}

{{ $orderProduct->name }}

{{ $orderProduct->total }} Lei

{{ $orderProduct->quantity }} buc

@endforeach

{{ trans('translations.total-produse') }}: {{ $order->total_products }} Lei

@if($order->coupon_code != '' && $order->coupon_discount_value > 0)

{{ trans('translations.discount-coupon') }} {{ $order->coupon_code }} -{{ $order->discount }} Lei

@endif

{{ trans('translations.cost-livrare') }} {{ ($order->shipping_tax > 0 ? $order->shipping_tax .' Lei' : 'Gratuit') }}

{{ trans('translations.total-platit') }} {{ $order->total }} Lei

@endsection {{-- Page script --}} @section('script') @endsection