@extends('master.app') @section('title', 'Stock') @section('body')
Stock
@if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif
@method('post') @csrf
Choose Category
@foreach ($categories as $row)
cat_id == $row->id) {{ 'selected' }} @endif>{{ $row->title_ps }}
@endforeach
@error('category_id')
{{ $message }}
@enderror
{{ $data->sub_category->title_en }}
Choose Location
@foreach ($location as $row)
id == $data->location_id) {{ 'selected' }} @endif>{{ $row->title_ps }}
@endforeach
@error('location_id')
{{ $message }}
@enderror
Choose Unit Type
@foreach ($units as $row)
unit_id == $row->id) {{ 'selected' }} @endif>{{ $row->title_ps }}
@endforeach
@error('unit_id')
{{ $message }}
@enderror
Choose Weight
@foreach ($weights as $row)
weight_id == $row->id) {{ 'selected' }} @endif>{{ $row->title_ps }}
@endforeach
@error('weight_id')
{{ $message }}
@enderror
QTY
Cost Price
Sale price
Choose Currency
@foreach ($currencies as $row)
currency_id==$row->id) {{ "selected" }} @endif>{{ $row->title_ps }}
@endforeach
@error('currency_id')
{{ $message }}
@enderror
Save
@endsection @section('pageJs') @endsection