@extends('backEnd.master') @section('title') @if (isset($certificate)) @lang('admin.edit_certificate') @else @lang('admin.create_certificate') @endif @endsection @push('css') @endpush @section('mainContent')
@if (isset($certificate)) @endif

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

@if (isset($certificate)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'student-certificate-update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'student-certificate-store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif
@if (moduleStatusCheck('Lms')== True)
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@else @endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('background_height')) {{ $errors->first('background_height') }} @endif
@if ($errors->has('background_width')) {{ $errors->first('background_width') }} @endif
@if ($errors->has('padding_top')) {{ $errors->first('padding_top') }} @endif
@if ($errors->has('padding_right')) {{ $errors->first('padding_right') }} @endif
@if ($errors->has('padding_bottom')) {{ $errors->first('padding_bottom') }} @endif
@if ($errors->has('pading_left')) {{ $errors->first('pading_left') }} @endif
background_image): trans('admin.background_image')):trans('admin.background_image')}}" readonly> @if ($errors->has('background_image')) {{ $errors->first('background_image') }} @endif
@if ($errors->has('applicable_user')) {{ $errors->first('applicable_user') }} @endif
@if($errors->has('body')) {{ $errors->first('body')}} @endif

@lang('communicate.variables') : @if(moduleStatusCheck('University')) [name] [date_of_birth] [present_address] [guardian] [created_at] [admission_no] [roll_no] [faculty] [session] [department] [academic] [semester] [semester_label] [gender] [admission_date] [category] [cast] [father_name] [mother_name] [religion] [email] [phone] @else [name] [date_of_birth] [present_address] [guardian] [created_at] [admission_no] [roll_no] [class] [section] [gender] [admission_date] [category] [cast] [father_name] [mother_name] [religion] [email] [phone], @endif
@lang('admin.use') [profile_image] @lang('admin.variable_for_showing_static_profile_image')

@lang('communicate.variables') : [parent_name] [parent_mobile] [parent_email] [parent_occupation] [parent_address],
@lang('admin.use') [profile_image] @lang('admin.variable_for_showing_static_profile_image')

@lang('communicate.variables') : [staff_name] [dob] [present_address] [date_of_joining] [email] [mobile] [qualification] [experience],
@lang('admin.use') [profile_image] @lang('admin.variable_for_showing_static_profile_image')

@lang('communicate.variables') : [student_name] [course_name] [course_complete_date],
@lang('admin.use') [profile_image] @lang('admin.variable_for_showing_static_profile_image')

{{ Form::close() }}

@lang('admin.preview_cretificate')

@lang('admin.certificate_title')

{!! isset($certificate)? $certificate->body: '' !!}
@endsection @push('scripts') @endpush