@extends('layout.default') @section('content') @section('head') @endsection @if (Session::has('success'))

{!! Session::get('success') !!}

@endif @if ($errors->any())

@foreach ($errors->all() as $error) {{ $error }}
@endforeach

@endif
@if($current_status == "有効") @endif
災害時モード {{$current_status}}
残り使用可能回数 {{$available_count}}
利用開始日 {{$activated_date}}
有効期限 {{$expiration_date}}

過去のモード使用履歴

{{$all_log->links()}}

@foreach ($all_log as $log) @endforeach
災害時モード有効化日時 災害時モード無効化日時
{{$log->created_at}} {{$log->updated_at->year === -1 ? '---- -- -- --:--:--' : $log->updated_at }}
@stop