Changeset 14191 for main/ikobacustom.uniben/trunk/src
- Timestamp:
- 27 Sep 2016, 08:33:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/interfaces.py
r14190 r14191 19 19 from zope import schema 20 20 from waeup.ikoba.interfaces import IIkobaObject 21 from waeup.ikoba.schema import FormattedDate 21 22 from waeup.ikoba.customers.interfaces import ( 22 23 ICustomer, ICustomerDocument, ICustomerPDFDocument, IContract) 23 24 from waeup.ikoba.customers.vocabularies import ( 24 ConCatProductSource, CustomerDocumentSource )25 ConCatProductSource, CustomerDocumentSource, nats_vocab) 25 26 from waeup.ikoba.products.productoptions import ProductOptionField 26 27 from ikobacustom.uniben.interfaces import MessageFactory as _ … … 51 52 52 53 """ 54 55 title_rank = schema.TextLine( 56 title = _(u'Title/Rank'), 57 required = False, 58 ) 59 60 department = schema.TextLine( 61 title = _(u'Department/Faculty/Institute'), 62 required = False, 63 ) 64 65 date_of_birth = FormattedDate( 66 title = _(u'Date of Birth'), 67 required = False, 68 show_year = True, 69 ) 70 71 nationality = schema.Choice( 72 vocabulary = nats_vocab, 73 title = _(u'Current Nationality'), 74 required = False, 75 ) 76 77 address = schema.Text( 78 title = _(u'Affiliation/Address'), 79 required = False, 80 ) 81 82 app_dates = schema.Text( 83 title = _(u'Date of Appointment as Uniben staff'), 84 description = u'State periods nominee had a break in service from ' 85 'UNIBEN service (including leave of absence), ' 86 'but excluding training/study/sabbatical leave', 87 required = False, 88 ) 53 89 54 90 bib_cit = schema.Text( … … 173 209 """ 174 210 211 title_rank = schema.TextLine( 212 title = _(u'Title/Rank'), 213 required = True, 214 ) 215 216 department = schema.TextLine( 217 title = _(u'Department/Faculty/Institute'), 218 required = True, 219 ) 220 221 date_of_birth = FormattedDate( 222 title = _(u'Date of Birth'), 223 required = True, 224 show_year = True, 225 ) 226 227 nationality = schema.Choice( 228 vocabulary = nats_vocab, 229 title = _(u'Current Nationality'), 230 required = True, 231 ) 232 233 address = schema.Text( 234 title = _(u'Affiliation/Address'), 235 required = True, 236 ) 237 238 app_dates = schema.Text( 239 title = _(u'Date of Appointment as Uniben staff'), 240 description = u'State periods nominee had a break in service from ' 241 'UNIBEN service (including leave of absence), ' 242 'but excluding training/study/sabbatical leave', 243 required = True, 244 ) 245 175 246 bib_cit = schema.Text( 176 247 title = _(u'Biographical Citation'),
Note: See TracChangeset for help on using the changeset viewer.