@php
use App\Enumerables\Degree;
$version = config('app.version');
$gpaConfigStr = json_encode($gpaConfig ?? '');
@endphp
@extends('account.base', [
'scripts' => [
'laydate'
],
'styles' => [
'laydate'
]
])
@section('title', __('Application Form'))
@section('account_content')
@include('common.no_cache')
@include('account.application_form.application_form_template')
@include('common.modals.contents.notification_modal', [
'id' => 'passportNoError',
'showCloseButton' => true,
'text' => __('Passport number already exists'),
'callbacks' => [
[
'callback' => 'clearPassportInput(this)',
'buttonStyle' => 'light',
'buttonText' => __('Got it')
]
]
])
@include('common.modals.contents.success_modal', [
'id' => 'formSaveConfirmation',
'text' => __('Changes saved successfully.')
])
@include('common.modals.contents.notification_modal', [
'id' => 'formSubmit',
'text' => __('You cannot edit your personal information once it has been submitted'),
'callbacks' => [
[
'callback' => '$(this).parents(\'.custom-modal\').modal(\'hide\');',
'buttonStyle' => 'dark',
'buttonText' => __('Not now-submit')
],
[
'callback' => 'triggerFormSubmission()',
'buttonStyle' => 'light',
'buttonText' => __('Submit')
]
]
])
@include('common.modals.contents.notification_modal', [
'id' => 'formSubmitConfirmation',
'text' => __('Your application form has been submitted, please upload your relevant application documents'),
'callbacks' => [
[
'callback' => 'location.reload();',
'buttonStyle' => 'dark',
'buttonText' => __('Cancel')
],
[
'callback' => 'location.href=\''.route('clientDocument').'\'',
'buttonStyle' => 'light',
'buttonText' => __('Upload Now')
]
]
])
@include('common.modals.contents.notification_modal', [
'id' => 'cancelCardEditor',
'text' => __('The content is not saved, do you want to discard editing?'),
'callbacks' => [
[
'callback' => 'cancelCard();',
'buttonStyle' => 'dark',
'buttonText' => __('Discard editing')
],
[
'callback' => 'closeCanceCardlConfirmation()',
'buttonStyle' => 'light',
'buttonText' => __('Continue editing')
]
]
])
@include('common.modals.contents.notification_modal', [
'id' => 'removeCardConfirmation',
'text' => '确认删除此条信息?',
'callbacks' => [
[
'callback' => 'closeRemoveCardlConfirmation()',
'buttonStyle' => 'dark',
'buttonText' => __('Cancel')
],
[
'callback' => 'removeCardConfirmCallback()',
'buttonStyle' => 'light',
'buttonText' => __('Confirm')
]
]
])
@include('common.modals.contents.success_modal', [
'id' => 'eduAlertModal',
'text' => '至少完善一条教育经历'
])
@endsection