@extends('master.app') @section('title', 'Stock') @section('body') Add @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @include('general.valert') @method('put') @csrf Choose Category @foreach ($categories as $row) id == $stock->cat_id) {{ 'selected' }} @endif>{{ $row->title_ps }} @endforeach @error('cat_id') {{ $message }} @enderror @if($stock->scat_id==null) Not Sub Cat @else {{ $stock->sub_category->title_en }} @endif Choose Unit Type @foreach ($units as $row) id == $stock->unit_id) {{ 'selected' }} @endif>{{ $row->title_ps }} @endforeach @error('unit_id') {{ $message }} @enderror QTY Cost Price Sale price Choose Currency @foreach ($currencies as $row) id == $stock->currency_id) {{ 'selected' }} @endif>{{ $row->title_ps }} @endforeach @error('currency_id') {{ $message }} @enderror Save @endsection @section('pageJs') @endsection