This commit is contained in:
Zoey
2019-06-26 11:42:51 +06:30
parent 56b8115ac9
commit 79d8eb94ef
17 changed files with 306 additions and 78 deletions

View File

@@ -689,9 +689,9 @@ class ReceiptBillPdf < Prawn::Document
if status == 'Frt'
move_down line_move
move_down line_move
text "KBZ Pay", :size => self.header_font_size+2, :align => :center
text "Scan to pay with KBZ Pay", :size => self.header_font_size, :align => :center
move_down line_move
print_qr_code(qr_code, pos: [30, cursor], extent: 160, stroke: false, dot: 1000)
print_qr_code(qr_code, pos: [39, cursor], extent: 161, stroke: false, dot: 1000)
# stroke_horizontal_rule
move_down line_move
end