@extends('backEnd.master') @section('title') @lang('admin.student_certificate') @endsection @push('css') @endpush @section('mainContent') @lang('admin.student_certificate') @lang('common.dashboard') @lang('admin.admin_section') @lang('admin.student_certificate') @if(isset($certificate)) @lang('common.add') @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 {{-- @lang('student.certificate_type') @lang('student.certificate_type') Normal Arabic @if ($errors->has('certificate_type')) {{ @$errors->first('certificate_type') }} @endif --}} @lang('admin.certificate_name') * @if ($errors->has('name')) {{ $errors->first('name') }} @endif @lang('admin.header_left_text') @if ($errors->has('header_left_text')) {{ $errors->first('header_left_text') }} @endif @lang('common.date') {{ $errors->first('date') }} @lang('admin.body_max_character_lenght_500') {{isset($certificate)? $certificate->body: old('body')}} @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 @lang('admin.body_font') @lang('admin.body_font') body_font_family == 'Arial' ? 'selected' : ''):''}} >Arial body_font_family == 'Arial Black' ? 'selected' : '') :''}} >Arial Black body_font_family == 'Pinyon Script' ? 'selected' : '') :''}} >Pinyon Script body_font_family == 'Comic Sans MS' ? 'selected' : '') :''}} >Comic Sans MS @lang('admin.font_size')* @if ($errors->has('body_font_size')) {{ $errors->first('body_font_size') }} @endif @lang('admin.body_two_max_character_lenght_500') {{isset($certificate)? $certificate->body_two: old('body_two')}} @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 @lang('admin.footer_left_text') @if ($errors->has('footer_left_text')) {{ $errors->first('footer_left_text') }} @endif @lang('admin.footer_center_text') @if ($errors->has('footer_center_text')) {{ $errors->first('footer_center_text') }} @endif @lang('admin.footer_right_text') @if ($errors->has('footer_right_text')) {{ $errors->first('footer_right_text') }} @endif {{ _trans('certificate.Page Layout') }} * {{ _trans('certificate.Page Layout') }} * layout == 1 ? 'selected' : '') : '' }}> {{ _trans('certificate.A4 (Portrait)') }} layout == 2 ? 'selected' : '') : '' }}> {{ _trans('certificate.A4 (Landscape)') }} layout == 3 ? 'selected' : '') : '' }}> {{ _trans('certificate.Custom') }} @if ($errors->has('layout')) {{ $errors->first('layout') }} @endif @lang('admin.height') (mm)* @if ($errors->has('height')) {{ $errors->first('height') }} @endif @lang('admin.width') (mm)* @if ($errors->has('width')) {{ $errors->first('width') }} @endif @lang('admin.student_photo') student_photo == 1? 'checked': ''):'checked'}}> @lang('common.yes') student_photo == 0? 'checked': ''):''}}> @lang('common.none') @lang('admin.certificate_no') file):trans('common.image') .' *'): trans('common.image') .' (1100 X 850)px *'}}" readonly> {{ __('common.browse') }} @php $tooltip = ""; if(userPermission("student-certificate-store")){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp @if(isset($certificate)) @lang('admin.update_certificate') @else @lang('admin.save_certificate') @endif {{ Form::close() }} @lang('admin.certificate_list') @lang('common.name') @lang('admin.background_image') {{ _trans('common.Default For') }} @lang('common.actions') @foreach($certificates as $certificate) {{ @$certificate->name}} @if (@$certificate->file) @endif {{ @$certificate->default_for }} @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 @lang('admin.delete_certificate') × @lang('common.are_you_sure_to_delete') @lang('common.cancel') {{ Form::open(['route' => array('student-certificate-delete',@$certificate->id), 'method' => 'DELETE', 'enctype' => 'multipart/form-data']) }} @lang('common.delete') {{ Form::close() }} @lang('admin.view_certificate') × {{ @$certificate->header_left_text}} @lang('admin.date'): {{ @$certificate->date }} {{ @$certificate->body }} @if ( @$certificate->body_two ) {{ @$certificate->body_two }} @endif {{ @$certificate->footer_left_text }} {{ @$certificate->footer_center_text }} {{ @$certificate->footer_right_text }} @endforeach @endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js') @section('script') @endsection
@lang('admin.student_photo')
{{ @$certificate->header_left_text}}
@lang('admin.date'): {{ @$certificate->date }}
{{ @$certificate->body }}
{{ @$certificate->body_two }}