To add the condition for CloseCashierCustmisePdf
This commit is contained in:
@@ -416,7 +416,7 @@ class CloseCashierCustomisePdf < Prawn::Document
|
||||
#end total amount by Account
|
||||
|
||||
#start total other charges amount
|
||||
if total_other_charges > 0
|
||||
if total_other_charges.present?
|
||||
y_position = cursor
|
||||
bounding_box([0,y_position], :width =>self.item_description_width, :height => 20) do
|
||||
text "Total Other Charges :", :size => self.item_font_size, :align => :right
|
||||
|
||||
Reference in New Issue
Block a user