Show Petition

Id: {{ $complaint->id }}
Title: {{ $complaint->title }}
Description: {{ $complaint->description }}
Category: {{ $complaint->category->name }}
Police station: {{ $complaint->police_station }}
Teshil: {{ $complaint->tehsil }}
District: {{ $complaint->district }}
Union Council: {{ $complaint->union_council }}
Status: {{ $complaint->status->name }}
Complaint by: {{ $complaint->user->name }}

Petition Vote

@foreach ($complaint->vote as $key => $user) @endforeach
No Vote Response By Created at
{{ $user->id }} @if($user->vote == 1) Yes @else No @endif {{ $user->user->name }} {{ $user->create }}