@php use App\Enums\ContractStatus; use App\Enums\InsuranceContractGender; use App\Enums\InsuranceContractType; use App\Enums\InsuranceContractBx01; use App\Enums\InsuranceContractBx09; use App\Enums\InsuranceContractBx11; use App\Enums\InsuranceContractBx02; use App\Enums\InsuranceContractBx03; use App\Enums\InsuranceContractBx04; use App\Enums\InsuranceContractBx05; use App\Enums\InsuranceContractBx06; use App\Enums\InsuranceContractBx07; use App\Enums\InsuranceContractBx08; use App\Enums\InsuranceContractBx14; use App\Enums\InsuranceContractInfoType; use App\Enums\InsuranceContractorOwn; use App\Enums\InsuranceContractKbn; @endphp @if(isset($contractor_information->uuid))
契約者情報
@if(isset($contractor_information->login_id)) @endif @if(isset($contractor_information->name)) @endif @if(isset($contractor_information->xname)) @endif @if(isset($contractor_information->manager)) @endif @if(isset($contractor_information->settlement)) @endif @if(isset($contractor_information->gender) && $contractor_information->gender != '') @endif @if(isset($contractor_information->birthday)) @endif @if(isset($contractor_information->xaddress)) @endif @if(isset($contractor_information->mail)) @endif @if(isset($contractor_information->bx00)) @endif
契約者 No. {{$contractor_information->login_id}}
契約者 氏名 {{$contractor_information->name}}
契約者 ヨミガナ {{$contractor_information->xname}}
役職・代表者名 {{$contractor_information->manager}}
決算月 {{$contractor_information->settlement}}
性別 {{$contractor_information->gender}}
生年月日 {{$contractor_information->birthday}}
住所 {{$contractor_information->post}} {{$contractor_information->xaddress}}
メールアドレス {{$contractor_information->mail}}
お祝いメッセージ {{$contractor_information->bx00}}
@endif @if(isset($contract->id))
保険情報
@if($contract->duration != "") @endif @if(isset($contract->kbn)) @endif @if($contract->own_type) @if($contract->own_type == 'HR00Z5') @else @endif @endif
保険種類 {{\App\Enums\ContractTypeNew::getDescription($contract->type)}}
No. {{$contract->id}}
契約日 {{$contract->date}}
保険会社名 {{$contract->org}}
保険期間 {{$contract->duration}}
保険 {{InsuranceContractKbn::getDescription($contract->kbn)}}
証券番号 {{$contract->code}}
状態 {{ContractStatus::getDescription($contract->status)}}
個人保有法人保有
@endif @if(isset($insurance_contract->target))
対象情報
@if(isset($insurance_contract->target_name)) @endif @if(isset($insurance_contract->birthday)) @endif @if(isset($insurance_contract->vx05)) @endif
対象 {{$insurance_contract->target}}
被保険者 {{$insurance_contract->target_name}}
誕生日 {{$insurance_contract->birthday}}
備考 {{$insurance_contract->vx05}}
@endif @if(isset($insurance_contract->target_xname))
被保険者情報
@if(isset($insurance_contract->target_name)) @endif @if(isset($insurance_contract->gender)) @endif @if(isset($insurance_contract->vx05)) @endif @if(isset($insurance_contract->birthday)) @endif @if(isset($insurance_contract->post)) @endif @if(isset($insurance_contract->xaddress)) @endif @if(isset($insurance_contract->building)) @endif @if(isset($contract->bx00)) @endif @if(isset($contract->it00)) @endif
被保険者 氏名 {{$insurance_contract->target_name}}
被保険者 ヨミガナ {{$insurance_contract->target_xname}}
性別 {{InsuranceContractGender::getDescription($insurance_contract->gender)}}
備考 {{$insurance_contract->vx05}}
誕生日 {{$insurance_contract->birthday}}
郵便番号 {{$insurance_contract->post}}
住所 {{$insurance_contract->xaddress}}
ビル名 {{$insurance_contract->building}}
団体番号 {{$contract->bx00}}
被保険者件数 {{$contract->it00}}
@endif @if(isset($insurance_contract->vx00))
契約内容
@if(isset($insurance_contract->name)) @endif @if(isset($insurance_contract->cc01)) @if($insurance_contract->cc01 == 'Y') @else @endif @endif @if(isset($insurance_contract->bx02)) @endif @if(isset($insurance_contract->bx03)) @endif @if(isset($insurance_contract->db00)) @endif @if(isset($insurance_contract->bx05)) @endif @if(isset($insurance_contract->bx06)) @endif @if(isset($insurance_contract->bx07)) @endif @if(isset($insurance_contract->it01)) @endif @if(isset($insurance_contract->bx08)) @endif @if(isset($insurance_contract->it02)) @endif @if(isset($insurance_contract->vx00)) @endif
保険種類 {{InsuranceContractBx01::getDescription($insurance_contract->bx01)}}
保険名称 {{$insurance_contract->name}}
解約返戻金
配当方法 {{InsuranceContractBx02::getDescription($insurance_contract->bx02)}}
保険料通貨種類 {{$insurance_contract->bx03}}
保険料 {{$insurance_contract->db00}}
払込方法 {{InsuranceContractBx05::getDescription($insurance_contract->bx05)}}
払込経路 {{InsuranceContractBx06::getDescription($insurance_contract->bx06)}}
保険期間 {{InsuranceContractBx07::getDescription($insurance_contract->bx07)}}
保険期間の数値 {{$insurance_contract->it01}}
払込期間 {{InsuranceContractBx08::getDescription($insurance_contract->bx08)}}
払込期間の数値 {{$insurance_contract->it02}}
その他 {{$insurance_contract->vx00}}
@else
基本契約内容
@if(isset($insurance_contract->name)) @endif @if(isset($insurance_contract->db00)) @endif @if(isset($insurance_contract->bx05)) @endif @if(isset($insurance_contract->bx06)) @endif
保険種類 {{InsuranceContractBx01::getDescription($insurance_contract->bx01)}}
保険名秒 {{$insurance_contract->name}}
保険料 {{$insurance_contract->db00}}
払込方法 {{InsuranceContractBx05::getDescription($insurance_contract->bx05)}}
払込経路 {{InsuranceContractBx06::getDescription($insurance_contract->bx06)}}
@endif @if(isset($journal->bx22))
仕訳
@if($journal->bx22 == 'HB1000') @elseif($journal->bx22 == 'HB1001') @elseif($journal->bx22 == 'HB1002') @else @endif @if(isset($journal->bx09)) @endif @if(isset($journal->db01)) @endif @if(isset($journal->bx11)) @endif @if(isset($journal->db02)) @endif @if(isset($journal->vx01)) @endif
割合全額損金養老1/2損金全額資産それ以外
損金通貨種類 {{$journal->bx09}}
損金 {{$journal->db01}}
資産通貨種類 {{$journal->bx11}}
資産 {{$journal->db02}}
備考 {{$journal->vx01}}
@endif @if(isset($insurance_contract->bx14))
主契約
@if(isset($insurance_contract->db03)) @endif
保険金・給付金種別 {{$insurance_contract->bx13}}
基本保険金額通貨種類 {{$insurance_contract->bx14}}
基本保険金額 {{$insurance_contract->db03}}
@else
基本保険金額
@if(isset($insurance_contract->bx13)) @endif @if(isset($insurance_contract->db03)) @endif
保険金・給付金種別 {{$insurance_contract->bx13}}
基本保険金額 {{$insurance_contract->db03}}
@endif @if($insurance_contract_info->payeeInformation != new stdClass() && count($insurance_contract_info->payeeInformation) !== 0) @php $countInformation = ceil(count($insurance_contract_info->payeeInformation)/2); $limit= 2; $n = -2; @endphp
受取人情報
@for($i = 0; $i < $countInformation; $i++) @php $tdNull = false; $n += 2; if ($n < count($insurance_contract_info->payeeInformation)){ if(!isset($insurance_contract_info->payeeInformation[$n+1])){ $payeeInformations = [$insurance_contract_info->payeeInformation[$n]]; $tdNull = true; }else{ $payeeInformations = [$insurance_contract_info->payeeInformation[$n],$insurance_contract_info->payeeInformation[$n+1]]; } } @endphp @php $index = 0; @endphp @foreach($payeeInformations as $payeeInformation) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($payeeInformations as $payeeInformation) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @endfor
保険金・給付金種別{{$payeeInformation->bx01}} 
受取人{{$payeeInformation->vx01}} 

