[FIX] point_of_sale: fix crash on customer barcode scan