{{-- resources/views/uoms/create_conversion.blade.php --}} @extends('layouts.master') @section('content')
Back to UOMs
Add Conversion
@csrf
@if(Session::has('success'))

{{ Session('success') }}

@endif @if($errors->any())

{{ $errors->first() }}

@endif
Conversion List
@foreach($conversions as $conv) @php $from = $conv->fromUnit; $to = $conv->toUnit; $factor = $conv->factor; @endphp @endforeach
Category Unit Base Unit Factor (1 Unit = X Base Unit) Action
{{ $conv->category->description ?? '-' }} {{ $from->description }} {{ $to->description }} 1 {{ $from->description }} = {{ $factor }} {{ $to->description }}
@endsection