@extends('layouts/app') @section('content')
@if(Session::has('message'))
Success!
{{ Session::get('message') }} @php Session::forget('message'); @endphp
@endif @if(Session::has('error'))
Errors!
@foreach(Session::get('error') as $err) {{ $err }}
@endforeach @php Session::forget('error'); @endphp
@endif
@if (Auth::user()->can('ADD_BRANCH')) Add Branch @endif
@if(!empty($branches)) @foreach($branches as $branch) @endforeach
Code Report Prefix Company Company No Phone no Contact Person Contact Email Counter Limit Region Address Deliver To
@if (Auth::user()->can('UPDATE_BRANCH')) @if($branch->active) @else @endif @endif Edit {{$branch->code}} {{$branch->report_prefix}} {{$branch->description}} {{$branch->company_no}} {{$branch->phone_no}} {{$branch->contact_person}} {{$branch->contact_email}} {{$branch->counter_limit}} {{$branch->region}} {{$branch->address}} {{$branch->deliver_to}}
@else

No data found

@endif
@csrf
@endsection