Changeset 14201 for main


Ignore:
Timestamp:
29 Sep 2016, 05:11:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not show signatures.

Add logo.

Location:
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/browser/pdf.py

    r14181 r14201  
    2727    """
    2828
    29     #header_logo_path = os.path.join(
    30     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    31     #watermark_path = os.path.join(
    32     #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
     29    header_logo_path = os.path.join(
     30        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     31    watermark_path = os.path.join(
     32        os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    3333
    34     #watermark_pos = [-25, 100]
    35     #logo_pos = [507, 720, 40]
     34    watermark_pos = [-25, 100]
     35    logo_pos = [507, 720, 40]
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/browser.py

    r14198 r14201  
    2727    """
    2828
     29    def _signatures(self):
     30        if self.context.contract_category == 'riaa':
     31            return ''
     32        return ([_('Customer Signature')],
     33                [_('Company Officer Signature')]
     34                )
     35
     36    def _sigsInFooter(self):
     37        if self.context.contract_category == 'riaa':
     38            return ''
     39        return (_('Date, Customer Signature'),
     40                _('Date, Company Officer Signature'),
     41                )
     42
    2943    @property
    3044    def label(self):
Note: See TracChangeset for help on using the changeset viewer.