Skip to content

Commit

Permalink
Merge pull request #832 from xzzy/master
Browse files Browse the repository at this point in the history
Reportslab bug fix for reading pdf images
  • Loading branch information
xzzy committed Nov 11, 2020
2 parents 2ceaf57 + 0277818 commit 83fe05d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ledger/payments/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
from ledger.accounts.models import Document
from ledger.checkout.utils import calculate_excl_gst

DPAW_HEADER_LOGO = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img','dbca_logo.jpg')
DPAW_HEADER_LOGO_SM = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img','dbca_logo_small.png')
BPAY_LOGO = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img', 'BPAY_2012_PORT_BLUE.png')
#DPAW_HEADER_LOGO = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img','dbca_logo.jpg')
#DPAW_HEADER_LOGO_SM = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img','dbca_logo_small.png')
#BPAY_LOGO = os.path.join(settings.PROJECT_DIR, 'payments','static', 'payments', 'img', 'BPAY_2012_PORT_BLUE.png')

DPAW_HEADER_LOGO = os.path.join(settings.STATIC_ROOT, 'payments','img', 'dbca_logo.jpg')
DPAW_HEADER_LOGO_SM = os.path.join(settings.STATIC_ROOT, 'payments','img','dbca_logo_small.png')
BPAY_LOGO = os.path.join(settings.STATIC_ROOT, 'payments','img', 'BPAY_2012_PORT_BLUE.png')


HEADER_MARGIN = 10
HEADER_SMALL_BUFFER = 3
Expand Down

0 comments on commit 83fe05d

Please sign in to comment.