{{__('messages.Add instructor To Branches')}} - {{$user->name}}
@livewire('instructor-train-component' , ['instructor' => $user , 'component_name' => 'branches-instructor' , 'instructor_id' => $user->id])
@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
@forelse(\App\Models\Branch::whereNotIn('id',\App\Models\BranchInstructor::where('instructor_id',$user->id)->pluck('branch_id'))->get() as $branch)
{{$branch->name}}
@empty
{{__('messages.Empty Result')}}
@endforelse
{{--
{{__('messages.Add taxes')}}
--}}
{{__('messages.Save')}}
#
{{__('messages.Name')}}
@forelse ($branches_of_instructor as $key =>$branch)
#
{{$loop->iteration}}
{{__('messages.Name')}}
{{$branch->name}}
mt-0
{{$branch->id}}
{{__('messages.Branch')}} - {{$branch->name}}
@empty
{{__('messages.Empty Result')}}
@endforelse