@extends('layouts.master') @section('title', __('index.title_branch')) @section('button') @can('create_branch') @endcan @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.branch.common.breadcrumb', ['title' => __('index.branch')])
{{ __('index.branch_lists') }}
{{ __('index.reset') }}
{{ __('index.branch_lists') }}
@can(['edit_branch','delete_branch']) @endcan @forelse($branches as $key => $value) @canany(['edit_branch','delete_branch']) @endcanany @empty @endforelse
# {{ __('index.branch_name') }} {{ __('index.address') }} {{ __('index.phone') }} {{ __('index.total_employee') }} {{ __('index.status') }}{{ __('index.action') }}
{{(($branches->currentPage()- 1 ) * (\App\Models\Branch::RECORDS_PER_PAGE) + (++$key))}} {{ucfirst($value->name)}} {{$value->address}} {{$value->phone}} {{$value->employees_count }}
    @can('edit_branch')
  • @endcan @can('delete_branch')
  • @endcan

{{ __('index.no_records_found') }}

{{$branches->appends($_GET)->links()}}
@endsection @section('scripts') @endsection