Changeset 12600 for main/ikobacustom.pcn/trunk/src/ikobacustom
- Timestamp:
- 11 Feb 2015, 18:41:56 (10 years ago)
- Location:
- main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/browser.py
r12534 r12600 17 17 ## 18 18 19 import grok 19 20 from zope.component import getUtility 20 21 from waeup.ikoba.interfaces import IIkobaUtils, IExtFileStore … … 22 23 PDFContractSlipPage, CustomerBaseEditFormPage) 23 24 from ikobacustom.pcn.interfaces import MessageFactory as _ 25 from ikobacustom.pcn.customers.interfaces import IRPCContract 24 26 25 27 class PDFContractSlipPage(PDFContractSlipPage): … … 32 34 return self.context.title 33 35 36 def _signatures(self): 37 return () 38 39 def _sigsInFooter(self): 40 return () 41 42 class PDFRPCContractSlipPage(PDFContractSlipPage): 43 """Deliver pdf file including metadata. 44 """ 45 46 grok.context(IRPCContract) 47 48 def _sigsInFooter(self): 49 return (_('Date, Signature of Witness'), 50 _('Date, Signature of Registrant'), 51 ) 34 52 35 53 class CustomerBaseEditFormPage(CustomerBaseEditFormPage): -
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/interfaces.py
r12591 r12600 420 420 """ 421 421 422 state_of_origin= schema.Choice(422 nationality = schema.Choice( 423 423 vocabulary = nats_vocab, 424 title = _(u'State of Origin'), 424 title = _(u'Nationality'), 425 required = False, 426 ) 427 428 nationality_aquired = schema.Choice( 429 values=[_(u'birth'), _(u'naturalization')], 430 title = _(u'Nationality acquired by'), 425 431 required = False, 426 432 ) … … 500 506 ) 501 507 508 witness = schema.Text( 509 title = _(u'Witness'), 510 description = u'Enter name and adress of witness.', 511 required = False, 512 ) 513 502 514 503 515 class IRPCContractOfficialUse(IIkobaObject):
Note: See TracChangeset for help on using the changeset viewer.