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

Complain Edit

@else

Add New Complain

@endif @php $index_route = 'customer.complain.index'; if(get_guard()=='admin') $index_route = 'complain.index'; @endphp 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