This commit is contained in:
parent
5360589d37
commit
5dc60e0583
@ -30,14 +30,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{-- 会員ID --}}
|
{{-- 会員ID
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">会員ID <span class="text-danger">*</span></label>
|
<label class="col-md-2 col-form-label">会員ID <span class="text-danger">*</span></label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="member_id" class="form-control form-control-sm"
|
<input type="text" name="member_id" class="form-control form-control-sm"
|
||||||
value="{{ $value('member_id') }}" placeholder="会員ID">
|
value="{{ $value('member_id') }}" placeholder="会員ID">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>--}}
|
||||||
|
|
||||||
{{-- パスワード --}}
|
{{-- パスワード --}}
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
@ -164,16 +164,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
{{--<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">居場所通知用QRID</label>
|
<label class="col-md-2 col-form-label">居場所通知用QRID</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="user_place_qrid" value="{{ old('user_place_qrid') }}" class="form-control">
|
<input type="text" name="user_place_qrid" value="{{ old('user_place_qrid') }}" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
</div>--}}
|
||||||
|
|
||||||
|
{{-- 利用者分類 --}}
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">分類名1(一般、学生)</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{-- 利用者属性 --}}
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">利用者分類ID</label>
|
<label class="col-md-2 col-form-label">分類名2(区民、非区民)</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">分類名3(減免種別)</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
@ -197,6 +211,74 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{-- 性別 --}}
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">性別</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="radio"
|
||||||
|
name="user_gender"
|
||||||
|
id="gender_male"
|
||||||
|
value="1"
|
||||||
|
{{ $value('user_gender') === '1' ? 'checked' : '' }}>
|
||||||
|
<label class="form-check-label" for="gender_male">男</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="radio"
|
||||||
|
name="user_gender"
|
||||||
|
id="gender_female"
|
||||||
|
value="2"
|
||||||
|
{{ $value('user_gender') === '2' ? 'checked' : '' }}>
|
||||||
|
<label class="form-check-label" for="gender_female">女</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="radio"
|
||||||
|
name="user_gender"
|
||||||
|
id="gender_unknown"
|
||||||
|
value="0"
|
||||||
|
{{ $value('user_gender') === '0' || $value('user_gender') === null ? 'checked' : '' }}>
|
||||||
|
<label class="form-check-label" for="gender_unknown">未入力</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{-- 生年月日 --}}
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">生年月日</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="date" name="user_birthdate" class="form-control form-control-sm"
|
||||||
|
value="{{ $value('user_birthdate') }}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{-- 年齢 --}}
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">年齢</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
|
||||||
|
@php
|
||||||
|
$age = null;
|
||||||
|
if ($value('user_birthdate')) {
|
||||||
|
$age = \Carbon\Carbon::parse($value('user_birthdate'))
|
||||||
|
->age;
|
||||||
|
}
|
||||||
|
@endphp
|
||||||
|
|
||||||
|
<input type="text"
|
||||||
|
class="form-control form-control-sm"
|
||||||
|
value="{{ $age !== null ? $age : '' }}"
|
||||||
|
readonly>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{-- 自宅電話番号 --}}
|
{{-- 自宅電話番号 --}}
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">自宅電話番号</label>
|
<label class="col-md-2 col-form-label">自宅電話番号</label>
|
||||||
@ -298,16 +380,20 @@
|
|||||||
<label class="col-md-2 col-form-label">区民</label>
|
<label class="col-md-2 col-form-label">区民</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<select name="ward_residents" class="form-control form-control-sm">
|
<select name="ward_residents" class="form-control form-control-sm">
|
||||||
<option value="1" {{ $value('ward_residents') == 1 ? 'selected' : '' }}>
|
<option value="1"
|
||||||
区民
|
{{ old('ward_residents', $value('ward_residents')) == 1 ? 'selected' : '' }}>
|
||||||
|
居民
|
||||||
</option>
|
</option>
|
||||||
<option value="0" {{ $value('ward_residents') == 0 ? 'selected' : '' }}>
|
|
||||||
非区民
|
<option value="0"
|
||||||
|
{{ old('ward_residents', $value('ward_residents')) == 0 ? 'selected' : '' }}>
|
||||||
|
非居民
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{-- 勤務先 --}}
|
{{-- 勤務先 --}}
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">勤務先</label>
|
<label class="col-md-2 col-form-label">勤務先</label>
|
||||||
@ -335,6 +421,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{-- 本人確認書類 --}}
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">本人確認書類</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_idcard" class="form-control form-control-sm"
|
||||||
|
value="{{ $value('user_idcard') }}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{-- 本人確認チェック済(5状態) --}}
|
{{-- 本人確認チェック済(5状態) --}}
|
||||||
@php
|
@php
|
||||||
$options = [
|
$options = [
|
||||||
@ -503,6 +598,69 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者氏名</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者フリガナ</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者生年月日</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者住所</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者電話番号</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者予備電話番号</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者メールアドレス</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">通知方法</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">個人情報同意フラグ</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<button type="button" class="btn btn-success" id="register_edit">登録</button>
|
<button type="button" class="btn btn-success" id="register_edit">登録</button>
|
||||||
|
|
||||||
|
|||||||
@ -45,13 +45,13 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
||||||
{{-- ▼ 1列レイアウト(ラベル左 / 入力右) --}}
|
{{-- ▼ 1列レイアウト(ラベル左 / 入力右) --}}
|
||||||
<div class="form-group row">
|
{{--<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">会員ID <span class="text-danger">*</span></label>
|
<label class="col-md-2 col-form-label">会員ID <span class="text-danger">*</span></label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="user_id" value="{{ old('user_id') }}" class="form-control"
|
<input type="text" name="user_id" value="{{ old('user_id') }}" class="form-control"
|
||||||
placeholder="会員ID">
|
placeholder="会員ID">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>--}}
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">パスワード</label>
|
<label class="col-md-2 col-form-label">パスワード</label>
|
||||||
@ -199,16 +199,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
{{-- <div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">居場所通知用QRID</label>
|
<label class="col-md-2 col-form-label">居場所通知用QRID</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="user_place_qrid" value="{{ old('user_place_qrid') }}" class="form-control">
|
<input type="text" name="user_place_qrid" value="{{ old('user_place_qrid') }}" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>--}}
|
||||||
|
|
||||||
{{-- 利用者属性 --}}
|
{{-- 利用者属性 --}}
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">利用者分類ID</label>
|
<label class="col-md-2 col-form-label">分類名1(一般、学生)</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">分類名2(区民、非区民)</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">分類名3(減免種別)</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
<input type="text" name="user_categoryid" value="{{ old('user_categoryid') }}" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
@ -349,18 +363,9 @@
|
|||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">区民</label>
|
<label class="col-md-2 col-form-label">区民</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<select name="ward_residents" class="form-control">
|
<input type="text" name="ward_residents" value="{{ old('ward_residents') }}" class="form-control">
|
||||||
<option value="">-- 选择 --</option>
|
|
||||||
<option value="1" {{ old('ward_residents') == '1' ? 'selected' : '' }}>
|
|
||||||
区民
|
|
||||||
</option>
|
|
||||||
<option value="0" {{ old('ward_residents') == '0' ? 'selected' : '' }}>
|
|
||||||
非区民
|
|
||||||
</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-2 col-form-label">勤務先</label>
|
<label class="col-md-2 col-form-label">勤務先</label>
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
@ -532,6 +537,70 @@
|
|||||||
<textarea name="user_remarks" rows="4" class="form-control">{{ old('user_remarks') }}</textarea>
|
<textarea name="user_remarks" rows="4" class="form-control">{{ old('user_remarks') }}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者氏名</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者フリガナ</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者生年月日</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者住所</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者電話番号</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者予備電話番号</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">親権者メールアドレス</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">通知方法</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-2 col-form-label">個人情報同意フラグ</label>
|
||||||
|
<div class="col-md-10">
|
||||||
|
<input type="text" name="user_chk_opeid" value="{{ old('user_chk_opeid') }}" class="form-control">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn btn-success register">登録</button>
|
<button type="submit" class="btn btn-success register">登録</button>
|
||||||
<a href="{{ route('users', keepUserListQuery()) }}"class="btn btn-secondary">戻る</a>
|
<a href="{{ route('users', keepUserListQuery()) }}"class="btn btn-secondary">戻る</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -303,7 +303,16 @@
|
|||||||
<th style="width:150px;">本人確認チェック済</th>
|
<th style="width:150px;">本人確認チェック済</th>
|
||||||
<th style="width:160px;">本人確認日時</th>
|
<th style="width:160px;">本人確認日時</th>
|
||||||
<th style="width:110px;">退会フラグ</th>
|
<th style="width:110px;">退会フラグ</th>
|
||||||
<th style="width:140px;">退会日</th>
|
<th style="width:110px;">退会日</th>
|
||||||
|
<th style="width:140px;">親権者氏名</th>
|
||||||
|
<th style="width:140px;">親権者フリガナ</th>
|
||||||
|
<th style="width:140px;">親権者生年月日</th>
|
||||||
|
<th style="width:140px;">親権者住所</th>
|
||||||
|
<th style="width:140px;">親権者電話番号</th>
|
||||||
|
<th style="width:140px;">親権者予備電話番号</th>
|
||||||
|
<th style="width:140px;">親権者メールアドレス</th>
|
||||||
|
<th style="width:140px;">通知方法</th>
|
||||||
|
<th style="width:140px;">個人情報同意フラグ</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -355,6 +364,15 @@
|
|||||||
<td>{{ $item->user_quit_flag ? 'はい' : 'いいえ' }}</td>
|
<td>{{ $item->user_quit_flag ? 'はい' : 'いいえ' }}</td>
|
||||||
<td>{{ $item->user_quitday ? \Illuminate\Support\Str::limit($item->user_quitday, 10, '') : '' }}
|
<td>{{ $item->user_quitday ? \Illuminate\Support\Str::limit($item->user_quitday, 10, '') : '' }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
|
<td>{{ '' }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@empty
|
@empty
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -154,7 +154,8 @@
|
|||||||
<aside class="main-sidebar sidebar-dark-primary bg-success elevation-4">
|
<aside class="main-sidebar sidebar-dark-primary bg-success elevation-4">
|
||||||
<!-- Brand Logo -->
|
<!-- Brand Logo -->
|
||||||
<a href="/home" class="brand-link">
|
<a href="/home" class="brand-link">
|
||||||
<img src="{{asset('assets/img/so-rin_logo.png')}}" alt="Logo" class="brand-image" style="opacity: .8">
|
<img src="{{ asset('assets/img/so-rin_logo.png') }}" alt="Logo" class="brand-image"
|
||||||
|
style="opacity: .8">
|
||||||
<span class="brand-text font-weight-light">So-Manager</span>
|
<span class="brand-text font-weight-light">So-Manager</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
@ -192,17 +193,20 @@
|
|||||||
// 現在のページが属する city_id を判定
|
// 現在のページが属する city_id を判定
|
||||||
// 1. ルートパラメータから city_id を取得(city_dashboard など)
|
// 1. ルートパラメータから city_id を取得(city_dashboard など)
|
||||||
// 2. ない場合は、visibleCities の最初の city_id を使用(非ソーリンユーザーは1つのみ)
|
// 2. ない場合は、visibleCities の最初の city_id を使用(非ソーリンユーザーは1つのみ)
|
||||||
$currentCityId = request()->route('city_id') ?? ($visibleCities->first()?->city_id ?? null);
|
$currentCityId =
|
||||||
|
request()->route('city_id') ?? ($visibleCities->first()?->city_id ?? null);
|
||||||
|
|
||||||
// 現在のページが都市管理ページか通常ページかを判定
|
// 現在のページが都市管理ページか通常ページかを判定
|
||||||
$isCityRoute = request()->routeIs('city_dashboard') || str_contains(request()->url(), '/city/');
|
$isCityRoute =
|
||||||
|
request()->routeIs('city_dashboard') ||
|
||||||
|
str_contains(request()->url(), '/city/');
|
||||||
|
|
||||||
// 現在のルート名を取得(ハイライト判定用)
|
// 現在のルート名を取得(ハイライト判定用)
|
||||||
$currentRoute = app('router')->currentRouteName();
|
$currentRoute = app('router')->currentRouteName();
|
||||||
|
|
||||||
// 非ソーリンユーザーが閲覧可能なページのルート名
|
// 非ソーリンユーザーが閲覧可能なページのルート名
|
||||||
$visibleRoutes = [
|
$visibleRoutes = [
|
||||||
'dashboard', // 総合ダッシュボード
|
'city_dashboard', // 自治体ダッシュボード
|
||||||
'information', // 常時表示インフォメーション
|
'information', // 常時表示インフォメーション
|
||||||
'tagissue', // タグ発行キュー処理、履歴表示
|
'tagissue', // タグ発行キュー処理、履歴表示
|
||||||
'seals', // シール発行履歴
|
'seals', // シール発行履歴
|
||||||
@ -222,64 +226,86 @@
|
|||||||
'pricelist', // 料金一覧表
|
'pricelist', // 料金一覧表
|
||||||
'prices', // 駐輪場所、料金マスタ
|
'prices', // 駐輪場所、料金マスタ
|
||||||
'psections', // 車種区分マスタ
|
'psections', // 車種区分マスタ
|
||||||
'city_dashboard', // 自治体ダッシュボード
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$paymentRoutes = ['tax', 'payments', 'settlement_transactions'];
|
||||||
|
$systemRoutes = ['opes', 'devices', 'operator_ques', 'settings', 'mail_templates'];
|
||||||
|
$masterRoutes = ['inv_settings'];
|
||||||
|
$current = app('router')->currentRouteName();
|
||||||
|
|
||||||
@endphp
|
@endphp
|
||||||
<li class="nav-item has-treeview menu-open">
|
<li class="nav-item has-treeview menu-open">
|
||||||
<a href="#" class="nav-link active">
|
<a href="#" class="nav-link active">
|
||||||
<i class="nav-icon fa fa-map-marker"></i>
|
<i class="nav-icon fa fa-map-marker"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("運営元メニュー") }}
|
{{ __('運営元メニュー') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="display: block;">
|
<ul class="nav nav-treeview" style="display: block;">
|
||||||
@foreach ($visibleCities as $city)
|
@foreach ($visibleCities as $city)
|
||||||
<li class="nav-item has-treeview @if($currentCityId == $city->city_id) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if($currentCityId == $city->city_id) active @endif">
|
class="nav-item has-treeview @if ($currentCityId == $city->city_id) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if ($currentCityId == $city->city_id) active @endif">
|
||||||
<i class="nav-icon fa fa-building-o"></i>
|
<i class="nav-icon fa fa-building-o"></i>
|
||||||
<span style="margin-left:10px;">{{ $city->city_name }}</span>
|
<span style="margin-left:10px;">{{ $city->city_name }}</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="display: @if($currentCityId == $city->city_id) block @else none @endif; margin-left: 20px;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="display: @if ($currentCityId == $city->city_id) block @else none @endif; margin-left: 20px;">
|
||||||
<!-- ホーム -->
|
<!-- ホーム -->
|
||||||
<li class="nav-item has-treeview @if(in_array($currentRoute, ['dashboard', 'information'])) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if(in_array($currentRoute, ['dashboard', 'information'])) active @endif">
|
class="nav-item has-treeview @if (in_array($currentRoute, ['dashboard', 'information'])) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($currentRoute, ['dashboard', 'information'])) active @endif">
|
||||||
<i class="nav-icon fa fa-home"></i>
|
<i class="nav-icon fa fa-home"></i>
|
||||||
<p>
|
<p>
|
||||||
ホーム
|
ホーム
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 20px; display: @if(in_array($currentRoute, ['dashboard', 'information'])) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 20px; display: @if (in_array($currentRoute, ['dashboard', 'information'])) block @else none @endif;">
|
||||||
|
<!-- ダッシュボード -->
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('dashboard') }}" class="nav-link {{ $currentRoute === 'dashboard' ? 'active' : '' }}">
|
<a href="{{ route('city_dashboard', ['city_id' => $city->city_id]) }}"
|
||||||
<span style="margin-left:20px;">総合ダッシュボード</span>
|
class="nav-link {{ $currentRoute === 'city_dashboard' && $currentCityId == $city->city_id ? 'active' : '' }}">
|
||||||
|
|
||||||
|
<span style="margin-left:20px;">ダッシュボード</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('information') }}" class="nav-link {{ $currentRoute === 'information' ? 'active' : '' }}">
|
<a href="{{ route('information') }}"
|
||||||
<span style="margin-left:20px;">常時表示インフォメーション</span>
|
class="nav-link {{ $currentRoute === 'information' ? 'active' : '' }}">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">常時表示インフォメーション</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- タグ・シール管理 -->
|
<!-- タグ・シール管理 -->
|
||||||
<li class="nav-item has-treeview @if(in_array($currentRoute, ['tagissue', 'seals'])) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if(in_array($currentRoute, ['tagissue', 'seals'])) active @endif">
|
class="nav-item has-treeview @if (in_array($currentRoute, ['tagissue', 'seals'])) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($currentRoute, ['tagissue', 'seals'])) active @endif">
|
||||||
<i class="nav-icon fa fa-repeat"></i>
|
<i class="nav-icon fa fa-repeat"></i>
|
||||||
<span style="margin-left:10px;">タグ・シール管理</span>
|
<span style="margin-left:10px;">タグ・シール管理</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if(in_array($currentRoute, ['tagissue', 'seals'])) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if (in_array($currentRoute, ['tagissue', 'seals'])) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('tagissue', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'tagissue' ? 'active' : '' }}">
|
<a href="{{ route('tagissue', ['city_id' => $city->city_id]) }}"
|
||||||
<span style="margin-left:20px;">タグ発行キュー処理、履歴表示</span>
|
class="nav-link {{ $currentRoute === 'tagissue' ? 'active' : '' }}">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">タグ発行キュー処理、履歴表示</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('seals', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'seals' ? 'active' : '' }}">
|
<a href="{{ route('seals', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'seals' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">シール発行履歴</span>
|
<span style="margin-left:20px;">シール発行履歴</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -288,47 +314,65 @@
|
|||||||
|
|
||||||
<!-- 定期駐輪管理 -->
|
<!-- 定期駐輪管理 -->
|
||||||
@php
|
@php
|
||||||
$parkingRoutes = ['periodical', 'contractor', 'contractor_List', 'update_candidate', 'reservation', 'personal', 'using_status'];
|
$parkingRoutes = [
|
||||||
|
'periodical',
|
||||||
|
'contractor',
|
||||||
|
'contractor_List',
|
||||||
|
'update_candidate',
|
||||||
|
'reservation',
|
||||||
|
'personal',
|
||||||
|
'using_status',
|
||||||
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<li class="nav-item has-treeview @if(in_array($currentRoute, $parkingRoutes)) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if(in_array($currentRoute, $parkingRoutes)) active @endif">
|
class="nav-item has-treeview @if (in_array($currentRoute, $parkingRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($currentRoute, $parkingRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-repeat"></i>
|
<i class="nav-icon fa fa-repeat"></i>
|
||||||
<span style="margin-left:10px;">定期駐輪管理</span>
|
<span style="margin-left:10px;">定期駐輪管理</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if(in_array($currentRoute, $parkingRoutes)) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if (in_array($currentRoute, $parkingRoutes)) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('periodical', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'periodical' ? 'active' : '' }}">
|
<a href="{{ route('periodical', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'periodical' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">定期利用・契約状況</span>
|
<span style="margin-left:20px;">定期利用・契約状況</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('contractor', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'contractor' ? 'active' : '' }}">
|
<a href="{{ route('contractor', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'contractor' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">契約者一覧</span>
|
<span style="margin-left:20px;">契約者一覧</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('contractor_List', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'contractor_List' ? 'active' : '' }}">
|
<a href="{{ route('contractor_List', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'contractor_List' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">未更新者一覧</span>
|
<span style="margin-left:20px;">未更新者一覧</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('update_candidate', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'update_candidate' ? 'active' : '' }}">
|
<a href="{{ route('update_candidate', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'update_candidate' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">更新予定者一覧</span>
|
<span style="margin-left:20px;">更新予定者一覧</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('reservation', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'reservation' ? 'active' : '' }}">
|
<a href="{{ route('reservation', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'reservation' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">予約者一覧</span>
|
<span style="margin-left:20px;">予約者一覧</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('personal', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'personal' ? 'active' : '' }}">
|
<a href="{{ route('personal', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'personal' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">本人確認手動処理</span>
|
<span style="margin-left:20px;">本人確認手動処理</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('using_status', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'using_status' ? 'active' : '' }}">
|
<a href="{{ route('using_status', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'using_status' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">区画別利用率状況</span>
|
<span style="margin-left:20px;">区画別利用率状況</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -336,15 +380,19 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- 集計業務 -->
|
<!-- 集計業務 -->
|
||||||
<li class="nav-item has-treeview @if($currentRoute === 'news') menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if($currentRoute === 'news') active @endif">
|
class="nav-item has-treeview @if ($currentRoute === 'news') menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if ($currentRoute === 'news') active @endif">
|
||||||
<i class="nav-icon fa fa-calculator"></i>
|
<i class="nav-icon fa fa-calculator"></i>
|
||||||
<span style="margin-left:10px;">集計業務</span>
|
<span style="margin-left:10px;">集計業務</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if($currentRoute === 'news') block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if ($currentRoute === 'news') block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('news', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'news' ? 'active' : '' }}">
|
<a href="{{ route('news', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'news' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">一時売り上げ入力</span>
|
<span style="margin-left:20px;">一時売り上げ入力</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -352,15 +400,19 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- 一般ウェブ管理 -->
|
<!-- 一般ウェブ管理 -->
|
||||||
<li class="nav-item has-treeview @if($currentRoute === 'news') menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if($currentRoute === 'news') active @endif">
|
class="nav-item has-treeview @if ($currentRoute === 'news') menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if ($currentRoute === 'news') active @endif">
|
||||||
<i class="nav-icon fa fa-dashboard"></i>
|
<i class="nav-icon fa fa-dashboard"></i>
|
||||||
<span style="margin-left:10px;">一般ウェブ管理</span>
|
<span style="margin-left:10px;">一般ウェブ管理</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if($currentRoute === 'news') block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if ($currentRoute === 'news') block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('news', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'news' ? 'active' : '' }}">
|
<a href="{{ route('news', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'news' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">最新ニュース登録</span>
|
<span style="margin-left:20px;">最新ニュース登録</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -369,32 +421,44 @@
|
|||||||
|
|
||||||
<!-- 利用者マスタ -->
|
<!-- 利用者マスタ -->
|
||||||
@php
|
@php
|
||||||
$userRoutes = ['users', 'regularcontracts', 'reserves', 'usertypes'];
|
$userRoutes = [
|
||||||
|
'users',
|
||||||
|
'regularcontracts',
|
||||||
|
'reserves',
|
||||||
|
'usertypes',
|
||||||
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<li class="nav-item has-treeview @if(in_array($currentRoute, $userRoutes)) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if(in_array($currentRoute, $userRoutes)) active @endif">
|
class="nav-item has-treeview @if (in_array($currentRoute, $userRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($currentRoute, $userRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-dashboard"></i>
|
<i class="nav-icon fa fa-dashboard"></i>
|
||||||
<span style="margin-left:10px;">利用者マスタ</span>
|
<span style="margin-left:10px;">利用者マスタ</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if(in_array($currentRoute, $userRoutes)) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if (in_array($currentRoute, $userRoutes)) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('users', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'users' ? 'active' : '' }}">
|
<a href="{{ route('users', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'users' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">利用者マスタ</span>
|
<span style="margin-left:20px;">利用者マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('regularcontracts', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'regularcontracts' ? 'active' : '' }}">
|
<a href="{{ route('regularcontracts', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'regularcontracts' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">定期契約マスタ</span>
|
<span style="margin-left:20px;">定期契約マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('reserves', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'reserves' ? 'active' : '' }}">
|
<a href="{{ route('reserves', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'reserves' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">定期予約マスタ</span>
|
<span style="margin-left:20px;">定期予約マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('usertypes', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'usertypes' ? 'active' : '' }}">
|
<a href="{{ route('usertypes', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'usertypes' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">利用者分類マスタ</span>
|
<span style="margin-left:20px;">利用者分類マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -405,44 +469,155 @@
|
|||||||
@php
|
@php
|
||||||
$priceRoutes = ['parks', 'pricelist', 'prices', 'psections'];
|
$priceRoutes = ['parks', 'pricelist', 'prices', 'psections'];
|
||||||
@endphp
|
@endphp
|
||||||
<li class="nav-item has-treeview @if(in_array($currentRoute, $priceRoutes)) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if(in_array($currentRoute, $priceRoutes)) active @endif">
|
class="nav-item has-treeview @if (in_array($currentRoute, $priceRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($currentRoute, $priceRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-th"></i>
|
<i class="nav-icon fa fa-th"></i>
|
||||||
<span style="margin-left:10px;">駐輪場マスタ</span>
|
<span style="margin-left:10px;">駐輪場マスタ</span>
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="margin-left: 40px; display: @if(in_array($currentRoute, $priceRoutes)) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="margin-left: 40px; display: @if (in_array($currentRoute, $priceRoutes)) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('parks', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'parks' ? 'active' : '' }}">
|
<a href="{{ route('parks', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'parks' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">駐輪場マスタ</span>
|
<span style="margin-left:20px;">駐輪場マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('pricelist', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'pricelist' ? 'active' : '' }}">
|
<a href="{{ route('pricelist', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'pricelist' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">料金一覧表</span>
|
<span style="margin-left:20px;">料金一覧表</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('prices', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'prices' ? 'active' : '' }}">
|
<a href="{{ route('prices', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'prices' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">駐輪場所、料金マスタ</span>
|
<span style="margin-left:20px;">駐輪場所、料金マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('psections', ['city_id' => $city->city_id]) }}" class="nav-link {{ $currentRoute === 'psections' ? 'active' : '' }}">
|
<a href="{{ route('psections', ['city_id' => $city->city_id]) }}"
|
||||||
|
class="nav-link {{ $currentRoute === 'psections' ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">車種区分マスタ</span>
|
<span style="margin-left:20px;">車種区分マスタ</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<!-- 決済マスタ -->
|
||||||
<!-- ダッシュボード -->
|
<li
|
||||||
|
class="nav-item has-treeview @if (in_array($current, $paymentRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($current, $paymentRoutes)) active @endif">
|
||||||
|
<i class="nav-icon fa fa-crop"></i>
|
||||||
|
<p>
|
||||||
|
{{ __('決済マスタ') }}
|
||||||
|
<i class="right fa fa-angle-down"></i>
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
<ul class="nav nav-treeview"
|
||||||
|
style="display: @if (in_array($current, $paymentRoutes)) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('city_dashboard', ['city_id' => $city->city_id]) }}"
|
<a href="{{ route('tax') }}"
|
||||||
class="nav-link {{ $currentRoute === 'city_dashboard' && $currentCityId == $city->city_id ? 'active' : '' }}">
|
class="nav-link @if ($current === 'tax') active @endif">
|
||||||
<i class="nav-icon fa fa-dashboard"></i>
|
<span
|
||||||
<span style="margin-left:10px;">ダッシュボード</span>
|
style="margin-left:20px;">{{ __('消費税マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('payments') }}"
|
||||||
|
class="nav-link @if ($current === 'payments') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('決済情報マスタ') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('settlement_transactions') }}"
|
||||||
|
class="nav-link @if ($current === 'settlement_transactions') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('決済トランザクション') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!-- システムマスタ -->
|
||||||
|
<li
|
||||||
|
class="nav-item has-treeview @if (in_array($current, $systemRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($current, $systemRoutes)) active @endif">
|
||||||
|
<i class="nav-icon fa fa-cogs"></i>
|
||||||
|
<p>
|
||||||
|
{{ __('システムマスタ') }}
|
||||||
|
<i class="right fa fa-angle-down"></i>
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
<ul class="nav nav-treeview"
|
||||||
|
style="display: @if (in_array($current, $systemRoutes)) block @else none @endif;">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('opes') }}"
|
||||||
|
class="nav-link @if ($current === 'opes') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('オペレータマスタ') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('devices') }}"
|
||||||
|
class="nav-link @if ($current === 'devices') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('デバイス管理マスタ') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('operator_ques') }}"
|
||||||
|
class="nav-link @if ($current === 'operator_ques') active @endif">
|
||||||
|
<i class="nav-icon"></i>
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('オペレータキュー') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('settings') }}"
|
||||||
|
class="nav-link @if ($current === 'settings') active @endif">
|
||||||
|
<i class="nav-icon"></i>
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('設定マスタ') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('mail_templates') }}"
|
||||||
|
class="nav-link @if ($current === 'mail_templates') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('メール送信テンプレート') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!-- マスタ管理 -->
|
||||||
|
<li
|
||||||
|
class="nav-item has-treeview @if (in_array($current, $masterRoutes)) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($current, $masterRoutes)) active @endif">
|
||||||
|
<i class="nav-icon fa fa-object-group"></i>
|
||||||
|
<p>
|
||||||
|
{{ __('マスタ管理') }}
|
||||||
|
<i class="right fa fa-angle-down"></i>
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
<ul class="nav nav-treeview"
|
||||||
|
style="display: @if (in_array($current, $masterRoutes)) block @else none @endif;">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{{ route('inv_settings') }}"
|
||||||
|
class="nav-link @if ($current === 'inv_settings') active @endif">
|
||||||
|
<span
|
||||||
|
style="margin-left:20px;">{{ __('インボイス設定') }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -453,8 +628,10 @@
|
|||||||
<!-- ソーリンユーザー用: 元のメニュー構造を維持 -->
|
<!-- ソーリンユーザー用: 元のメニュー構造を維持 -->
|
||||||
<!-- OU START -->
|
<!-- OU START -->
|
||||||
<!-- ホーム(親) -->
|
<!-- ホーム(親) -->
|
||||||
<li class="nav-item has-treeview {{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'menu-open' : '' }}">
|
<li
|
||||||
<a href="#" class="nav-link {{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'active' : '' }}">
|
class="nav-item has-treeview {{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'menu-open' : '' }}">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link {{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'active' : '' }}">
|
||||||
<i class="nav-icon fa fa-home"></i>
|
<i class="nav-icon fa fa-home"></i>
|
||||||
<p>
|
<p>
|
||||||
ホーム
|
ホーム
|
||||||
@ -464,7 +641,8 @@
|
|||||||
<ul class="nav nav-treeview"
|
<ul class="nav nav-treeview"
|
||||||
style="{{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'display:block;' : 'display:none;' }}">
|
style="{{ request()->routeIs('information') || request()->routeIs('dashboard') ? 'display:block;' : 'display:none;' }}">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('dashboard') }}" class="nav-link {{ request()->routeIs('dashboard') ? 'active' : '' }}">
|
<a href="{{ route('dashboard') }}"
|
||||||
|
class="nav-link {{ request()->routeIs('dashboard') ? 'active' : '' }}">
|
||||||
<span style="margin-left:20px;">総合ダッシュボード</span>
|
<span style="margin-left:20px;">総合ダッシュボード</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -490,10 +668,8 @@
|
|||||||
'seals', // タグシール管理
|
'seals', // タグシール管理
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<li
|
<li class="nav-item has-treeview @if (in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
||||||
class="nav-item has-treeview @if(in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
<a href="#" class="nav-link @if (in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
||||||
<a href="#"
|
|
||||||
class="nav-link @if(in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
|
||||||
<i class="nav-icon fa fa-repeat"></i>
|
<i class="nav-icon fa fa-repeat"></i>
|
||||||
<p>タグ・シール管理
|
<p>タグ・シール管理
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
@ -531,10 +707,8 @@
|
|||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<li
|
<li class="nav-item has-treeview @if (in_array(app('router')->currentRouteName(), $parkingRoutes)) menu-open @endif">
|
||||||
class="nav-item has-treeview @if(in_array(app('router')->currentRouteName(), $parkingRoutes)) menu-open @endif">
|
<a href="#" class="nav-link @if (in_array(app('router')->currentRouteName(), $parkingRoutes)) active @endif">
|
||||||
<a href="#"
|
|
||||||
class="nav-link @if(in_array(app('router')->currentRouteName(), $parkingRoutes)) active @endif">
|
|
||||||
<i class="nav-icon fa fa-repeat"></i>
|
<i class="nav-icon fa fa-repeat"></i>
|
||||||
<p>
|
<p>
|
||||||
定期駐輪管理
|
定期駐輪管理
|
||||||
@ -616,10 +790,8 @@
|
|||||||
'news', // 最新ニュース登録
|
'news', // 最新ニュース登録
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<li
|
<li class="nav-item has-treeview @if (in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
||||||
class="nav-item has-treeview @if(in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
<a href="#" class="nav-link @if (in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
||||||
<a href="#"
|
|
||||||
class="nav-link @if(in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
|
||||||
<i class="nav-icon fa fa-calculator"></i>
|
<i class="nav-icon fa fa-calculator"></i>
|
||||||
<p>
|
<p>
|
||||||
集計業務
|
集計業務
|
||||||
@ -663,10 +835,8 @@
|
|||||||
'news', // 最新ニュース登録
|
'news', // 最新ニュース登録
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<li
|
<li class="nav-item has-treeview @if (in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
||||||
class="nav-item has-treeview @if(in_array(app('router')->currentRouteName(), $webRoutes)) menu-open @endif">
|
<a href="#" class="nav-link @if (in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
||||||
<a href="#"
|
|
||||||
class="nav-link @if(in_array(app('router')->currentRouteName(), $webRoutes)) active @endif">
|
|
||||||
<i class="nav-icon fa fa-dashboard"></i>
|
<i class="nav-icon fa fa-dashboard"></i>
|
||||||
<p>
|
<p>
|
||||||
一般ウェブ管理
|
一般ウェブ管理
|
||||||
@ -693,10 +863,8 @@
|
|||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<li
|
<li class="nav-item has-treeview @if (in_array(app('router')->currentRouteName(), $userGroupRoutes)) menu-open @endif">
|
||||||
class="nav-item has-treeview @if(in_array(app('router')->currentRouteName(), $userGroupRoutes)) menu-open @endif">
|
<a href="#" class="nav-link @if (in_array(app('router')->currentRouteName(), $userGroupRoutes)) active @endif">
|
||||||
<a href="#"
|
|
||||||
class="nav-link @if(in_array(app('router')->currentRouteName(), $userGroupRoutes)) active @endif">
|
|
||||||
<i class="nav-icon fa fa-dashboard"></i>
|
<i class="nav-icon fa fa-dashboard"></i>
|
||||||
<p>
|
<p>
|
||||||
利用者マスタ
|
利用者マスタ
|
||||||
@ -704,7 +872,8 @@
|
|||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<ul class="nav nav-treeview" @if(in_array(app('router')->currentRouteName(), $userGroupRoutes)) style="display: block;" @else style="display: none;" @endif>
|
<ul class="nav nav-treeview"
|
||||||
|
@if (in_array(app('router')->currentRouteName(), $userGroupRoutes)) style="display: block;" @else style="display: none;" @endif>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('users') }}"
|
<a href="{{ route('users') }}"
|
||||||
@ -767,7 +936,7 @@
|
|||||||
<a href="#" class="nav-link @if (in_array($current, $parkingRoutes)) active @endif">
|
<a href="#" class="nav-link @if (in_array($current, $parkingRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-th"></i>
|
<i class="nav-icon fa fa-th"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("駐輪場マスタ") }}
|
{{ __('駐輪場マスタ') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@ -776,90 +945,90 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('parks') }}"
|
<a href="{{ route('parks') }}"
|
||||||
class="nav-link @if ($current === 'parks') active @endif">
|
class="nav-link @if ($current === 'parks') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("駐輪場マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('駐輪場マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('city') }}"
|
<a href="{{ route('city') }}"
|
||||||
class="nav-link @if ($current === 'city') active @endif">
|
class="nav-link @if ($current === 'city') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("市区マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('市区マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('pricelist') }}"
|
<a href="{{ route('pricelist') }}"
|
||||||
class="nav-link @if ($current === 'pricelist') active @endif">
|
class="nav-link @if ($current === 'pricelist') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("料金一覧表") }}</span>
|
<span style="margin-left:20px;">{{ __('料金一覧表') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('prices') }}"
|
<a href="{{ route('prices') }}"
|
||||||
class="nav-link @if ($current === 'prices') active @endif">
|
class="nav-link @if ($current === 'prices') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("駐輪場所、料金マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('駐輪場所、料金マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('psections') }}"
|
<a href="{{ route('psections') }}"
|
||||||
class="nav-link @if ($current === 'psections') active @endif">
|
class="nav-link @if ($current === 'psections') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("車種区分マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('車種区分マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('ptypes') }}"
|
<a href="{{ route('ptypes') }}"
|
||||||
class="nav-link @if ($current === 'ptypes') active @endif">
|
class="nav-link @if ($current === 'ptypes') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("駐輪分類マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('駐輪分類マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('zones') }}"
|
<a href="{{ route('zones') }}"
|
||||||
class="nav-link @if ($current === 'zones') active @endif">
|
class="nav-link @if ($current === 'zones') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("ゾーンマスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('ゾーンマスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('pplaces') }}"
|
<a href="{{ route('pplaces') }}"
|
||||||
class="nav-link @if ($current === 'pplaces') active @endif">
|
class="nav-link @if ($current === 'pplaces') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("駐輪車室マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('駐輪車室マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('stations') }}"
|
<a href="{{ route('stations') }}"
|
||||||
class="nav-link @if ($current === 'stations') active @endif">
|
class="nav-link @if ($current === 'stations') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("近傍駅マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('近傍駅マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('regular_types') }}"
|
<a href="{{ route('regular_types') }}"
|
||||||
class="nav-link @if ($current === 'regular_types') active @endif">
|
class="nav-link @if ($current === 'regular_types') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("定期種別マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('定期種別マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('terms') }}"
|
<a href="{{ route('terms') }}"
|
||||||
class="nav-link @if ($current === 'terms') active @endif">
|
class="nav-link @if ($current === 'terms') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("利用規約マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('利用規約マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<!-- <li class="nav-item">
|
<!-- <li class="nav-item">
|
||||||
<a href="{{ route('jurisdiction_parkings') }}" class="nav-link @if ($current === 'jurisdiction_parkings') active @endif">
|
<a href="{{ route('jurisdiction_parkings') }}" class="nav-link @if ($current === 'jurisdiction_parkings') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("管轄駐輪場") }}</span>
|
<span style="margin-left:20px;">{{ __('管轄駐輪場') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li> -->
|
</li> -->
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('print_areas') }}"
|
<a href="{{ route('print_areas') }}"
|
||||||
class="nav-link @if ($current === 'print_areas') active @endif">
|
class="nav-link @if ($current === 'print_areas') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("シール印刷範囲マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('シール印刷範囲マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('contract_allowable_cities') }}"
|
<a href="{{ route('contract_allowable_cities') }}"
|
||||||
class="nav-link @if ($current === 'contract_allowable_cities') active @endif">
|
class="nav-link @if ($current === 'contract_allowable_cities') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("契約許容市区マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('契約許容市区マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('managers') }}"
|
<a href="{{ route('managers') }}"
|
||||||
class="nav-link @if ($current === 'managers') active @endif">
|
class="nav-link @if ($current === 'managers') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("駐輪場管理者マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('駐輪場管理者マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -880,7 +1049,7 @@
|
|||||||
<a href="#" class="nav-link @if (in_array($current, $paymentRoutes)) active @endif">
|
<a href="#" class="nav-link @if (in_array($current, $paymentRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-crop"></i>
|
<i class="nav-icon fa fa-crop"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("決済マスタ") }}
|
{{ __('決済マスタ') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@ -888,20 +1057,21 @@
|
|||||||
<ul class="nav nav-treeview"
|
<ul class="nav nav-treeview"
|
||||||
style="display: @if (in_array($current, $paymentRoutes)) block @else none @endif;">
|
style="display: @if (in_array($current, $paymentRoutes)) block @else none @endif;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('tax') }}" class="nav-link @if($current === 'tax') active @endif">
|
<a href="{{ route('tax') }}"
|
||||||
|
class="nav-link @if ($current === 'tax') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __('消費税マスタ') }}</span>
|
<span style="margin-left:20px;">{{ __('消費税マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('payments') }}"
|
<a href="{{ route('payments') }}"
|
||||||
class="nav-link @if ($current === 'payments') active @endif">
|
class="nav-link @if ($current === 'payments') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("決済情報マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('決済情報マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('settlement_transactions') }}"
|
<a href="{{ route('settlement_transactions') }}"
|
||||||
class="nav-link @if ($current === 'settlement_transactions') active @endif">
|
class="nav-link @if ($current === 'settlement_transactions') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("決済トランザクション") }}</span>
|
<span style="margin-left:20px;">{{ __('決済トランザクション') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -910,13 +1080,7 @@
|
|||||||
|
|
||||||
@php
|
@php
|
||||||
// システムマスタ:ルート名がここに含まれている場合、展開&ハイライト
|
// システムマスタ:ルート名がここに含まれている場合、展開&ハイライト
|
||||||
$systemRoutes = [
|
$systemRoutes = ['opes', 'devices', 'operator_ques', 'settings', 'mail_templates'];
|
||||||
'opes',
|
|
||||||
'devices',
|
|
||||||
'operator_ques',
|
|
||||||
'settings',
|
|
||||||
'mail_templates',
|
|
||||||
];
|
|
||||||
$current = app('router')->currentRouteName();
|
$current = app('router')->currentRouteName();
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
@ -925,7 +1089,7 @@
|
|||||||
<a href="#" class="nav-link @if (in_array($current, $systemRoutes)) active @endif">
|
<a href="#" class="nav-link @if (in_array($current, $systemRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-cogs"></i>
|
<i class="nav-icon fa fa-cogs"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("システムマスタ") }}
|
{{ __('システムマスタ') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@ -934,33 +1098,33 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('opes') }}"
|
<a href="{{ route('opes') }}"
|
||||||
class="nav-link @if ($current === 'opes') active @endif">
|
class="nav-link @if ($current === 'opes') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("オペレータマスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('オペレータマスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('devices') }}"
|
<a href="{{ route('devices') }}"
|
||||||
class="nav-link @if ($current === 'devices') active @endif">
|
class="nav-link @if ($current === 'devices') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("デバイス管理マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('デバイス管理マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('operator_ques') }}"
|
<a href="{{ route('operator_ques') }}"
|
||||||
class="nav-link @if ($current === 'operator_ques') active @endif">
|
class="nav-link @if ($current === 'operator_ques') active @endif">
|
||||||
<i class="nav-icon"></i>
|
<i class="nav-icon"></i>
|
||||||
<span style="margin-left:20px;">{{ __("オペレータキュー") }}</span>
|
<span style="margin-left:20px;">{{ __('オペレータキュー') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('settings') }}"
|
<a href="{{ route('settings') }}"
|
||||||
class="nav-link @if ($current === 'settings') active @endif">
|
class="nav-link @if ($current === 'settings') active @endif">
|
||||||
<i class="nav-icon"></i>
|
<i class="nav-icon"></i>
|
||||||
<span style="margin-left:20px;">{{ __("設定マスタ") }}</span>
|
<span style="margin-left:20px;">{{ __('設定マスタ') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('mail_templates') }}"
|
<a href="{{ route('mail_templates') }}"
|
||||||
class="nav-link @if ($current === 'mail_templates') active @endif">
|
class="nav-link @if ($current === 'mail_templates') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("メール送信テンプレート") }}</span>
|
<span style="margin-left:20px;">{{ __('メール送信テンプレート') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -968,18 +1132,17 @@
|
|||||||
|
|
||||||
@php
|
@php
|
||||||
// マスタ管理:ルート名がここに含まれている場合、展開&ハイライト
|
// マスタ管理:ルート名がここに含まれている場合、展開&ハイライト
|
||||||
$masterRoutes = [
|
$masterRoutes = ['inv_settings'];
|
||||||
'inv_settings',
|
|
||||||
];
|
|
||||||
$current = app('router')->currentRouteName();
|
$current = app('router')->currentRouteName();
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<!-- マスタ管理 -->
|
<!-- マスタ管理 -->
|
||||||
<li class="nav-item has-treeview @if (in_array($current, $masterRoutes)) menu-open @endif">
|
<li class="nav-item has-treeview @if (in_array($current, $masterRoutes)) menu-open @endif">
|
||||||
<a href="#" class="nav-link @if(in_array($current, $masterRoutes)) active @endif">
|
<a href="#"
|
||||||
|
class="nav-link @if (in_array($current, $masterRoutes)) active @endif">
|
||||||
<i class="nav-icon fa fa-object-group"></i>
|
<i class="nav-icon fa fa-object-group"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("マスタ管理") }}
|
{{ __('マスタ管理') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@ -988,7 +1151,7 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('inv_settings') }}"
|
<a href="{{ route('inv_settings') }}"
|
||||||
class="nav-link @if ($current === 'inv_settings') active @endif">
|
class="nav-link @if ($current === 'inv_settings') active @endif">
|
||||||
<span style="margin-left:20px;">{{ __("インボイス設定") }}</span>
|
<span style="margin-left:20px;">{{ __('インボイス設定') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -998,17 +1161,22 @@
|
|||||||
@if ($visibleCities && $visibleCities->count() > 0)
|
@if ($visibleCities && $visibleCities->count() > 0)
|
||||||
@php
|
@php
|
||||||
$currentCityId = request()->route('city_id');
|
$currentCityId = request()->route('city_id');
|
||||||
$isCityRoute = request()->routeIs('city_dashboard') || str_contains(request()->url(), '/city/');
|
$isCityRoute =
|
||||||
|
request()->routeIs('city_dashboard') ||
|
||||||
|
str_contains(request()->url(), '/city/');
|
||||||
@endphp
|
@endphp
|
||||||
<li class="nav-item has-treeview @if($isCityRoute) menu-open @endif">
|
<li
|
||||||
<a href="#" class="nav-link @if($isCityRoute) active @endif">
|
class="nav-item has-treeview @if ($isCityRoute) menu-open @endif">
|
||||||
|
<a href="#"
|
||||||
|
class="nav-link @if ($isCityRoute) active @endif">
|
||||||
<i class="nav-icon fa fa-map-marker"></i>
|
<i class="nav-icon fa fa-map-marker"></i>
|
||||||
<p>
|
<p>
|
||||||
{{ __("運営元メニュー") }}
|
{{ __('運営元メニュー') }}
|
||||||
<i class="right fa fa-angle-down"></i>
|
<i class="right fa fa-angle-down"></i>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav nav-treeview" style="display: @if($isCityRoute) block @else none @endif;">
|
<ul class="nav nav-treeview"
|
||||||
|
style="display: @if ($isCityRoute) block @else none @endif;">
|
||||||
@foreach ($visibleCities as $city)
|
@foreach ($visibleCities as $city)
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('city_dashboard', ['city_id' => $city->city_id]) }}"
|
<a href="{{ route('city_dashboard', ['city_id' => $city->city_id]) }}"
|
||||||
@ -1216,9 +1384,13 @@
|
|||||||
$('.select2').select2();
|
$('.select2').select2();
|
||||||
|
|
||||||
//Datemask dd/mm/yyyy
|
//Datemask dd/mm/yyyy
|
||||||
$('#datemask').inputmask('dd/mm/yyyy', { 'placeholder': 'dd/mm/yyyy' })
|
$('#datemask').inputmask('dd/mm/yyyy', {
|
||||||
|
'placeholder': 'dd/mm/yyyy'
|
||||||
|
})
|
||||||
//Datemask2 mm/dd/yyyy
|
//Datemask2 mm/dd/yyyy
|
||||||
$('#datemask2').inputmask('mm/dd/yyyy', { 'placeholder': 'mm/dd/yyyy' })
|
$('#datemask2').inputmask('mm/dd/yyyy', {
|
||||||
|
'placeholder': 'mm/dd/yyyy'
|
||||||
|
})
|
||||||
//Money Euro
|
//Money Euro
|
||||||
$('[data-mask]').inputmask()
|
$('[data-mask]').inputmask()
|
||||||
|
|
||||||
@ -1231,21 +1403,23 @@
|
|||||||
format: 'MM/DD/YYYY h:mm A'
|
format: 'MM/DD/YYYY h:mm A'
|
||||||
})
|
})
|
||||||
//Date range as a button
|
//Date range as a button
|
||||||
$('#daterange-btn').daterangepicker(
|
$('#daterange-btn').daterangepicker({
|
||||||
{
|
|
||||||
ranges: {
|
ranges: {
|
||||||
'今日': [moment(), moment()],
|
'今日': [moment(), moment()],
|
||||||
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
|
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
|
||||||
'最新の1週間': [moment().subtract(6, 'days'), moment()],
|
'最新の1週間': [moment().subtract(6, 'days'), moment()],
|
||||||
'最新の30日': [moment().subtract(29, 'days'), moment()],
|
'最新の30日': [moment().subtract(29, 'days'), moment()],
|
||||||
'今月': [moment().startOf('month'), moment().endOf('month')],
|
'今月': [moment().startOf('month'), moment().endOf('month')],
|
||||||
'先月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
|
'先月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month')
|
||||||
|
.endOf('month')
|
||||||
|
]
|
||||||
},
|
},
|
||||||
startDate: moment().subtract(29, 'days'),
|
startDate: moment().subtract(29, 'days'),
|
||||||
endDate: moment()
|
endDate: moment()
|
||||||
},
|
},
|
||||||
function(start, end) {
|
function(start, end) {
|
||||||
$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'))
|
$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format(
|
||||||
|
'MMMM D, YYYY'))
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user