@extends('layouts.general') @section('layouts.header') @include('layouts.header') @stop @section('optionalCss') @stop @section('content') {!! Form::open(array('url'=>'numclass/groupModify', 'class'=>'form-inline', 'id'=>'GetModifyForm','method'=>'Get')) !!} {!! Form::hidden('Id','' , ['id'=>'ModifyId']) !!} {!! Form::close() !!} {!! Form::open(array('url'=>'numclass/move', 'class'=>'form-inline', 'id'=>'MoveForm','method'=>'Post')) !!} {!! Form::hidden('MoveId','' , ['id'=>'MoveId']) !!} {!! Form::hidden('MoveVersion','' , ['id'=>'MoveVersion']) !!} {!! Form::hidden('Direction','' , ['id'=>'Direction']) !!} {!! Form::close() !!} {!! Form::open(array('url'=>'numclass/back', 'class'=>'form-inline', 'id'=>'BackForm','method'=>'Post')) !!} {!! Form::close() !!} @if($IsRegister) {!! Form::open(array('url'=>'numclass/groupRegister', 'class'=>'form-inline', 'id'=>'SubmitForm','method'=>'Post')) !!} @else {!! Form::open(array('url'=>'numclass/groupModify', 'class'=>'form-inline', 'id'=>'SubmitForm','method'=>'Post')) !!} {!! Form::hidden('Id',$Id , ['id'=>'Id']) !!} {!! Form::hidden('Version',$Version, ['id'=>'Id']) !!} {!! Form::hidden('IsDelete','false' , ['id'=>'IsDelete']) !!} {!! Form::hidden('Password','' , ['id'=>'Password']) !!} @endif @if( $IsRegister ||( !$IsRegister && $Version !=''))
@if($IsRegister)

数値指標グループの新規登録

@else

数値指標グループの閲覧・編集

@endif
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }} ×

@endif @endforeach
数値指標グループ一覧
@if($IsRegister)
@foreach($GroupData as $index => $item) @if($index == count($GroupData)-1) @else @endif @if($index == 0) @else @endif @endforeach
数値指標 編集
{{ $item -> name}} id ]) data-can_access="true" @else data-can_access="false" @endcan data-id="{!! $item -> id !!}" class="glyphicon glyphicon-pencil">
@else
@foreach($GroupData as $index => $item) @if($index == count($GroupData)-1) @else @endif @if($index == 0) @else @endif @endforeach
数値指標 編集
{{ $item -> name}}
@endif
数値指標グループ編集
@if(!$IsRegister) @endif
グループ名
{!! Form::text('Name', $TargetGroupName, array('id'=>'Name','maxlength'=>'40','class' => 'form-control')) !!}
@if($IsRegister) @foreach($GroupList as $index => $item)
数値指標 {{ $index +1 }}
{!! Form::n_select('NameList []', $NameList, $item ->name_id, Message::get('C00001',['a']) , array('id' => 'NameList', 'class' => 'form-control normal-input'), null) !!}
得点区分
{!! Form::text('ScoreItem []', $item->score, array('maxlength'=>'3','id'=>'ScoreItem','class' => 'score-item form-control text-center')) !!}
 点
@if(($index+1) == count($GroupList)) @else @endif
@endforeach @else @foreach($GroupList as $index => $item)
数値指標 {{ $index +1 }}
{!! Form::n_select('NameList []', $NameList, $item ->name_id, Message::get('C00001',['a']) , array('id' => 'NameList', 'class' => 'form-control normal-input'), null) !!}
得点区分
{!! Form::text('ScoreItem []', $item->score, array('maxlength'=>'3','id'=>'ScoreItem','class' => 'score-item form-control text-center')) !!}
 点
@if(($index+1) == count($GroupList)) @else @endif {!! Form::text('Id []', $item->id, array('maxlength'=>'3','id'=>'ScoreItem','class' => 'form-control text-center hidden')) !!} {!! Form::text('Version []', $item->version, array('maxlength'=>'3','id'=>'ScoreItem','class' => ' form-control text-center hidden')) !!}
@endforeach @endif
(合計 {{ $HiddenScore }} 点)
{!! Form::hidden('HiddenScore','100',['id'=> 'HiddenScore' ]) !!}
@if($IsRegister)
@else
@endif @endif {!! Form::close() !!} @if( !$IsRegister && $Version == '') @endif @stop @section('modal') @include('layouts.modal') @stop @section('layouts.footer') @include ('layouts.footer') @stop @section('optionalJs') @append