@extends('layouts.main') @section('page-title') {{ __(!empty(company_setting('hrm_branch_name')) ? company_setting('hrm_branch_name') : 'Branch') }} @endsection @section('page-breadcrumb') {{ __('Branch') }} @endsection @section('page-action')
@can('branch create') @endcan
@endsection @section('content')
@include('hrm::layouts.hrm_setup')
@can('branch name edit')

{{!empty(company_setting('hrm_branch_name')) ? company_setting('hrm_branch_name') : __('Branch')}}

@endcan
@forelse($branches as $branch) @empty @include('layouts.nodatafound') @endforelse
{{!empty(company_setting('hrm_branch_name')) ? company_setting('hrm_branch_name') : __('Branch')}} {{__('Action')}}
{{ !empty($branch->name) ? $branch->name : '' }} @can('branch edit') @endcan @can('branch delete')
{{Form::open(array('route'=>array('branch.destroy', $branch->id),'class' => 'm-0'))}} @method('DELETE') {{Form::close()}}
@endcan
@endsection