align center for receipt

This commit is contained in:
phyusin
2018-08-31 15:57:38 +06:30
parent b76bffddb9
commit 94ff846872
2 changed files with 3 additions and 3 deletions

View File

@@ -659,7 +659,7 @@ class ReceiptBillPdf < Prawn::Document
move_down line_move
y_position = cursor
text "#{shop.note}", :size => self.item_font_size,:align => :left
text "#{shop.note}", :size => self.item_font_size,:align => :center
move_down line_move
end