@inject('request', 'Illuminate\Http\Request') @extends('backend.layouts.app') @section('title', __('labels.backend.blogs.title') . ' | ' . app_name()) @section('content')

@lang('menus.backend.sidebar.certificates.abroveall')

@can('blog_create')
@endcan
←
{{ html()->form('POST', route('admin.certificates.updateshow2'))->id('rate-create')->class('form-horizontal')->acceptsFiles()->open() }} @csrf @foreach ($course->studentsCourseLocation(request('course_location_id'))->get() as $key => $student) @foreach ($certificates as $key => $certificate) @php $key++; @endphp @if ($certificate->user_id == $student->id) --}} @push('after-scripts') @endpush @endif @endforeach @endforeach
@lang('labels.general.sr_no') @lang('labels.backend.courses.students.student_name') @lang('menus.backend.sidebar.certificates.abrov')
{{ $key }} @if (Lang::locale() == 'en') {{ $student->first_name . ' ' . $student->last_name }} @else {{ $student->name_ar ?? $student->first_name . ' ' . $student->last_name }} @endif @if ($certificate->show_to_user == 1) {!! Form::checkbox('forms[]', 1, true, [ 'id' => 'cheak' . $key . '']) !!} @else {!! Form::checkbox('forms[]', 0, false, ['id' => 'cheak' . $key . '']) !!} @endif {{-- @lang('labels.backend.courses.students.certificate')
{!! Form::submit(trans('strings.backend.general.app_save'), ['class' => 'btn mt-auto btn-danger', 'style' => 'float: left;']) !!} {!! Form::close() !!}
@endsection @push('after-scripts') @endpush