@extends('layouts.master') @section('title') {{ __('report.allBranches') }} @stop @section('css') @endsection @section('page-header')
| # | {{ __('users.branch_name') }} | {{ __('users.Location') }} | {{ __('home.tybe') }} | {{ __('home.main_branch') }} |
|---|---|---|---|---|
| {{ $key + 1 }} | {{ $branch->name }} | {{ $branch->place }} | @if($branch->type == 1) {{ __('home.sub_branch') }} @else {{ __('home.main_branch') }} @endif | @if($branch->branch_id) @php $mainBranch = App\Models\branchs::find($branch->branch_id); @endphp {{ $mainBranch ? $mainBranch->name : __('home.not_found') }} @else -- @endif |