sales commission on invoices: allow commission based on cost, #25847