@extends('admin.layout.app') @section('title','Edit Stock Adjustment') @push('headerscript') @endpush @section('content')

Edit Stock Adjustment

{!! Form::open(['route'=>array('stock-adjustment.update', $stock_aj->id),'onsubmit'=>'BtnSubmit.disabled = true', 'method' => 'put']) !!}
{{$errors->first('voucher_no')}}
{{$errors->first('voucher_date')}}
{!! Form::select("branch_ids", \App\Http\Helpers\Helper::getBranchData(), old("branch_ids", $stock_aj->branch_id), ['class'=>'form-control' ,'id' => 'branch_ids','disabled'] ) !!}
{!! Form::select("account_ledger_id", [''=>'Select Account']+$expenses, $stock_aj->account_ledger_id, ['class'=>'form-control' ,'id' => 'account_ledger_id','required'=>'required'] ) !!}
{{$errors->first('description')}}
{{-- --}} {{-- --}} @foreach($stock_aj->stockAdjustmentDetails as $stock_detail) {{-- --}} {{-- --}} @endforeach
Part No.* Current Qty. Adjustable Qty.* New Qty. Stock Type* Job Card No.--}} {{-- Cost Price* Selling Price*--}} {{--
{!! Form::select("stock_type[]", [''=>'Select ','plus'=>'Plus', 'minus'=>'Minus'], old("stock_type", $stock_detail->stock_type), ['class'=>'form-control', 'required','id'=>'stock_type'.$loop_count] ) !!} --}} {{-- --}} {{-- --}} {{-- --}} {{--
{!! Form::close() !!}
@endsection @push('footerscript') @endpush