@error('error')
@enderror
@foreach ($plateNumberHistory as $history) @if($history->party->partyable_type == 'Person') @else @endif @endforeach
@lang("labels.license_plate_change_history.party") @lang("labels.license_plate_change_history.old_license_plate") @lang("labels.license_plate_change_history.new_license_plate") @lang("labels.license_plate_change_history.changed_date")
{{$history->party->party_person->first_name.' '.$history->party->party_person->second_name.' '.$history->party->party_person->third_name.' '.$history->party->party_person->fourth_name}} {{$history->old_license_plate}} {{$history->new_license_plate}} {{$history->created_at->format('d-m-Y')}}{{$history->party->party_company->company_name}} {{$history->old_license_plate}} {{$history->new_license_plate}} {{$history->created_at->format('d-m-Y')}}