Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into crm

This commit is contained in:
Aung Myo
2017-07-05 12:31:54 +06:30
6 changed files with 25 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ class OrderItemPdf < Prawn::Document
def initialize(print_settings,order_item, print_status, options, alt_name)
self.page_width = 180
self.page_height = 1450
self.margin = 5
self.margin = 0
self.price_width = 40 # No Need for item
self.qty_width = 30
self.total_width = 40 # No Need for item

View File

@@ -4,7 +4,7 @@ class OrderSummaryPdf < Prawn::Document
def initialize(print_settings,order, print_status, order_items = nil,alt_name)
self.page_width = 180
self.page_height = 1450
self.margin = 5
self.margin = 0
self.price_width = 40 # No Need for item
self.qty_width = 30
self.total_width = 40 # No Need for item