@extends('layouts.app') @section('title', 'Branches') @section('actions') @can('create', \App\Models\Branch::class) @if ($canAdd) New branch @endif @endcan @endsection @section('content')
| Name | Code | City | Phone | Users | Status | |
|---|---|---|---|---|---|---|
| {{ $branch->name }} @if ($branch->is_main)main@endif | {{ $branch->code }} | {{ $branch->city ?? '—' }} | {{ $branch->phone ?? '—' }} | {{ $branch->users_count }} | {{ $branch->status }} | @can('update', $branch) Edit @endcan @if (! $branch->is_main) @can('delete', $branch) @endcan @endif |