Fixes

  1. Fixed: in certain cases, an error occurred when user attempted to confirm a sales invoice.