@php
$is_itn_user = @$step_verified_data['is_itn_user'];
$download_link = @$step_verified_data['download_template_link'];
$agreement_content = str_replace("{APP_NAME}", config('app.name'), config('common.agreement_content'));
$dos_program_category_id = @$user->portfolio->dos_program_category_id;
$itn_reg_admin_category = @$user->portfolio->itn_reg_admin_category;
$doc_dw_link = @$step_verified_data['document_download_link'];
$itn_agreement_template = @$step_verified_data['itn_agreement_template'];
$CURRENCY = config('common.currency_code');
$CURRENCY_EURO = config('common.currency_code_euro');
$CURRENCY_SYMBOL = config('common.currency_symbol');
$CURRENCY_SYMBOL_EURO = config('common.currency_symbol_euro');
$j1Interview = $user->interview;
$userGeneral = $user->userGeneral();
$preferred_program_length = $j1Interview->preferred_program_length;
$preferred_program_length_name = "";
if($preferred_program_length <= 5){
$preferred_program_length_name = "Less than 5 months Program Fee";
}elseif($preferred_program_length > 5 && $preferred_program_length <= 8){
$preferred_program_length_name = "5.1 – 8 months Program Fee";
}elseif($preferred_program_length > 8 && $preferred_program_length <= 12){
$preferred_program_length_name = "8.1 – 12 months Program Fee";
}
$registration_fee = @$step_verified_data['itndata']['registration_fee']['fee_amount'];
$currency_type = $currency_type_symbol = $cancellation_fee = "";
$fee_structure = @$step_verified_data['itndata']['fee_structure_detail'];
if(!empty($step_verified_data['itndata']['registration_fee']['fee_amount'])){
$registration_fee = @$step_verified_data['itndata']['registration_fee']['fee_amount']." ".$CURRENCY;
}else{
$registration_fee = 'POSTPONE';
}
$disable_checkbox_image_url = config("app.url")."assets/images/disable_checkbox.png";
$reg_fee_program = " Description Amount Select Program Registration Fee ".$registration_fee." ".$reg_fee_program." Less than 5 months Program Fee Full Payment Option ".$fee_structure['full_payment_amount']+$fee_structure['markup_fee']." ".$currency_type." 5.1 - 8 months Program Fee Full Payment Option ".$fee_structure['full_payment_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$full_select_box." 5.1 - 8 months Program Fee Installment Payment Option ".$fee_structure['initial_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$install_select_box." The Candidate will remit payment every two weeks upon arrival for the duration of the program stated on his/her DS 2019. The Candidate will have to set up an automated payment through his/her American debit/credit card upon arrival in the United States. The Candidate must understand and agree that if he/she stops payment, he/she will be terminated from the J1 Program and will have to return to his/her home country immediately. You will need to clear off your reaming balance in any occasion including withdrawing from the internship program or leaving early. ".$fee_structure['bi_weekly_amount']+$fee_structure['markup_fee']." ".$currency_type." every two weeks 8.1 - 12 months Program Fee Full Payment Option ".$fee_structure['full_payment_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$full_select_box." 8.1 - 12 months Program Fee Installment Payment Option ".$fee_structure['initial_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$install_select_box." The Candidate will remit payment every two weeks upon arrival for the duration of the program stated on his/her DS 2019. The Candidate will have to set up an automated payment through his/her American debit/credit card upon arrival in the United States. The Candidate must understand and agree that if he/she stops payment, he/she will be terminated from the J1 Program and will have to return to his/her home country immediately. You will need to clear off your reaming balance in any occasion including withdrawing from the internship program or leaving early. ".$fee_structure['bi_weekly_amount']+$fee_structure['markup_fee']." ".$currency_type." every two weeks 12.1 - 18 months Program Fee Full Payment Option ".$fee_structure['full_payment_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$full_select_box." 12.1 - 18 months Program Fee Installment Payment Option ".$fee_structure['initial_amount']+$fee_structure['markup_fee']." ".$currency_type." ".$install_select_box." The Second Installment of the Program Fee secures placement and covers the continuance of Form DS 2019 and medical insurance. A payment plan will not be offered to the second installment payment. The Candidate must understand and agree that if he/she does not remit payment, he/she may be terminated from the J-1 Program and will have to return to his/her home country immediately. You will need to clear off your balance in any occasion including early leaving due to withdrawing from the internship program or a termination from a Host Company ".$fee_structure['bi_weekly_amount']+$fee_structure['markup_fee']." ".$currency_type." Due on three months after arrival to the US";
$table_structure = "
";
if(!empty($fee_structure)){
if($fee_structure['currency_type'] == 2){
$currency_type = $CURRENCY_EURO;
$currency_type_symbol = $CURRENCY_SYMBOL_EURO;
}
elseif($fee_structure['currency_type'] == 1){
$currency_type = $CURRENCY;
$currency_type_symbol = $CURRENCY_SYMBOL;
}
$cancellation_fee = $fee_structure['cancellation_fee']." ".$currency_type;
if($fee_structure['program_duration'] == 1){
$table_structure .= "It is non-refundable and non-applicable to the Program Fee. It covers the Service Provider's administrative costs to start the research for a Host Company on behalf of the Candidate. ";
}
if($fee_structure['program_duration'] == 2){
if($fee_structure['payment_plan'] == 1){
$full_select_box = "";
$install_select_box = "";
}
else{
$full_select_box = "";
$install_select_box = "";
}
$table_structure .= "It covers the services described in Article 1.1 and the medical insurance and DS Forms for the duration of the program. ";
$table_structure .= "It covers the services described in Article 1.1 and the medical insurance and DS Forms for the duration of the program. The Candidate will pay the initial deposit for the program before arrival It covers the services described in Article 1.1 ";
}
if($fee_structure['program_duration'] == 3){
if($fee_structure['payment_plan'] == 1){
$full_select_box = "";
$install_select_box = "";
}
else{
$full_select_box = "";
$install_select_box = "";
}
$table_structure .= " ";
$table_structure .= "It covers the services described in Article 1.1 and the medical insurance and DS Forms for the duration of the program. The Candidate will pay the initial deposit for the program before arrival It covers the services described in Article 1.1 ";
}
if($fee_structure['program_duration'] == 4){
if($fee_structure['payment_plan'] == 1){
$full_select_box = "";
$install_select_box = "";
}
else{
$full_select_box = "";
$install_select_box = "";
}
$table_structure .= " ";
$table_structure .= "It covers the services described in Article 1.1 and the medical insurance and DS Forms for the duration of the program. The Candidate will pay the first installment for the program before arrival It covers the services described in Article 1.1 ";
}
}
$table_structure .= "
You will need to sign the agreement in order to continue.
@if($is_step_success == 1)
You can download your agreement using click on
Once Pre-screening interview data found than you can sign the agreement.