27 lines
1.2 KiB
PHP
27 lines
1.2 KiB
PHP
@extends('portal::layouts.customer')
|
|
@section('title', $ncr->ref_no)
|
|
@section('content')
|
|
<section class="content-header"><h1>{{ $ncr->ref_no }} — {{ $ncr->title }}</h1></section>
|
|
<section class="content">
|
|
<div class="box box-primary">
|
|
<div class="box-body">
|
|
<p><strong>@lang('portal::lang.status'):</strong> {{ $ncr->status }}</p>
|
|
<p><strong>@lang('qualitymanagement::lang.severity'):</strong> {{ $ncr->severity }}</p>
|
|
<p><strong>@lang('qualitymanagement::lang.description'):</strong> {{ $ncr->description ?: '—' }}</p>
|
|
<p><strong>@lang('messages.date'):</strong> @format_date($ncr->detected_at)</p>
|
|
@if($ncr->capaActions->isNotEmpty())
|
|
<h4>@lang('qualitymanagement::lang.capa_actions')</h4>
|
|
<ul>
|
|
@foreach($ncr->capaActions as $capa)
|
|
<li>{{ $capa->ref_no }} — {{ $capa->title }} ({{ $capa->status }})</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</div>
|
|
<div class="box-footer">
|
|
<a href="{{ route('customer.quality.ncr.index') }}" class="btn btn-default">@lang('messages.back')</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@endsection
|