@extends('layouts.app') @section('content')
{{ __('texte.storages_arr.history.storage_created')}} {{__('texte.storages_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.storages_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.storages_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.storages_arr.history.storage_deleted')}} {{ __('texte.storages_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.storages_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.storages_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.storages_arr.history.changed_field')}} @switch($history->fieldName()) @case('location') {{__('texte.storages_arr.history.location')}} {{__('texte.storages_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $locations[$history->oldValue()]->name}} {{__('texte.storages_arr.history.to')}} {{ $locations[$history->newValue()]->name }} @break @case('company_location') {{__('texte.storages_arr.history.company_location')}} {{__('texte.storages_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $locations[$history->oldValue()]->name}} {{__('texte.storages_arr.history.to')}} {{ $locations[$history->newValue()]->name }} @break @case('active') {{__('texte.storages_arr.history.active')}} {{__('texte.storages_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}} {{__('texte.storages_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }} @break @default {{__('texte.storages_arr.history.'.$history->fieldName())}} {{__('texte.storages_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.storages_arr.history.to')}} {{ $history->newValue() }} @break @endswitch | {{__('texte.storages_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.storages_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |