client side validation is added to accounting model

client side validation is added to accounting model