@extends('layouts.admin') @section('content') @php $user = auth()->user(); $canManage = $user->hasPermission('locations.manage', $location); $canVerify = $user->hasPermission('locations.verify', $location); $childType = $type === 'province' ? 'district' : 'tehsil'; @endphp
| {{ __('ui.locations.name') }} | @if($type === 'province'){{ $location->subunitLabel() }} | @endif{{ __('ui.admin.status') }} | {{ __('ui.locations.verification') }} |
|---|---|---|---|
| {{ $child->localizedName() }}
@if(blank($child->name_ur)){{ __('ui.locations.urdu_missing') }}@endif
{{ $child->name_en }} |
@if($type === 'province'){{ $child->tehsils_count }} @if($child->needs_verification_count){{ $child->needs_verification_count }} ⚑@endif | @endif{{ $child->operational_status->label() }} | @if($child->needs_verification){{ __('ui.locations.needs_verification') }}@elseif($child->verified_at){{ __('ui.locations.verified') }}@else — @endif |
| {{ __('ui.no_results') }} | |||