@extends('admin.layout.app') @section('title','Create Service') @section('content')

Create Service

{!! Form::open(['route'=>array('service.store'), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'post']) !!}
{{$errors->first('service_code')}}
{{$errors->first('service_name')}}
{{$errors->first('cost_price')}}
{{$errors->first('selling_price')}}
{{$errors->first('mark_up')}}
{!! Form::select("income_account_id", $incomes, old("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", 79), ['class'=>'form-control' ,'id' => 'product_id2','required'=>'required'] ) !!}
{{$errors->first('expense_account_id')}}
{!! Form::select("department_id", [''=>'Select ']+$departments, old("department_id"), ['class'=>'form-control' ,'id' => 'department_id','required'=>'required'] ) !!}
{{$errors->first('department_id')}}
{{-- account_ledger_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')}}
{{-- account_ledger_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::close() !!}
@endsection @push('footerscript') @endpush