@extends('layouts.app') @section('content')

{{__('texte.products_arr.show.show_product')}}

@permission('product-route-edit') id)}}' title='{{__('texte.products_arr.show.edit')}}' data-toggle='tooltip'>{{__('texte.products_arr.show.edit')}} @endpermission
{{__('texte.products_arr.show.name')}}: {{ $product->name }}
{{__('texte.products_arr.show.name_size')}}: {{ App\Model::ACTIVE[$product->name_plus] }}
{{__('texte.products_arr.show.storage_visibility')}}: @foreach ($product->storages as $storage) {{ $storage->name }} @endforeach
{{__('texte.products_arr.show.category')}}: {{ optional($product->category)->name }}
{{__('texte.products_arr.show.mark')}}: {{ optional($product->mark)->name }}
{{__('texte.products_arr.show.package')}}: {{ optional($product->package)->name }}
{{__('texte.products_arr.show.material')}}: {{ optional($product->material)->name }}
{{__('texte.products_arr.show.volume')}}: {{ optional($product->size)->value }}
{{__('texte.products_arr.show.producer')}}: {{ optional($product->producer)->name }}
{{__('texte.products_arr.show.producer_code')}}: {{ $product->producer_code }}
{{__('texte.products_arr.show.producer_second_code')}}: {{ $product->producer_second_code }}
{{__('texte.products_arr.show.wrappage')}}: {{ App\Model::ACTIVE[$product->is_wrappage == 0 ? 0 : 1] }}
{{__('texte.products_arr.show.piece_wrappage')}}: @isset($product->wrappage_piece_id) {{ optional($product->wrappagePiece)->name }} @endisset
{{__('texte.products_arr.show.package_wrappage')}}: @isset($product->wrappage_package_id) {{ optional($product->wrappagePackage)->name }} @endisset
{{__('texte.products_arr.show.pallet_wrappage')}}: @isset($product->wrappage_pallet_id) {{ optional($product->wrappagePallet)->name }} @endisset
{{__('texte.products_arr.show.stock_default')}}: {{ $product->measure==1 ? __('texte.products_arr.show.count') : __('texte.products_arr.show.package') }}
{{__('texte.products_arr.show.measure')}}: {{ App\Product::UNIT[$product->unit]['title'] }}
{{__('texte.products_arr.show.weight')}}: {{ $product->piece_weight }}
{{__('texte.products_arr.show.barcode')}}: {{ $product->piece_barcode }}
{{__('texte.products_arr.show.second_barcode')}}: {{ $product->piece_second_barcode }}
{{__('texte.products_arr.show.package_count')}}: {{ $product->package_count }}
{{__('texte.products_arr.show.package_weight')}}: {{ $product->package_weight }}
{{__('texte.products_arr.show.package_barcode')}}: {{ $product->package_barcode }}
{{__('texte.products_arr.show.second_package_barcode')}}: {{ $product->package_second_barcode }}
{{__('texte.products_arr.show.pallet_count')}}: {{ $product->pallet_count }}
{{__('texte.products_arr.show.pallet_weight')}}: {{ $product->pallet_weight }}
{{__('texte.products_arr.show.prices')}}:
{{__('texte.products_arr.show.price_type')}} {{__('texte.products_arr.show.with_vat')}} {{__('texte.products_arr.show.without_vat')}}
{{__('texte.products_arr.show.supply_price')}} {{ number_format(($product->price_supply ?? 0)*1.2,5) }} {{ number_format($product->price_supply ?? 0,5) }}
{{__('texte.products_arr.show.base_price')}} {{ number_format(($product->price_base ?? 0)*1.2,5) }} {{ number_format($product->price_base ?? 0,5)}}
{{__('texte.products_arr.show.single_base_price')}} {{ number_format(($product->price_piece ?? 0)*1.2,5) }} {{ number_format($product->price_piece ?? 0,5)}}
{{__('texte.products_arr.show.recommend_price')}} {{ number_format(($product->price_recommend ?? 0)*1.2,5) }} {{ number_format($product->price_recommend ?? 0,5) }}
{{__('texte.products_arr.show.min_stock')}}: {{ $product->min }}
{{__('texte.products_arr.show.max_stock')}}: {{ $product->max }}
{{__('texte.products_arr.show.min_sale_qty')}}: {{ $product->min_sale }}
{{__('texte.products_arr.show.max_sale_qty')}}: {{ $product->max_sale }}
{{__('texte.products_arr.show.sales_repr_visible')}}: {{ App\Model::ACTIVE[$product->spokesman_show] }}
{{__('texte.products_arr.show.count_or_measure')}}: {{ App\Product::MEASURE[$product->spokesman_measure]['title'] }}
{{__('texte.products_arr.show.ext_sales_repr_visible')}}: {{ App\Model::ACTIVE[$product->spokesman_out_show] }}
{{__('texte.products_arr.show.count_or_measure')}}: {{ App\Product::MEASURE[$product->spokesman_out_measure]['title'] }}
{{__('texte.products_arr.show.clients_visible')}}: {{ App\Model::ACTIVE[$product->client_show] }}
{{__('texte.products_arr.show.count_or_measure')}}: {{ App\Product::MEASURE[$product->client_measure]['title'] }}
{{__('texte.products_arr.show.meta_title')}}: {{ $product->meta_title }}
{{__('texte.products_arr.show.meta_keywords')}}: {{ $product->meta_keywords }}
{{__('texte.products_arr.show.meta_description')}}: {{ $product->meta_description }}
{{__('texte.products_arr.show.description')}}: {{ $product->description }}
{{__('texte.products_arr.show.active')}}: {{ App\Model::ACTIVE[$product->active] }}
@foreach ($product->images as $image)
{{$image->title}}
@endforeach @if($product->is_wrappage!==0 && (count($product->pieceProducts)>0 || count($product->packageProducts)>0 || count($product->palletProducts)>0))
{{__('texte.products_arr.show.attached_to')}}: @foreach ($product->pieceProducts as $piece_product) {{ $piece_product->name }} @endforeach @foreach ($product->packageProducts as $package_product) {{ $package_product->name }} @endforeach @foreach ($product->palletProducts as $pallet_product) {{ $pallet_product->name }} @endforeach
@endif
@endsection