This commit is contained in:
Zoey
2019-05-20 14:50:01 +06:30
parent 770b064045
commit 7c58a5a662
10 changed files with 17 additions and 16 deletions

View File

@@ -175,6 +175,7 @@ class CloseCashierPdf < Prawn::Document
bounding_box([self.item_description_width,y_position], :width =>self.price_width, :height => 20) do
text "#{number_with_precision(shift_sale.credit_sales, :precision => precision.to_i, :delimiter => delimiter) }", :size => self.item_font_size, :align => :right
end
#start other payment details
if shift_sale.other_sales > 0
other_payment.each do |other|