@extends('layouts.app') @section('content')
{{ __('texte.promotions_arr.history.promotion_created')}} {{__('texte.promotions_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.promotions_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.promotions_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.promotions_arr.history.promotion_deleted')}} {{ __('texte.promotions_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.promotions_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.promotions_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.promotions_arr.history.changed_field')}}
@switch($history->fieldName())
@case('active')
{{__('texte.promotions_arr.history.active')}}
{{__('texte.promotions_arr.history.from')}}
{{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}}
{{__('texte.promotions_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }}
@break
@case('promotion_visibility')
{{__('texte.promotions_arr.history.promotion_visibility')}}
{{__('texte.promotions_arr.history.from')}}
@if ($history->oldValue()!=null)
@foreach(explode(',',$history->oldValue()) as $index=>$item)
@switch($item)
@case('repr')
{{__('texte.promotions_arr.history.repr')}}{{$index |
{{__('texte.promotions_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.promotions_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |