@extends('backEnd.master') @section('title') @lang('admin.create_id_card') @endsection @section('mainContent')
@if(isset($id_card)) @if(userPermission(46)) @endif @endif

@if(isset($id_card)) @lang('common.edit') @else @lang('common.add') @endif @lang('admin.id_card')

{{-- @if(isset($id_card)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => array('student-id-card-update',@$id_card->id), 'method' => 'PUT', 'enctype' => 'multipart/form-data']) }} @else --}} @if(userPermission(46)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'store-id-card', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('page_layout_style')) {{ $errors->first('page_layout_style') }} @endif
logo): trans('admin.background').' '.trans('admin.image')):trans('admin.background').' '.trans('admin.image')}}" readonly> @if ($errors->has('background_img')) {{ $errors->first('background_img') }} @endif
@if ($errors->has('applicable_user')) {{ $errors->first('applicable_user') }} @endif

@foreach($roles as $role) @if($role->id != 2 && $role->id != 3)
@endif @endforeach @if($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('pl_width')) {{ $errors->first('pl_width') }} @endif
@if ($errors->has('pl_height')) {{ $errors->first('pl_height') }} @endif
logo): trans('admin.profile').' '.trans('admin.image')):trans('admin.profile').' '.trans('admin.image')}}" readonly> @if ($errors->has('profile_image')) {{ $errors->first('profile_image') }} @endif

@lang('admin.user_photo_style')

@if ($errors->has('user_photo_style')) {{ $errors->first('user_photo_style') }} @endif
@if ($errors->has('user_photo_width')) {{$errors->first('user_photo_width')}} @endif
@if ($errors->has('user_photo_height')) {{ $errors->first('user_photo_height') }} @endif
@lang('admin.layout_spacing')
@if ($errors->has('t_space')) {{ $errors->first('t_space') }} @endif
@if ($errors->has('b_space')) {{ $errors->first('b_space') }} @endif
@if ($errors->has('l_space')) {{ $errors->first('l_space') }} @endif
@if ($errors->has('r_space')) {{ $errors->first('r_space') }} @endif
logo): trans('admin.logo').' *'):trans('admin.logo') .' *'}}" readonly> @if ($errors->has('logo')) {{ $errors->first('logo') }} @endif
{{--
@if ($errors->has('designation')) {{ $errors->first('designation') }} @endif
--}}
signature):trans('admin.signiture').' *'):trans('admin.signiture'). ' *'}}" readonly> @if ($errors->has('signature')) {{ $errors->first('signature') }} @endif
{{--
@if($errors->has('address')) {{ $errors->first('address') }} @endif
--}}

@lang('admin.id')/@lang('student.roll')

admission_no == 1? 'checked': ''):'checked'}}>
admission_no == 0? 'checked': ''):''}}>

@lang('student.student_name')

student_name == 1? 'checked': ''):'checked'}}>
student_name == 0? 'checked': ''):''}}>

@lang('common.class')

class == 1? 'checked': ''):'checked'}}>
class == 0? 'checked': ''):''}}>

@lang('student.father_name')

father_name == 1? 'checked': ''):'checked'}}>
father_name == 0? 'checked': ''):''}}>

@lang('student.mother_name')

mother_name == 1? 'checked': ''):'checked'}}>
mother_name == 0? 'checked': ''):''}}>

@lang('admin.student_address')

student_address == 1? 'checked': ''):'checked'}}>
student_address == 0? 'checked': ''):''}}>
{{--

@lang('common.phone')

phone == 1? 'checked': ''):'checked'}}>
phone == 0? 'checked': ''):''}}>
--}}

@lang('common.date_of_birth')

dob == 1? 'checked': ''):'checked'}}>
dob == 0? 'checked': ''):''}}>

@lang('student.blood_group')

blood == 1? 'checked': ''):'checked'}}>
blood == 0? 'checked': ''):''}}>
@php $tooltip = ""; if(userPermission(46)){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('admin.preview_id_card')

@lang('admin.user_id_card')

{{-- --}}

upedia

Admission No : 001

Class : One (A)

{{--

jan 21. 2030

Date of iSSued

--}}
{{--

upedia

--}}

Father Name : upedia

Mother Name : upedia

Date of Birth : Dec 25 , 2022

Blood Group : B+

{{--

DOB

--}}
{{--

B+

Blood Group

--}}

Al Khuwair, Muscat, Oman

@lang('common.address')

{{-- --}}

upedia

Admission No : 001

Class : One (A)

{{--

JB-007

--}}

DOB : jan 21. 2030

Blood Group : B+

{{--

Date of iSSued

--}}
{{--

@lang('common.name')

--}}

Father Name : upedia

Mother Name : upedia

{{--

DOB

--}}
{{--

American

--}} {{--

Nationality

--}}

Al Khuwair, Muscat, Oman

Address

{{--
--}}
@endsection @push('scripts') @endpush