@endif
@if($insurance_contract_info->otherGuarantee != new stdClass() && count($insurance_contract_info->otherGuarantee) !== 0) @php $countGuarantee = ceil(count($insurance_contract_info->otherGuarantee)/2); $n = -2; @endphp
その他保障・特約
@for($i = 0; $i < $countGuarantee; $i++) @php $tdNull = false; $n += 2; if ($n < count($insurance_contract_info->otherGuarantee)){ if(!isset($insurance_contract_info->otherGuarantee[$n+1])){ $otherGuarantees = [$insurance_contract_info->otherGuarantee[$n]]; $tdNull = true; }else{ $otherGuarantees = [$insurance_contract_info->otherGuarantee[$n],$insurance_contract_info->otherGuarantee[$n+1]]; } } @endphp @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherGuarantees as $otherGuarantee) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @endfor
保険金・給付金種別{{$otherGuarantee->bx01}} 
金額通貨種類{{$otherGuarantee->bx02}} 
金額{{$otherGuarantee->db01}} 
保険期間{{InsuranceContractBx07::getDescription($otherGuarantee->bx03)}} 
保険期間の数値{{$otherGuarantee->it01}} 
払込期間{{InsuranceContractBx05::getDescription($otherGuarantee->bx04)}} 
払込期間の数値{{$otherGuarantee->it02}} 

