1. Select Project

@if(! is_null($selectedproject)) {{ Form::select('ProjectCode', $projects, $selectedproject->ProjectCode,[ 'placeholder' => 'Select a Project...']) }} @else {{ Form::select('ProjectCode', $projects, null,[ 'placeholder' => 'Select a Project...']) }} @endif

2. Select Article Code

@if(! is_null($selectedarticle)) {{ Form::select('ArticleCode', $articles, $selectedarticle->ArticleCode,[ 'placeholder' => 'Select an Article...']) }} @else {{ Form::select('ArticleCode', $articles, null,[ 'placeholder' => 'Select an Article...']) }} @endif {{ Form::close() }}

Selected Project: @if(! is_null($selectedproject)) {{$selectedproject-> ProjectName}} @endif

Selected Article: @if(! is_null($selectedarticle)) {{$selectedarticle -> Type}} | {{$selectedarticle->ArticleCode}} @endif


{{ Form::open(['route' => ['claims.create']]) }} {{ Form::hidden('ProjectCode', $selectedproject->ProjectCode) }} @foreach($workdones as $key => $value) @endforeach