update print add item code and addorder js for set item create in print

This commit is contained in:
Aung Myo
2017-12-27 18:16:31 +06:30
parent 48fb5563f5
commit d8738dbf5a
3 changed files with 35 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ class OrderSummaryPdf < Prawn::Document
y_position = cursor
bounding_box([0,y_position], :width => self.item_width) do
text "#{odi.item_name}", :size => self.item_font_size,:align => :left
text "#{odi.item_code} - #{odi.item_name}", :size => self.item_font_size,:align => :left
end
@@ -117,7 +117,7 @@ class OrderSummaryPdf < Prawn::Document
end
bounding_box([0,y_position], :width => self.item_width) do
text "#{odi.item_name}", :size => self.item_font_size,:align => :left
text "#{odi.item_code} - #{odi.item_name}", :size => self.item_font_size,:align => :left
end