remove rounding adj: in total for close cashier pdf

This commit is contained in:
phyusin
2017-11-29 13:54:48 +06:30
parent 3e5fc00da9
commit c2d2dd7db5

View File

@@ -225,8 +225,6 @@ class CloseCashierPdf < Prawn::Document
text "#{shift_sale.total_rounding.round(2)}", :size => self.item_font_size, :align => :right text "#{shift_sale.total_rounding.round(2)}", :size => self.item_font_size, :align => :right
end end
@total_payment += shift_sale.total_rounding
y_position = cursor y_position = cursor
bounding_box([0,y_position], :width =>self.item_description_width, :height => 20) do bounding_box([0,y_position], :width =>self.item_description_width, :height => 20) do
text "Total :", :style => :bold, :size => self.item_font_size, :align => :right text "Total :", :style => :bold, :size => self.item_font_size, :align => :right