@extends('layouts/eims_layout') @section('title', '| ' . $pageTitle) @section('content')
Add {{ $pageTitle }}
{!! Form::open([ 'url' => '', 'enctype' => 'multipart/form-data', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'addMarkSheetDesignForm', ]) !!}
{{-- template name --}}
{!! Form::label( 'name', 'Template name: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('name', $value = null, [ 'class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter template name', ]) !!}

@php if ($companyType === 'UNV'){ $principalLabel = 'Chancellor'; }elseif ($companyType === 'SCL'){ $principalLabel = 'Headmaster'; }else{ $principalLabel = 'Principal'; } @endphp {{-- principal_name --}}
{!! Form::label( 'principal_name', $principalLabel .' Name: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('principal_name', $value = null, [ 'class' => 'form-control', 'id' => 'principal_name', 'type' => 'text', 'placeholder' => "Enter $principalLabel name", ]) !!}

{!! Form::checkbox('is_visible_principal_signature_image', '1', false, ['class' => 'form-check-input', 'id' => 'is_visible_principal_signature_image']) !!} {!! Form::label('is_visible_principal_signature_image', "Is Visible $principalLabel Signature", ['class' => 'form-check-label']) !!}
{!! Form::label('', 'Visible Field:', ['class' => 'control-label']) !!}
{!! Form::checkbox('is_visible_watermark', '1', false, ['class' => 'form-check-input', 'id' => 'is_visible_watermark']) !!} {!! Form::label('is_visible_watermark', 'Watermark', ['class' => 'form-check-label']) !!}
{!! Form::checkbox('is_visible_logo_image', '1', false, ['class' => 'form-check-input', 'id' => 'is_visible_logo_image']) !!} {!! Form::label('is_visible_logo_image', 'Logo Image', ['class' => 'form-check-label']) !!}
{!! Form::checkbox('is_visible_background_image', '1', false, ['class' => 'form-check-input', 'id' => 'is_visible_background_image']) !!} {!! Form::label('is_visible_background_image', 'Background Image', ['class' => 'form-check-label']) !!}
{{-- principal_signature_image --}}
Signature Image

{{$principalLabel}} Signature Image

{!! Form::file('principal_signature_image', [ 'class' => 'hidden', 'id' => 'principal_signature_image', 'type' => 'file', 'accept' => 'image/jpeg, image/png, image/jpg', 'autocomplete' => 'off', ]) !!}
{{-- logo_image --}}
Logo Image

Logo Image

{!! Form::file('logo_image', [ 'class' => 'hidden', 'id' => 'logo_image', 'type' => 'file', 'accept' => 'image/jpeg, image/png, image/jpg', 'autocomplete' => 'off', ]) !!}
{{-- background_image --}}
Student Photo

Background Image

{!! Form::file('background_image', [ 'class' => 'hidden', 'id' => 'background_image', 'type' => 'file', 'accept' => 'image/jpeg, image/png, image/jpg', ]) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection