<label>{{ __('payment_logs.'.$key) }} </label>
<select onchange="selectAcc(this)" id="acc_id" class="form-control " name="{{$key}}">
    <option value="">{{__('dashboard.select')}}</option>
    @foreach($accounts as $row)
        <option {{$request->id == $row->id ? 'selected' : ''}} value="{{$row->id}}">{{ $row->currentDescription->title ?? $row->name }}</option>
    @endforeach
</select>
