fixing date problem in payment period
adding inventory reference in posting journal, for consumption service
adding inventory reference for confirm purchase, loss and patient distribution
fixing convention invoice
fixing transfer invoice problem
merging fixing branch to dev
fixing payment period conflict