foc error

This commit is contained in:
Zoey
2019-05-16 14:10:57 +06:30
parent 77d2476c73
commit da7c344179
8 changed files with 25 additions and 22 deletions

View File

@@ -1,6 +1,7 @@
class OrderItemSlimPdf < Prawn::Document
include ActionView::Helpers::NumberHelper
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(print_settings,order_item_slim, print_status, options, alt_name, before_updated_qty)
self.page_width = print_settings.page_width
self.page_height = print_settings.page_height