[IMP] point_of_sale: refactored the ean checksum method