Make sure there is only 1 debit and 1 credit line #5352

* Created 2 function fields to hold debit and credit lines.
* Added num2words as a dependency.
* Do not print check until move is posted.
* Make check number readonly when state is posted.