settlement calculation fix and receipt layout improvement
build
set hash_id for vendors if blank, soft default for hash_id
build