Changeset 17597 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 28 Sep 2023, 07:36:15 (14 months ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r17538 r17597 572 572 form_fields['courier_tno'].for_display = True 573 573 form_fields['proc_date'].for_display = True 574 for field in TRANS_OMIT_EDIT_FIELDS:575 form_fields = form_fields.omit(field)576 574 if state == PAID: 577 575 form_fields['order'].for_display = True 578 576 form_fields = form_fields.omit('locked') 577 578 form_fields['date_of_birth'].field.required = True 579 #form_fields['nationality'].field.required = True 580 form_fields['email'].field.required = True 581 form_fields['phone'].field.required = True 582 form_fields['dispatch_address'].field.required = True 583 form_fields['entry_mode'].field.required = True 584 form_fields['entry_session'].field.required = True 585 form_fields['end_session'].field.required = True 586 form_fields['course_studied'].field.required = True 587 form_fields['collected'].field.required = True 588 form_fields['order'].field.required = True 589 form_fields['charge'].field.required = True 590 form_fields['no_copies'].field.required = True 591 592 for field in TRANS_OMIT_EDIT_FIELDS: 593 form_fields = form_fields.omit(field) 579 594 return form_fields 580 595 if self.target is not None and self.target == 'tscs': … … 582 597 form_fields['courier_tno'].for_display = True 583 598 form_fields['proc_date'].for_display = True 599 600 form_fields['date_of_birth'].field.required = True 601 #form_fields['nationality'].field.required = True 602 form_fields['email'].field.required = True 603 form_fields['phone'].field.required = True 604 form_fields['dispatch_address'].field.required = True 605 form_fields['entry_mode'].field.required = True 606 form_fields['entry_session'].field.required = True 607 form_fields['end_session'].field.required = True 608 form_fields['course_studied'].field.required = True 609 form_fields['collected'].field.required = True 610 form_fields['order'].field.required = True 611 form_fields['charge'].field.required = True 612 form_fields['no_copies'].field.required = True 613 584 614 for field in TRANS_SHORT_OMIT_EDIT_FIELDS: 585 615 form_fields = form_fields.omit(field) -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r17593 r17597 335 335 date_of_birth = FormattedDate( 336 336 title = _(u'Date of Birth'), 337 required = True,337 required = False, 338 338 #date_format = u'%d/%m/%Y', # Use grok-instance-wide default 339 339 show_year = True, … … 373 373 title = _(u'Have you collected transcript before?'), 374 374 default = False, 375 required = True,375 required = False, 376 376 ) 377 377 … … 379 379 title = _(u'Academic Session of Entry'), 380 380 source = academic_sessions_vocab, 381 required = True,381 required = False, 382 382 readonly = False, 383 383 ) … … 386 386 title = _(u'Academic Session of Graduation'), 387 387 source = academic_sessions_vocab, 388 required = True,388 required = False, 389 389 readonly = False, 390 390 ) … … 393 393 title = _(u'Mode of Entry'), 394 394 source = StudyModeSource(), 395 required = True,395 required = False, 396 396 readonly = False, 397 397 ) … … 429 429 source = OrderSource(), 430 430 title = _(u'Type of Order'), 431 required = True,431 required = False, 432 432 ) 433 433 … … 444 444 title = _(u'Transcript Charge'), 445 445 source = DestinationCostSource(), 446 required = True,446 required = False, 447 447 readonly = False, 448 448 ) … … 452 452 description = u'Must correspond with the number of dispatch addresses above.', 453 453 values=[1, 2, 3, 4], 454 required = True,454 required = False, 455 455 readonly = False, 456 456 default = 1,
Note: See TracChangeset for help on using the changeset viewer.