@extends('layouts.app') @section('link') @endsection @section('content')
{{__('texte.promotions_arr.index.name')}} | {{__('texte.promotions_arr.index.description')}} | {{__('texte.promotions_arr.index.visibility')}} | {{__('texte.promotions_arr.index.period')}} | {{__('texte.promotions_arr.index.type')}} | {{__('texte.promotions_arr.index.active_f')}} | {{__('texte.promotions_arr.index.order')}} | {{__('texte.promotions_arr.index.from')}} | {{__('texte.promotions_arr.index.ext_representative')}} | {{__('texte.promotions_arr.index.objects')}} | {{__('texte.promotions_arr.index.products')}} |
---|---|---|---|---|---|---|---|---|---|---|
{{ $promotion->title }} | {{ $promotion->description }} | @foreach($storages as $storage) {{strpos($promotion->promotion_visibility,','.$storage->id.',')!== false ? $storage->name.',' : ''}} @endforeach {{strpos($promotion->promotion_visibility,',repr,') ? (__('texte.promotions_arr.index.representative').',') : ''}} {{strpos($promotion->promotion_visibility,',ext_repr,') ? (__('texte.promotions_arr.index.ext_representative').',') : ''}} {{strpos($promotion->promotion_visibility,',clients,') ? (__('texte.promotions_arr.index.clients').',') : ''}} | {{ isset($promotion->date_from) && isset($promotion->date_to) ? date("d.m.Y",strtotime($promotion->date_from))." - ".date("d.m.Y",strtotime($promotion->date_to)) : __('texte.promotions_arr.index.till_exhausted')}} | {{ Lang::get('texte.promotion_types_arr')[$promotion->promotion_type]}} | {{Lang::get('texte.replies_arr')[ $promotion->active]}} | {{ isset($promotion->date_from) ? date("d.m.Y",strtotime($promotion->date_from)) : ''}} | {{ isset($promotion->date_to) ? date("d.m.Y",strtotime($promotion->date_to)) : ''}} | {{$promotion->objects}} | {{$promotion->condition_products.','.($promotion->bonus_products!=null && $promotion->bonus_products!=[] ? $promotion->bonus_products : '')}} | |
{{ $promotion->title }} | {{ $promotion->description }} | @foreach($storages as $storage) {{strpos($promotion->promotion_visibility,','.$storage->id.',')!== false ? $storage->name.',' : ''}} @endforeach {{strpos($promotion->promotion_visibility,',repr,') ? (__('texte.promotions_arr.index.representative').',') : ''}} {{strpos($promotion->promotion_visibility,',ext_repr,') ? (__('texte.promotions_arr.index.ext_representative').',') : ''}} {{strpos($promotion->promotion_visibility,',clients,') ? (__('texte.promotions_arr.index.clients').',') : ''}} | {{ isset($promotion->date_from) && isset($promotion->date_to) ? date("d.m.Y",strtotime($promotion->date_from))." - ".date("d.m.Y",strtotime($promotion->date_to)) : __('texte.promotions_arr.index.till_exhausted')}} | {{ Lang::get('texte.promotion_types_arr')[$promotion->promotion_type]}} | {{Lang::get('texte.replies_arr')[ $promotion->active]}} | {{ isset($promotion->date_from) ? date("d.m.Y",strtotime($promotion->date_from)) : ''}} | {{ isset($promotion->date_to) ? date("d.m.Y",strtotime($promotion->date_to)) : ''}} | {{$promotion->objects}} | {{$promotion->condition_products.','.($promotion->bonus_products!=null && $promotion->bonus_products!=[] ? $promotion->bonus_products : '')}} |