update close cashier
This commit is contained in:
@@ -198,7 +198,7 @@ class CloseCashierPdf < Prawn::Document
|
|||||||
text "JCB Payment :", :size => self.item_font_size, :align => :right
|
text "JCB Payment :", :size => self.item_font_size, :align => :right
|
||||||
end
|
end
|
||||||
bounding_box([self.item_description_width,y_position], :width =>self.price_width, :height => 20) do
|
bounding_box([self.item_description_width,y_position], :width =>self.price_width, :height => 20) do
|
||||||
text "#{other.master_amount.round(2)}", :size => self.item_font_size, :align => :right
|
text "#{other.jcb_amount.round(2)}", :size => self.item_font_size, :align => :right
|
||||||
end
|
end
|
||||||
|
|
||||||
y_position = cursor
|
y_position = cursor
|
||||||
@@ -206,7 +206,7 @@ class CloseCashierPdf < Prawn::Document
|
|||||||
text "Master Payment :", :size => self.item_font_size, :align => :right
|
text "Master Payment :", :size => self.item_font_size, :align => :right
|
||||||
end
|
end
|
||||||
bounding_box([self.item_description_width,y_position], :width =>self.price_width, :height => 20) do
|
bounding_box([self.item_description_width,y_position], :width =>self.price_width, :height => 20) do
|
||||||
text "#{other.jcb_amount.round(2)}", :size => self.item_font_size, :align => :right
|
text "#{other.master_amount.round(2)}", :size => self.item_font_size, :align => :right
|
||||||
end
|
end
|
||||||
|
|
||||||
y_position = cursor
|
y_position = cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user