@endif @if(isset($insurance_contract->it03))
最高解約返戻率
@if(isset($insurance_contract->db04)) @endif @if(isset($insurance_contract->vx02)) @endif
経過年数 {{$insurance_contract->it03}}
{{$insurance_contract->db04}}
備考 {{$insurance_contract->vx02}}
@endif @if($insurance_contract_info->otherCompensationContent != new stdClass()) @php $countOtherCompensationContent = ceil(count($insurance_contract_info->otherCompensationContent)/2); $n = -2; $limit = 2; @endphp
その他補償内容
@for($i = 0; $i < $countOtherCompensationContent; $i++) @php $tdNull = false; $n += 2; if ($n < count($insurance_contract_info->otherCompensationContent)){ if(!isset($insurance_contract_info->otherCompensationContent[$n+1])){ $otherCompensationContents = [$insurance_contract_info->otherCompensationContent[$n]]; $tdNull = true; }else{ $otherCompensationContents = [$insurance_contract_info->otherCompensationContent[$n],$insurance_contract_info->otherCompensationContent[$n+1]]; } } @endphp @php $index = 0; @endphp @foreach($otherCompensationContents as $otherCompensationContent) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @php $index = 0; @endphp @foreach($otherCompensationContents as $otherCompensationContent) @if($index < $limit) @php $index ++; @endphp @if($tdNull) @endif @elseif($index === $limit) @php break; @endphp @endif @endforeach @endfor
保険金・給付金種別{{$otherCompensationContent->bx01}} 
基本保険金額{{$otherCompensationContent->db01}} 
@endif @if(isset($insurance_contract->explanation))
解説・アドバイス
@if(isset($insurance_contract->advice)) @endif
加入中保険の解説 {{$insurance_contract->explanation}}
アドバイス {{$insurance_contract->advice}}
@endif @if(isset($insurance_contract->vx03))
その他情報
@if(isset($insurance_contract->memo)) @endif
備考 {{$insurance_contract->vx03}}
メモ {{$insurance_contract->memo}}
@endif