updated printer for each stations

This commit is contained in:
Yan
2017-06-14 15:30:28 +06:30
parent cd588d9b4f
commit c1e8f3ffb2
4 changed files with 16 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
class OrderItemPdf < Prawn::Document
attr_accessor :label_width,:price_column_width,:page_width, :page_height, :margin, :price_width, :item_width, :header_font_size, :item_font_size,:item_height,:qty_width,:total_width,:item_description_width
def initialize(order_item, print_settings)
def initialize(order_item)
self.page_width = 254
self.page_height = 1450
self.margin = 10