@extends('admin.layout.master') @section('content')
@if(get_guard()=='admin')

{{__('obs.complain_edit')}}

@else

{{__('obs.add_new_complain')}}

@endif @php $index_route = 'customer.complain.index'; if(get_guard()=='admin') $index_route = 'complain.index'; @endphp {{__('obs.complain_list')}}
@php $route = 'customer.complain.store'; if(isset($row_id)) $route = 'customer.complain.update'; @endphp
@csrf @isset($row_id) @endisset

@foreach (complainTypes() as $key=>$ot)
type == $key) checked @endif @endisset @empty($row_id) @if($key==1) checked @endif @endempty type="radio" name="type" id="type{{$key}}" value="{{$key}}">
@endforeach

@if(get_guard()=='customer')
@endif
@endsection @section('script') @isset($row_id) @endisset @empty($row_id) @endempty @endsection