update roundign adj and member discount in first bill

This commit is contained in:
Aung Myo
2017-12-20 17:11:27 +06:30
parent bba3aa7631
commit 802b51eab4
5 changed files with 122 additions and 32 deletions

View File

@@ -20,7 +20,7 @@ class ReceiptBillPdf < Prawn::Document
# @double = @qty_width * 1.3
# @half_qty = @qty_width / 2
#setting page margin and width
super(:margin => [20, self.margin, self.margin, self.margin], :page_size => [self.page_width, self.page_height])
super(:margin => [printer_settings.heading_space, self.margin, self.margin, self.margin], :page_size => [self.page_width, self.page_height])
# db font setup
if printer_settings.font != ""