@extends('layouts.master') @section('page_title', $website_request->website_request_name) @section('content') {{ Form::open(['url' => action('ProductionChecklistController@update_status', compact('website_request', 'qa_checklist_section'))]) }}
{{ 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::label_ex('STATUS', \App\Helpers\FormComponentHelper::SIZE_SMALL, null, 2) }}
{{ Form::separator_row('grey-divider grid-header-divider') }} @foreach($website_request->_qa_checklist_question()->where('qa_checklist_question.qa_checklist_section', '=', $qa_checklist_section->qa_checklist_section)->get() as $question)
{{ Form::label_styled($question->question, 'label-grey label-question'.((isset($allow_complete) && $question->confirmed) ? ' strike-through' : ''), \App\Helpers\FormComponentHelper::SIZE_SMALL, 10) }} {{ Form::label_styled(\App\Models\QA_Checklist::$question_status_map[$question->question_status], (isset($allow_complete) && $question->confirmed) ? '' : \App\Models\QA_Checklist::get_status_class($question->question_status, $question->confirmed), \App\Helpers\FormComponentHelper::SIZE_SMALL, 2) }}
@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
@if ($can_edit || $show_qa_review)
@if ($show_qa_review) {{ Form::button_save(\App\Http\Controllers\ProductionChecklistController::STATUS_QA_REVIEW_LABEL, 'action') }} @endif @if ($show_revise) {{ Form::button_save(\App\Http\Controllers\ProductionChecklistController::STATUS_REVISE_LABEL, 'action') }} @endif @if ($show_internal_review) {{ Form::button_save(\App\Http\Controllers\ProductionChecklistController::STATUS_INTERNAL_REVIEW_LABEL, 'action') }} @endif @if ($can_edit) {{ Form::button_link('Edit', action('ProductionChecklistController@edit', compact('website_request', 'qa_checklist_section'))) }} @endif
@endif
{{ 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