Skip to content

Commit

Permalink
fixed invoice pdf formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jmushtaq committed Aug 15, 2020
1 parent e6f6ffa commit 839be8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/payments/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ def _create_header(canvas, doc, draw_page_number=True):

# Invoice address details
invoice_details_offset = 37
current_y -= 20
current_y -= 0
invoice = doc.invoice
total_gst_tax = invoice.order.total_incl_tax - invoice.order.total_excl_tax
total_gst_tax = invoice.order.total_incl_tax - invoice.order.total_excl_tax

canvas.setFont(BOLD_FONTNAME, SMALL_FONTSIZE)
current_x = PAGE_MARGIN + 5
Expand Down

0 comments on commit 839be8f

Please sign in to comment.