@extends('layouts.app') @section('content')
{{strtoupper(__('texte.orders_arr.show.id'))}} | {{__('texte.orders_arr.show.name')}} | {{__('texte.orders_arr.show.measure')}} | {{__('texte.orders_arr.show.quantity')}} | {{__('texte.orders_arr.show.price')}} | {{__('texte.orders_arr.show.discount')}} | {{__('texte.orders_arr.show.single_price')}} | {{__('texte.orders_arr.show.value')}} | |
---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{$order_product->product_id}} | {{$order_product->product_name}} | {{$order_product->measure==1 ? $order_product->package_name : __('texte.orders_arr.show.count')}} | {{$order_product->quantity_ordered / ($order_product->measure==1 ? $order_product->package_count : 1)}} | {{__('texte.price_types_arr_human')[$order_product->price]}} | {{$order_product->discount}} | {{number_format(number_format($order_product->single_price*1.2,5,'.','') * ($order_product->measure==1 ? $order_product->package_count : 1), 5, '.', '')}} | {{number_format($order_product->quantity_ordered*$order_product->single_price*1.2, 5, '.', '')}} |
{{__('texte.orders_arr.show.gifts')}}
{{strtoupper(__('texte.orders_arr.show.id'))}} | {{__('texte.orders_arr.show.name')}} | {{__('texte.orders_arr.show.measure')}} | {{__('texte.orders_arr.show.quantity')}} |
---|---|---|---|
{{$bonus_product->product_id}} | {{$bonus_product->product_name}} | {{$order_product->measure==1 ? $order_product->package_name : __('texte.orders_arr.show.count')}} | {{$bonus_product->quantity_ordered}} |
{{__('texte.orders_arr.show.applied_promotions')}}
{{__('texte.orders_arr.show.number')}} | {{strtoupper(__('texte.orders_arr.show.id'))}} | {{__('texte.orders_arr.show.name')}} | {{__('texte.orders_arr.show.condition')}} | {{__('texte.orders_arr.show.bonus')}} |
---|---|---|---|---|
{{$key+1}} | {{$applied_promotion->id}} | {{$applied_promotion->title}} | {!!$applied_promotion->promotion_description['promotion_condition']!!} | {!!$applied_promotion->promotion_description['promotion_bonus']!!} |