@extends('backEnd.master') @section('title') @lang('admin.student_certificate') @endsection @push('css') @endpush @section('mainContent')
@if(isset($certificate)) @endif
@if(isset($certificate)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => array('student-certificate-update',$certificate->id), 'method' => 'PUT', 'enctype' => 'multipart/form-data']) }} @else @if(userPermission("student-certificate")) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'student-certificate-store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @endif

@if(isset($certificate)) @lang('admin.edit_certificate') @else @lang('admin.add_certificate') @endif

{{--
@if ($errors->has('certificate_type')) {{ @$errors->first('certificate_type') }} @endif
--}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('header_left_text')) {{ $errors->first('header_left_text') }} @endif
{{ $errors->first('date') }}
@if($errors->has('body')) {{ $errors->first('body') }} @endif
[name] [dob] [present_address] [guardian] [created_at] [admission_no] [roll_no] [gender] [admission_date] [category] [cast] [father_name] [mother_name] [religion] [email] [phone] @if(moduleStatusCheck('University')) [arabic_name] [faculty] [session] [department] [academic] [semester] [semester_label] [graduation_date] @else [class] [section] @endif
@if ($errors->has('body_font_size')) {{ $errors->first('body_font_size') }} @endif
@if($errors->has('body_two')) {{ $errors->first('body_two') }} @endif
[name] [dob] [present_address] [guardian] [created_at] [admission_no] [roll_no] [gender] [admission_date] [category] [cast] [father_name] [mother_name] [religion] [email] [phone] @if(moduleStatusCheck('University')) [arabic_name] [faculty] [session] [department] [academic] [semester] [semester_label] [graduation_date] @else [class] [section] @endif
@if ($errors->has('footer_left_text')) {{ $errors->first('footer_left_text') }} @endif
@if ($errors->has('footer_center_text')) {{ $errors->first('footer_center_text') }} @endif
@if ($errors->has('footer_right_text')) {{ $errors->first('footer_right_text') }} @endif
@if ($errors->has('layout')) {{ $errors->first('layout') }} @endif
@if ($errors->has('height')) {{ $errors->first('height') }} @endif
@if ($errors->has('width')) {{ $errors->first('width') }} @endif

@lang('admin.student_photo')

student_photo == 1? 'checked': ''):'checked'}}>
student_photo == 0? 'checked': ''):''}}>
file):trans('common.image') .' *'): trans('common.image') .' (1100 X 850)px *'}}" readonly>
@php $tooltip = ""; if(userPermission("student-certificate-store")){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('admin.certificate_list')

@foreach($certificates as $certificate) @endforeach
@lang('common.name') @lang('admin.background_image') {{ _trans('common.Default For') }} @lang('common.actions')
{{ @$certificate->name}} @if (@$certificate->file) @endif @lang('common.view') @if(userPermission("student-certificate-edit")) @lang('common.edit') @endif @if(userPermission("student-certificate-edit") && moduleStatusCheck('Lms')) @if(@$certificate->default_for == null) {{_trans('lms.Make Default(Course)')}} {{_trans('lms.Make Default(Quiz)')}} @else {{_trans('lms.Reset Default')}} @endif @endif @if(userPermission("student-certificate-delete")) @lang('common.delete') @endif
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js') @section('script') @endsection