@extends('layouts.admin.master') @section('title', 'Price Control') @section('content')
Price Control
@csrf
@error('item_name')
{{ $message }}
@enderror
@error('selling_price')
{{ $message }}
@enderror
@if (count($itemSellingPrices) != 0) @php $count = 1; @endphp @foreach ($itemSellingPrices as $itemSellingPrice) @php $count++; @endphp @endforeach @endif
No Item Name Unit Name Unit Cost Selling Price Edit
{{ $count }} {{ $itemSellingPrice['item_name'] }} {{ $itemSellingPrice['unit_name'] }} {{ round($itemSellingPrice['unit_cost']) }} {{ $itemSellingPrice['item_selling_price'] }}
@endsection