Fixed the bug that the wrong invoiced quantity result in Z_DeleteInvoice...

....php