@extends('layouts.master') @section('page_title', $website_request->website_request_name) @section('content') {{ Form::open(['url' => action('ProductionChecklistController@post_edit', compact('website_request', 'qa_checklist_section')), 'onsubmit_function'=>"on_production_checklist_edit_submit"]) }}
{{ Form::page_header($website_request->website_request_name, "hours") }}
@include('website._website_sidebar', compact('website_request'))
{{ Form::label_ex('Production Checklist', \App\Helpers\FormComponentHelper::SIZE_EXLARGE, null, 6) }} @include('website._production_checklist_form_filter')
{{ Form::label_ex($qa_checklist_section->section_name, \App\Helpers\FormComponentHelper::SIZE_LARGE, null, 10) }}
{{ Form::separator_row('grey-divider grid-header-divider') }} @if ($allow_complete) {{ Form::hidden('allow_complete', $allow_complete) }} @endif @foreach($website_request->_qa_checklist_question()->where('qa_checklist_question.qa_checklist_section', '=', $qa_checklist_section->qa_checklist_section)->get() as $question)
{{ Form::hidden("question[".$question->qa_checklist."][qa_checklist]", $question->qa_checklist) }} @if ($allow_complete) {{ Form::hidden("question[".$question->qa_checklist."][confirmed]", $question->confirmed, ['id' => "question_".$question->qa_checklist."_confirmed"]) }} {{ Form::checkbox_ex('question['.$question->qa_checklist.'][confirmed]', $question->confirmed, $question->question, "confirm_question(this.checked, '".$question->qa_checklist."');", null, 7) }} @else {{ Form::label_styled($question->question, 'label-grey label-question', \App\Helpers\FormComponentHelper::SIZE_SMALL, 7) }} @endif
@foreach($feedbacks->filter(function ($item) use($question) { return $item->qa_checklist == $question->qa_checklist; }) as $feedback) @include('website._feedback', ['feedback' => $feedback]) @endforeach {{ Form::separator_row('grey-divider grid-divider') }}
@endforeach
{{ Form::button_save() }} {{ Form::button_link('Cancel', action('ProductionChecklistController@view', compact('website_request', 'qa_checklist_section'))) }}
{{ Form::close() }} @endsection @section('page_script') @include('shared_script._website_sidebar_script') @include('shared_script._form_filter_script') @include('shared_script._list_manager') @endsection @section('page_style') @endsection