@extends('layouts.app') @section('title') {{ __('messages_301.Governorates') }} @endsection @section('content')
@include('inc.breadcrumb', [ 'breadcrumb_items' => [ __('messages.Home') => route('home'), __('messages_301.Zones') => null, __('messages_301.Governorates') => 'active', ], ])
{{-- {{ __("messages.EXPORT XLS") }} --}} @can('create_governorate') {{ __('messages.ADD NEW ') }} @endcan @if (count($governorates)) @can('delete_governorate') @endcan @endif
@php $i = 1; $skipCount = $governorates->perPage() * $governorates->currentPage() - $governorates->perPage(); @endphp @include('inc.is_empty_data', [ 'var_check_empty' => $governorates, 'var_check_empty_rows' => 3, ]) @foreach ($governorates as $governorate) @php $i++ @endphp {{-- --}} @endforeach
# {{ __('messages.Name') }} {{ __('messages_301.Country name') }} {{ __('messages.Actions') }}
{{ $skipCount + $i }}{{ $governorate->name }} {{ $governorate->country->name }}
{{ $governorates->appends(Request::except(['_token']))->links() }}
@endsection