ultimatepos/Modules/IndustrialEngineering/Resources/views/item_masters/show.blade.php

34 lines
1.4 KiB
PHP

@extends('layouts.app')
@section('title', $item->name)
@section('content')
<section class="content-header"><h1>{{ $item->item_code }} {{ $item->name }}</h1></section>
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header"><h3 class="box-title">Details</h3></div>
<div class="box-body">
<p><strong>@lang('industrialengineering::lang.type'):</strong> {{ $item->item_type }}</p>
<p><strong>@lang('industrialengineering::lang.total_cost'):</strong> {{ number_format($item->standard_cost, 2) }}</p>
<p><strong>@lang('industrialengineering::lang.status'):</strong> {{ $item->status }}</p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="box box-info">
<div class="box-header"><h3 class="box-title">Equivalents</h3></div>
<div class="box-body">
<ul>
@forelse($item->equivalents as $eq)
<li>{{ $eq->equivalentItem?->item_code }} {{ $eq->equivalence_type }} (P{{ $eq->priority }})</li>
@empty
<li></li>
@endforelse
</ul>
</div>
</div>
</div>
</div>
</section>
@endsection