@extends('layouts.master') @section('title') @lang('translation.Branch_Details') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Branch Details @endslot @endcomponent
Branch Details
@if(session('success'))
{{ session('success') }}
@endif
{{ substr($branch->name, 0, 1) }}

{{ $branch->name }}

{{ $branch->code }}

{{ $branch->active ? 'Active' : 'Inactive' }} @if($branch->trashed()) Deleted @endif
Contact Information

{{ $branch->contact_email }}

@if($branch->phone)

{{ $branch->phone }}

@endif
Location & Address

{{ $branch->location }}

@if($branch->address)

{{ $branch->address }}

@endif
Additional Details

Created: {{ $branch->created_at->format('M d, Y') }}

Last Updated: {{ $branch->updated_at->format('M d, Y') }}

Quick Actions
@if($branch->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else View Employees View Documents
@csrf @method('DELETE')
@endif
@if(!$branch->trashed())
Status Toggle
@csrf
active ? 'checked' : '' }} onchange="this.form.submit()">
@endif
@endsection @section('script') @endsection @section('script-bottom') @endsection