@extends('layouts.app') @section('content')
{{ __('texte.sizes_arr.history.size_created')}} {{__('texte.sizes_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.sizes_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.sizes_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.sizes_arr.history.size_deleted')}} {{ __('texte.sizes_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.sizes_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.sizes_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.sizes_arr.history.changed_field')}} @switch($history->fieldName()) @case('value') {{__('texte.sizes_arr.history.value')}} {{__('texte.sizes_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.sizes_arr.history.to')}} {{ $history->newValue() }} @break @case('unit') {{__('texte.sizes_arr.history.unit')}} {{__('texte.sizes_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()==0 ? __('texte.sizes_arr.history.liter') : __('texte.sizes_arr.history.kg') }} {{__('texte.sizes_arr.history.to')}} {{ $history->newValue()==0 ? __('texte.sizes_arr.history.liter') : __('texte.sizes_arr.history.kg') }} @break @case('active') {{__('texte.sizes_arr.history.active')}} {{__('texte.sizes_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}} {{__('texte.sizes_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }} @break @default {{$history->fieldName()}} {{__('texte.sizes_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.sizes_arr.history.to')}} {{ $history->newValue() }} @break @endswitch | {{__('texte.sizes_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.sizes_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |