posCustomDiscountAllowed function

bool posCustomDiscountAllowed(
  1. PosBusinessSettings? business
)

Darf an der Kasse ein eigener Rabatt (Betrag oder Prozent) eingetippt werden? Fehlt die Einstellung, gilt ja (Zwilling von posCustomDiscountAllowed).

Implementation

bool posCustomDiscountAllowed(PosBusinessSettings? business) => business?.customDiscountAllowed != false;