@extends(auth()->user()->hasRole('Търговски представител') || auth()->user()->hasRole('Външен търговски представител') ? 'layouts.app_mobile' : 'layouts.app') @section('link') @endsection @section('style') @endsection @section('content')
@include('shared.messages')

{{__('texte.representatives_arr.orders.review.order_for')}} {{$object->user->name}}

{{__('texte.representatives_arr.orders.review.to_route')}} {{__('texte.representatives_arr.orders.review.products')}} {{__('texte.representatives_arr.orders.review.articles')}} - {{$user_cart_totals->cart_quantity ?? '0'}}, {{__('texte.representatives_arr.orders.review.amount')}} - {{$user_cart_totals->cart_total ? number_format($user_cart_totals->cart_total,2,'.','') : '0.00'}} {{__('texte.representatives_arr.orders.review.bgn_caps')}}.
@if(count($user_cart)>0)
{{csrf_field()}} @if(auth()->user()->hasRole('Външен търговски представител')) @endif @if($object->data['overdue_amount']>0) @endif
@foreach($user_cart as $user_cart_item) @endforeach
{{strtoupper(__('texte.representatives_arr.orders.review.id'))}} {{__('texte.representatives_arr.orders.review.name')}} {{__('texte.representatives_arr.orders.review.unit_measure')}} {{__('texte.representatives_arr.orders.review.quantity')}} {{__('texte.representatives_arr.orders.review.single_price')}} {{__('texte.representatives_arr.orders.review.gift')}} {{__('texte.representatives_arr.orders.review.end_price')}}
{{$user_cart_item->product_id}} {{$user_cart_item->product->name}} {{$user_cart_item->package_id==0 ? __('texte.representatives_arr.orders.review.count') : (isset($user_cart_item->package_id) ? $user_cart_item->product->package->name : '')}}
{{number_format($user_cart_item->price,2)}} discount!=0 ? 'checked' : ''}} @nonepermission('order-form-super_discount-write') disabled @endnonepermission/> {{number_format($user_cart_item->quantity*($user_cart_item->price-$user_cart_item->discount),2, '.', '')}}
{{__('texte.representatives_arr.orders.review.total_amount')}} {{number_format($user_cart_totals->cart_total,2)}}{{__('texte.representatives_arr.orders.review.bgn')}}
{{__('texte.representatives_arr.orders.review.discounts')}} 0.00 {{__('texte.representatives_arr.orders.review.bgn')}}
{{__('texte.representatives_arr.orders.review.final_amount')}} {{number_format($user_cart_totals->cart_total,2)}} {{__('texte.representatives_arr.orders.review.bgn')}}
@if(count($promotions)>0) @foreach($promotions as $index=>$promotion) @endforeach
{{__('texte.representatives_arr.orders.review.number')}} {{strtoupper(__('texte.representatives_arr.orders.review.id'))}} {{__('texte.representatives_arr.orders.review.condition')}} {{__('texte.representatives_arr.orders.review.bonus')}}
{{$index+1}} {{$promotion['id']}} {!!$promotion['promotion_description']['promotion_condition']!!} {!!$promotion['promotion_description']['promotion_bonus']!!}
@endif
@if(auth()->user()->hasRole('Търговски представител'))
{{__('texte.representatives_arr.orders.review.storage')}}:
@endif
{{__('texte.representatives_arr.orders.review.delivery_date')}}:
{{__('texte.representatives_arr.orders.review.note')}}:

{{__('texte.representatives_arr.orders.review.note_text')}}

{{__('texte.representatives_arr.orders.review.empty')}}
@else
{{__('texte.representatives_arr.orders.review.cart_empty')}}
@endif
@endsection