@extends('layouts.app') @section('content')
{{ __('texte.accounts_arr.history.account_created')}} {{__('texte.accounts_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.accounts_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.accounts_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.accounts_arr.history.account_deleted')}} {{ __('texte.accounts_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.accounts_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.accounts_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.accounts_arr.history.changed_field')}} @switch($history->fieldName()) @case('currency') {{__('texte.accounts_arr.history.currency')}} {{__('texte.accounts_arr.history.from')}} {{ $history->oldValue()==1 ? __('texte.accounts_arr.history.bgn') : ($history->oldValue()==2 ? __('texte.accounts_arr.history.eur') : __('texte.accounts_arr.history.usd'))}} {{__('texte.accounts_arr.history.to')}} {{ $history->newValue()==1 ? __('texte.accounts_arr.history.bgn') : ($history->newValue()==2 ? __('texte.accounts_arr.history.eur') : __('texte.accounts_arr.history.usd'))}} @break @case('active') {{__('texte.accounts_arr.history.active')}} {{__('texte.accounts_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}} {{__('texte.accounts_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }} @break @default {{__('texte.accounts_arr.history.'.$history->fieldName())}} {{__('texte.accounts_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.accounts_arr.history.to')}} {{ $history->newValue() }} @break @endswitch | {{__('texte.accounts_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.accounts_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |