@extends('layouts.app') @section('link') @endsection @section('content')
@include('shared.messages')
{{__('texte.brochures_arr.show.name')}}: {{ $brochure->title }}
{{__('texte.brochures_arr.show.description')}}: {{ $brochure->description }}
{{__('texte.brochures_arr.show.brochure_period')}}: {{ __('texte.brochures_arr.show.from').': '.date_format(new DateTime($brochure->date_from), 'd.m.Y H:i').__('texte.brochures_arr.show.hrs_to').' : '.date_format(new DateTime($brochure->date_to), 'd.m.Y H:i').' '.__('texte.brochures_arr.show.hrs')}}
{{__('texte.brochures_arr.show.validity')}} @foreach($storages as $storage) {{in_array($storage->id,$brochure->validity) ? $storage->name.',' : ''}} @endforeach {{in_array('repr',$brochure->validity) ? __('texte.brochures_arr.show.representative') : ''}} {{in_array('ext_repr',$brochure->validity) ? __('texte.brochures_arr.show.ext_representative') : ''}} {{in_array('clients',$brochure->validity) ? __('texte.brochures_arr.show.clients') : ''}}
{{__('texte.brochures_arr.show.active')}}: {{ $brochure->active == 1 ? __('texte.brochures_arr.show.yes') : __('texte.brochures_arr.show.show_brochure') }}
@if(count($brochure->files)>0)
{{__('texte.brochures_arr.show.files')}}: @foreach ($brochure->files as $file) @endforeach
@endif @if(count($brochure->images)>0)
{{__('texte.brochures_arr.show.photos')}}:
@foreach ($brochure->images as $image)
{{$image->title}}
@endforeach
@endif
@foreach($brochure_products as $brochure_product) @endforeach
{{__('texte.brochures_arr.show.product')}} {{__('texte.brochures_arr.show.forming_price')}} {{__('texte.brochures_arr.show.forming_value')}} {{__('texte.brochures_arr.show.discount')}} {{__('texte.brochures_arr.show.price')}} active!=1 ? "disabled" : ""}} title="{{__('texte.brochures_arr.show.add_product')}}">
{{ $brochure_product->name }} {{$brochure_product->price_type==0 ? __('texte.price_arr')[4] : __('texte.price_arr')[$brochure_product->price_type]}} {{$brochure_product->price_type==0 || $brochure_product->price_type==4 ? '' : number_format($brochure_product->produkt[__('texte.price_arr_eng')[$brochure_product->price_type]]*1.2,5,'.','')}} {{$brochure_product->price_type==0 || $brochure_product->price_type==4 ? '' : $brochure_product->discount}} {{ number_format($brochure_product->price*1.2,5,'.','') }} {{__('texte.brochures_arr.show.bgn')}}
{{ method_field('DELETE') }} {{ csrf_field() }}
@endsection