@extends('layouts.app') @section('title') @endsection @section('content')
Apply Post

Registration Application Payment
APPLYING FOR POST

@csrf
@foreach($PostMainValues as $PostMainValue)
@endforeach

@php $PGTPostClass = 'hide'; $TGTPostClass = 'hide'; $LabAssistantPostClass = 'hide'; $LibrarianPostClass = 'hide'; $PGTPostCodeValue = ''; $TGTPostCodeValue = ''; $LAPPostCodeValue = ''; $LibrarianPostCodeValue = ''; if(count($selectedPostType) >0){ $PostCodeBodyDiv = 'PostCodeBodyDiv'; if(in_array(1,$selectedPostType)){ $PGTPostClass = ''; $selectedPostPGTValue = 1; $PGTPostCodeValue = $selectedPostCode[$selectedPostPGTValue]; } if(in_array(2,$selectedPostType)){ $TGTPostClass = ''; $selectedPostTGTValue = 2; $TGTPostCodeValue = $selectedPostCode[$selectedPostTGTValue]; } if(in_array(3,$selectedPostType)){ $LabAssistantPostClass = ''; $selectedPostLAPValue = 3; $LAPPostCodeValue = $selectedPostCode[$selectedPostLAPValue]; } if(in_array(4,$selectedPostType)){ $LibrarianPostClass = ''; $selectedPostLibrarianValue = 4; $LibrarianPostCodeValue = $selectedPostCode[$selectedPostLibrarianValue]; } } @endphp