@foreach ($inputs as $key => $input) {{-- input type text --}} @if ($input->type == 1)
{{ csrf_field() }}
@elseif ($input->type == 7)
{{ csrf_field() }}
@elseif ($input->type == 2)
{{ csrf_field() }}
@elseif ($input->type == 3)
{{ csrf_field() }}
@php $input_options = DB::table('withdraw_method_options') ->where('withdraw_method_input_id', $input->id) ->get(); @endphp @foreach ($input_options as $key => $option)
@endforeach
@elseif ($input->type == 4)
{{ csrf_field() }}
@elseif ($input->type == 5)
{{ csrf_field() }}
@elseif ($input->type == 6)
{{ csrf_field() }}
@endif @endforeach