Add Invoice hook in orderstoinvoice.php + Standardization

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Merge pull request #1001 from lrq3000/develop

Add Invoice hook in orderstoinvoice.php + Standardization