@extends('layouts.admin.master') @section('title', 'Price Control') @section('content') Price Control Set Sale Item Price Clear Save Sale Item Info @csrf Item Name * Select- @if (count($stock_items) != 0) @foreach ($stock_items as $stock_item) {{ $stock_item['item_name'] }} @endforeach @endif @error('item_name') {{ $message }} @enderror Main Category Sub Category Unit Unit Cost Selling Price @error('selling_price') {{ $message }} @enderror Sale Item Price Lists No Item Name Unit Name Unit Cost Selling Price Edit @if (count($itemSellingPrices) != 0) @php $count = 1; @endphp @foreach ($itemSellingPrices as $itemSellingPrice) {{ $count }} {{ $itemSellingPrice['item_name'] }} {{ $itemSellingPrice['unit_name'] }} {{ round($itemSellingPrice['unit_cost']) }} {{ $itemSellingPrice['item_selling_price'] }} @php $count++; @endphp @endforeach @endif Update Sale Item Price @csrf Item Name * Main Category Sub Category Unit Unit Cost Selling Price @csrf Are you sure want to delete? @endsection