remove rounding adj: in total for close cashier pdf
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user