@extends('layouts.app') @section('content')
{{ __('texte.filters_arr.history.filter_created')}} {{__('texte.filters_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.filters_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.filters_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.filters_arr.history.filter_deleted')}} {{ __('texte.filters_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.filters_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.filters_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.filters_arr.history.changed_field')}} @switch($history->fieldName()) @case('title') {{__('texte.filters_arr.history.title')}} {{__('texte.filters_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.filters_arr.history.to')}} {{ $history->newValue() }} @break @case('type') {{__('texte.filters_arr.history.type')}} {{__('texte.filters_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()==0 ? __('texte.filters_arr.history.value') : ($history->oldValue()==1 ? __('texte.filters_arr.history.radio_button') : __('texte.filters_arr.history.checkbox'))}} {{__('texte.filters_arr.history.to')}} {{$history->newValue()==0 ? __('texte.filters_arr.history.value') : ($history->newValue()==1 ? __('texte.filters_arr.history.radio_button') : __('texte.filters_arr.history.checkbox'))}} @break @case('active') {{__('texte.filters_arr.history.active')}} {{__('texte.filters_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}} {{__('texte.filters_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }} @break @default {{$history->fieldName()}} {{__('texte.filters_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.filters_arr.history.to')}} {{ $history->newValue() }} @break @endswitch | {{__('texte.filters_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.filters_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |