{{__('messages.Add instructors To Branch')}} - {{$branch->name}}

@livewire('branch-train-component',['branch_id' => $branch->id,'component_name'=>"branch-instructors","branch" => $branch])
@if (session()->has('message'))
{{ session('message') }}
@endif
@foreach($instructors as $index=>$instructor)
instructors[{{$index}}][instructor_id] {{__('messages.Instructor')}} instructors.{{$index}}.instructor_id @foreach(\App\Models\User::where('is_instructor',1)->whereNotIn('id',\App\Models\BranchInstructor::where('branch_id',$branch->id)->pluck('instructor_id')->toArray())->get() as $user) {{-- @if($user->is_instructor == 1)--}} {{-- @endif--}} @endforeach
@if(!$loop->first) @endif
@endforeach @livewire('branch-instructors-list-component' , ['branch' => $branch])
{{-- {{__('messages.Add taxes')}}--}}