ultimatepos/Modules/QualityManagement/Resources/views/portal/ncr/index.blade.php

30 lines
1.4 KiB
PHP

@extends('portal::layouts.customer')
@section('title', __('qualitymanagement::lang.portal_ncr'))
@section('content')
<section class="content-header">
<h1>@lang('qualitymanagement::lang.portal_ncr')
<a href="{{ route('customer.quality.ncr.create') }}" class="btn btn-primary pull-right">@lang('qualitymanagement::lang.portal_report_ncr')</a>
</h1>
</section>
<section class="content">
<div class="box box-primary"><div class="table-responsive">
<table class="table table-bordered table-striped">
<thead><tr><th>@lang('qualitymanagement::lang.ref_no')</th><th>@lang('qualitymanagement::lang.title')</th><th>@lang('qualitymanagement::lang.severity')</th><th>@lang('portal::lang.status')</th><th></th></tr></thead>
<tbody>
@forelse($ncrs as $ncr)
<tr>
<td>{{ $ncr->ref_no }}</td>
<td>{{ $ncr->title }}</td>
<td>{{ $ncr->severity }}</td>
<td>{{ $ncr->status }}</td>
<td><a href="{{ route('customer.quality.ncr.show', $ncr->id) }}" class="btn btn-xs btn-info">@lang('portal::lang.view_details')</a></td>
</tr>
@empty
<tr><td colspan="5" class="text-center text-muted">@lang('portal::lang.no_records')</td></tr>
@endforelse
</tbody>
</table>
</div>{{ $ncrs->links() }}</div>
</section>
@endsection