85 lines
5.2 KiB
PHP
85 lines
5.2 KiB
PHP
@extends('layouts.app')
|
||
|
||
@section('content')
|
||
<main>
|
||
<header class="alert alert-success">
|
||
<h4 class="container">契約更新 > 定期契約を更新する</h4>
|
||
</header>
|
||
<section id="" class="container mt30 mb50">
|
||
<div class="col-12 col-md-8 offset-0 offset-md-2 mb30">
|
||
<h3 class="alert-success">現在の契約区分をご確認ください。</h3>
|
||
</div>
|
||
|
||
<div class="col-12 col-lg-6 mb10 subject-radio offset-0 offset-md-3">
|
||
@if(isset($contract) && isset($contract->securityreg_display_flag) && $contract->securityreg_display_flag == 1)
|
||
<p class="text-center">登録している防犯登録番号:{{ $contract->user_securitynum }}</p>
|
||
@endif
|
||
@php
|
||
$usertype = isset($user) && isset($user->user_categoryid) ? DB::table('usertype')->where('user_categoryid', $user->user_categoryid)->first() : null;
|
||
@endphp
|
||
<input type="radio" name="subject1" id="user_categoryid_ippan" value="一般" @if(isset($usertype) && $usertype->usertype_subject1 == '一般') checked @endif disabled>
|
||
<label for="user_categoryid_ippan" class="btn btn-lg btn-block btn-outline-success mb-3">一般</label>
|
||
<input type="radio" name="subject1" id="user_categoryid_gakusei" value="学生" @if(isset($usertype) && $usertype->usertype_subject1 == '学生') checked @endif disabled>
|
||
<label for="user_categoryid_gakusei" class="btn btn-lg btn-block btn-outline-success mb-3">学生</label>
|
||
</div>
|
||
|
||
<div class="col-12 col-md-3 offset-0 offset-md-3">
|
||
<label class="required" for="user_workplace">
|
||
減免
|
||
</label>
|
||
<a class="text-primary" href="#" data-toggle="modal" data-target="#reductionModal">
|
||
<i
|
||
style="display:inline-block;width:1.1em;height:1.1em;line-height:1.1em;text-align:center;border-radius:50%;border:1.2px solid #007bff;color:#007bff;font-style:normal;font-weight:bold;font-size:0.95em;background:#fff;">?</i>
|
||
</a>
|
||
<!-- 減免説明モーダル -->
|
||
<div class="modal fade" id="reductionModal" tabindex="-1" aria-labelledby="reductionModalLabel"
|
||
aria-hidden="true">
|
||
<div class="modal-dialog modal-lg">
|
||
<div class="modal-content">
|
||
<div class="modal-body">
|
||
<div>
|
||
【一般】<br>
|
||
学生以外の利用者の方<br>
|
||
【学生】<br>
|
||
学生の利用者の方<br>
|
||
【減免】<br>
|
||
以下に該当される利用者の方が、減免の対象になる場合があります。<br>
|
||
(例)<br>
|
||
・高齢者の方<br>
|
||
・障がい者の方<br>
|
||
・生活保護を受けられている方<br>
|
||
・中国残留邦人の方<br>
|
||
・児童扶養手当を受給されている方<br>
|
||
詳しくはサポートセンターまでお問い合わせください。<br>
|
||
TEL:03-5856-4720
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">キャンセル</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="d-flex align-items-center mb-2">
|
||
<div class="form-check form-check-inline" style="margin-right: 1.5em;">
|
||
<input class="form-check-input" type="radio" name="subject3" id="yes" value="減免" @if(isset($contract) && $contract->contract_reduction == 1) checked @endif disabled>
|
||
<label class="form-check-label" for="yes" style="color: #000;">はい</label>
|
||
</div>
|
||
<div class="form-check form-check-inline">
|
||
<input class="form-check-input" type="radio" name="subject3" id="no" value="該当なし" @if(!isset($contract) || $contract->contract_reduction != 1) checked @endif disabled>
|
||
<label class="form-check-label" for="no" style="color: #000;">いいえ</label>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="col-12 col-md-6 offset-0 offset-md-3">
|
||
<p>ご登録の区分・減免について変更がある場合は、お手数ですが以下の<br>電話番号までお問い合わせください。</p>
|
||
<p>電話:03-5856-4720<br>毎日14時~21時(年末年始休)</p>
|
||
</div>
|
||
|
||
<div class="col-12 col-md-6 offset-0 offset-md-3">
|
||
<a href="{{ route('regular_contract.confirm_category_next', ['contract_id' => $contract->contract_id]) }}" class="btn btn-lg btn-block btn-success">確認して進む</a>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
@endsection |