@extends('layouts.app') @section('title', '定期契約マスタ') @section('content')

定期契約マスタ

※この画面のデータは通常変更する必要はありません。

{{-- 絞り込みフィルター(2カラム) --}}

絞り込みフィルター

@csrf
{{-- 左カラム --}}
{{-- 右カラム --}}
{{-- フィルターボタン(見た目統一) --}}
解除
{{-- ツールバー:左=ボタン群、右=ページャ --}}
新規 {{-- 3種のエクスポートは共通の確認モーダルを使い、data-url に出力先URLを渡す --}}
{{ $list->appends(['sort' => $sort, 'sort_type' => $sort_type])->links('pagination') }}
{{-- 一覧テーブル --}}
@csrf
@php $next = ($sort === 'contract_id' && $sort_type === 'asc') ? 'desc' : 'asc'; @endphp {{-- 操作列(チェック+編集。背景色を付与) --}} {{-- 表頭(要件に合わせて網羅) --}} @foreach($list as $item) {{-- 先頭の並び替え列(行の contract_id を表示) --}} {{-- 操作列:チェック + 編集(背景色つき) --}} {{-- データ列 --}} @endforeach
定期契約ID 旧定期契約番号 ゾーンID 車室番号 利用者ID 利用者分類ID タグ・QR 駐輪場ID 有効期間S 有効期間E 駐輪場所ID 防犯登録番号 契約日時 更新可能日 解約日時 減免措置 定期有効月数 シール印刷可能日 請求金額 車室割り当てフラグ 授受日時 授受金額 授受フラグ 決済トランザクションID シール発行数 シール発行許可 解約フラグ 収納企業コード 共有先収納企業コード 受付番号 (更新元)契約更新済フラグ 車種区分ID チェック用_フリガナ チェック用_居住所郵便番号 チェック用_携帯電話番号 チェック用_自宅電話番号 チェック用_旧会員番号
{{ $item->contract_id }} {{ $item->contract_qr_id }} {{ $item->old_contract_number ?? '' }} {{ $item->zone_id ?? '' }} {{ $item->room_number ?? '' }} {{ $item->user_id }} {{ $item->user_categoryid }} {{ $item->tag_qr_flag ? 'QR' : 'タグ' }} {{ $item->park_id }} {{ $item->valid_from ?? '' }} {{ $item->valid_to ?? '' }} {{ $item->price_arkplaceid ?? $item->price_parkplaceid ?? '' }} {{ $item->crime_prevention_registration_number ?? '' }} {{ $item->contract_created_at ?? '' }} {{ $item->renewable_date ?? '' }} {{ $item->contract_cancelday ?? '' }} {{ $item->reduction ?? '' }} {{ $item->contract_valid_months ?? '' }} {{ $item->label_printable_date ?? '' }} {{ $item->billing_amount ?? '' }} {{ ($item->assign_flag ?? null) === null ? '' : (($item->assign_flag) ? '割当済' : '未割当') }} {{ $item->receipt_delivery_date ?? '' }} {{ $item->receipt_delivery_amount ?? '' }} {{ ($item->receipt_delivery_flag ?? null) === null ? '' : (($item->receipt_delivery_flag) ? '済' : '未') }} {{ $item->payment_transaction_id ?? '' }} {{ $item->label_issue_count ?? '' }} {{ ($item->contract_permission ?? 0) ? '許可' : '未許可' }} {{ ($item->contract_cancel_flag ?? 0) ? 'キャンセル' : '-' }} {{ $item->company_code ?? '' }} {{ $item->shared_company_code ?? '' }} {{ $item->accept_number ?? '' }} {{ ($item->update_flag ?? 0) ? '更新済' : '未更新' }} {{ $item->vehicle_type_id ?? '' }} {{ $item->user_phonetic ?? '' }} {{ $item->user_regident_zip ?? '' }} {{ $item->user_mobile ?? '' }} {{ $item->user_homephone ?? '' }} {{ $item->old_member_number ?? '' }}
{{-- 下側のページャ(右寄せ) --}}
{{ $list->appends(['sort' => $sort, 'sort_type' => $sort_type])->links('pagination') }}
{{-- インポート用モーダル(ファイル選択) --}} {{-- エクスポート用モーダル(確認のみ。リンク先でダウンロード) --}} {{-- 画面内スクリプト:インポートのファイル名表示、エクスポートのURL差し替え --}} @endsection