@php use App\Components\SearchQueryComponent; use App\Enums\RefundType; use App\Enums\InsuranceContractBx01; use App\Enums\Service; use App\Enums\InsuranceContractStatus; use App\Models\User; use Carbon\Carbon; // dd($infos->count()); @endphp @extends('layouts.user') @section('content')
解約返戻金一覧

ユーザーID

契約者名

@if ($contractorInfo) {{ $contractorInfo->login_id }} @else 0000000 @endif

@if ($contractorInfo) {{ $contractorInfo->name }} @else 契約者名 @endif

@can('create', [User::class, Service::INSURANCE_LEGAL_SYSTEM_INFORMATION]) @if ($urlPreInsuranceInformation)  新規登録 @endif @endcan
切替
@if ($infos->count() > 0)
@can('update', [User::class, Service::INSURANCE_LEGAL_SYSTEM_INFORMATION]) @endcan @foreach ($infos as $info) @can('update', [User::class, Service::INSURANCE_LEGAL_SYSTEM_INFORMATION]) @endcan {{-- --}} @endforeach
評価日 累計保険料 @if ($request['type'] == RefundType::CORP)
累計資産 @endif
解約受取可能額
返戻率
保険No
@if($userRole != 'HB400' && $userRole != 'HB500') ステータス @endif
契約日
被保険者
証券番号
保険種類
{{ Carbon::parse($info->date)->format('Y-m-d') }} {{ number_format($info->db00? $info->db00 : 0, 0, '', ',') }} 円 @if ($request['type'] == RefundType::CORP)
{{ number_format($info->assets? $info->assets : 0, 0, '', ',') }} 円 @endif
{{ number_format($info->db05? $info->db05 : 0, 0, '', ',') }} 円
{{ $info->db07? $info->db07 : 0 }}%
{{ $info->ic_id }}
@if($userRole != 'HB400' && $userRole != 'HB500') {{ InsuranceContractStatus::getDescription($info->ic_status) }} @endif
{{ Carbon::parse($info->contract_date)->format('Y-m-d') }}
{{ $info->ic_target_name }}
{{ $info->contract_code }}
{{ InsuranceContractBx01::getDescription($info->ic_bx01) }}
{{ $infos->appends(SearchQueryComponent::alterQuery($request))->links('pagination.admin') }}
@else
保険No
ステータス
契約日
被保険者
証券番号
保険種類
評価日 累計保険料 @if ($request['type'] == RefundType::CORP)
累計資産 @endif
解約受取可能額
返戻率
@endif
@endsection