{!! Form::select("income_account_id", $incomes, old("income_account_id"), ['class'=>'form-control new-select2' ,'id' => 'product_id1','required'=>'required'] ) !!}
{{$errors->first('income_account_id')}}
{!! Form::select("expense_account_id", $expenses, old("expense_account_id"), ['class'=>'form-control new-select2' ,'id' => 'expense_account_id','required'=>'required'] ) !!}
{{$errors->first('expense_account_id')}}
{!! Form::select("inventory_account_id", $assets, old("inventory_account_id"), ['class'=>'form-control new-select2' ,'id' => 'inventory_account_id'] ) !!}
{{$errors->first('inventory_account_id')}}
{!! Form::select("department_id", $department, old("department_id"), ['class'=>'form-control new-select2', 'required', 'id'=>'department_id'] ) !!}
{{$errors->first('department_id')}}
{!! Form::select("spare_part_brand_id", $brands, old("spare_part_brand_id"), ['class'=>'form-control new-select2', 'id'=>'spare_part_brand_id','required'] ) !!}
{{$errors->first('spare_part_brand_id')}}
{!! Form::select("category_id", [''=>'Select']+$category, old("category_id"), ['class'=>'form-control new-select2', 'id'=>'category_id'] ) !!}
{{$errors->first('category_id')}}
{!! Form::select("sub_category_id", [''=>'Select'], old("sub_category_id"), ['class'=>'form-control new-select2', 'id'=>'sub_category_id'] ) !!}
{{$errors->first('sub_category_id')}}
{!! Form::select("sale_return_account_id", $saleReturnAccount, old("sale_return_account_id"), ['class'=>'form-control' ,'id' => 'sale_return_account_id'] ) !!}
{{$errors->first('sale_return_account_id')}}
{!! Form::select("purchase_return_account_id", $purchaseReturnAccount, old("purchase_return_account_id"), ['class'=>'form-control' ,'id' => 'purchase_return_account_id'] ) !!}
{{$errors->first('purchase_return_account_id')}}
{!! Form::select("supplier_id",[''=>'Select Supplier']+$supplier, old("supplier_id"), ['class'=>'form-control new-select2' ,'id' => 'supplier_id'] ) !!}