[IMP] point_of_sale: add missing functionality necessary for the loyalty module