Edit Service
{!! Form::open(['route'=>array('service.update', $service->id), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'put']) !!}
{{--
--}}
{!! Form::close() !!}
{{$errors->first('service_code')}}
{{$errors->first('service_name')}}
{!! Form::select("vehicle_brand_id", [''=>'Select Brand']+$vehicleBrands, old("vehicle_brand_id",$service->vehicle_brand_id), ['class'=>'form-control' ,'id' => 'vehicle_brand_id'] ) !!}
{{$errors->first('vehicle_brand_id')}}
{!! Form::select("vehicle_model_id", [''=>'Select Model'], old("vehicle_model_id",$service->vehicle_model_id), ['class'=>'form-control' ,'id' => 'vehicle_model_id'] ) !!}
{{$errors->first('vehicle_model_id')}}
{{$errors->first('cost_price')}}
{{$errors->first('selling_price')}}
{{$errors->first('mark_up')}}
{!! Form::select("income_account_id", $incomes, old("income_account_id",$service->income_account_id), ['class'=>'form-control' ,'id' => 'product_id1','required'=>'required'] ) !!}
{{$errors->first('income_account_id')}}
{!! Form::select("expense_account_id", [''=>'Select ']+$expenses, old("expense_account_id",$service->expense_account_id), ['class'=>'form-control' ,'id' => 'product_id2','required'=>'required'] ) !!}
{{$errors->first('expense_account_id')}}
{!! Form::select("department_id", [''=>'Select ']+$departments, old("department_id", $service->department_id), ['class'=>'form-control' ,'id' => 'department_id','required'=>'required'] ) !!}
{{$errors->first('department_id')}}
{{-- account_ledger_id --}}
{!! Form::select("purchase_return_account_id", [''=> 'Select']+$purchaseReturnAccount, $service->purchase_return_account_id, ['class'=>'form-control' ,'id' => 'purchase_return_account_id'] ) !!}
{{$errors->first('purchase_return_account_id')}}
{{-- account_ledger_id --}}
{!! Form::select("sale_return_account_id", $saleReturnAccount, $service->sale_return_account_id, ['class'=>'form-control' ,'id' => 'sale_return_account_id'] ) !!}
{{$errors->first('sale_return_account_id')}}