Added Access Right checking to CashSalesInvoice's Discount and Allowance
Minor fix