Ignore:
Timestamp:
12 Nov 2005, 14:45:08 (19 years ago)
Author:
joachim
Message:

=more enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py

    r164 r166  
    4545sc_value = { ###(
    4646        'type': 'CPS Float Field',
     47        'data': {
     48            'default_expr': 'python:0.',
     49            'is_searchabletext': True,
     50            'acl_read_permissions': '',
     51            'acl_read_roles': '',
     52            'acl_read_expr': '',
     53            'acl_write_permissions': '',
     54            'acl_write_roles': '',
     55            'acl_write_expr': '',
     56            'read_ignore_storage': False,
     57            'read_process_expr': '',
     58            'read_process_dependent_fields': (),
     59            'write_ignore_storage': False,
     60            'write_process_expr': '',
     61            },
     62        }
     63###)
     64sc_date = { ###(
     65        'type': 'CPS DateTime Field',
    4766        'data': {
    4867            'default_expr': 'python:500.',
     
    137156        'data': {
    138157            'is_searchabletext': 0,
    139             'acl_write_roles': 'SectionReader',
    140158        },
    141159    },
     
    150168        },
    151169    },
     170    'accommodation' : { ###(
     171        'type': 'CPS String Field',
     172        'data': {
     173            'default_expr': 'string:',
     174            'is_searchabletext': True,
     175            'acl_read_permissions': '',
     176            'acl_read_roles': '',
     177            'acl_read_expr': '',
     178            'acl_write_permissions': '',
     179            'acl_write_roles': '',
     180            'acl_write_expr': '',
     181            'read_ignore_storage': False,
     182            'read_process_expr': '',
     183            'read_process_dependent_fields': (),
     184            'write_ignore_storage': False,
     185            'write_process_expr': '',
     186             },
     187        }, ###)
    152188    'accommodation_sc_id' : sc_id,
    153189    'accommodation_sc_pin' : sc_pin,
     
    160196        },
    161197    },
     198    'hostel_fee_sc_id' : sc_id,
     199    'hostel_fee_sc_pin' : sc_pin,
     200    'hostel_fee_sc_value' : sc_value,
     201    'hostel_fee_date' : {
     202        'type': 'CPS DateTime Field',
     203        'data': {
     204            'is_searchabletext': 0,
     205            'acl_write_roles': 'SectionReader',
     206        },
     207    },
    162208}
    163209###)
     
    205251###)
    206252
     253student_hostel_fee = { ###(
     254    'sc_id': sc_id,
     255    'sc_pin': sc_pin,
     256    'sc_value': { ###(
     257        'type': 'CPS Float Field',
     258        'data': {
     259            'default_expr': 'python:2500.',
     260            'is_searchabletext': True,
     261            'acl_read_permissions': '',
     262            'acl_read_roles': '',
     263            'acl_read_expr': '',
     264            'acl_write_permissions': '',
     265            'acl_write_roles': '',
     266            'acl_write_expr': '',
     267            'read_ignore_storage': False,
     268            'read_process_expr': '',
     269            'read_process_dependent_fields': (),
     270            'write_ignore_storage': False,
     271            'write_process_expr': '',
     272            },
     273        },###)
     274    'accommodation': {
     275        'type': 'CPS String Field',
     276        'data': {
     277            'default_expr': 'string:',
     278            'is_searchabletext': True,
     279            'acl_read_permissions': '',
     280            'acl_read_roles': '',
     281            'acl_read_expr': '',
     282            'acl_write_permissions': '',
     283            'acl_write_roles': '',
     284            'acl_write_expr': '',
     285            'read_ignore_storage': False,
     286            'read_process_expr': '',
     287            'read_process_dependent_fields': (),
     288            'write_ignore_storage': False,
     289            'write_process_expr': '',
     290             },
     291        },
     292}
     293###)
     294
    207295student_admission = { ###(
    208296    'sc_id': sc_id,
     
    346434        },
    347435    },
     436}
     437###)
     438
     439student_documents = { ###(
    348440     'photo': {
    349441        'type': 'CPS Image Field',
     
    353445    },
    354446     'birth_certificate': {
     447        'type': 'CPS Image Field',
     448        'data': {
     449            'is_searchabletext': 0,
     450        },
     451    },
     452     'passport': {
     453        'type': 'CPS Image Field',
     454        'data': {
     455            'is_searchabletext': 0,
     456        },
     457    },
     458     'results_first': {
     459        'type': 'CPS Image Field',
     460        'data': {
     461            'is_searchabletext': 0,
     462        },
     463    },
     464     'results_second': {
    355465        'type': 'CPS Image Field',
    356466        'data': {
     
    764874schemas['student_admission'] = student_admission
    765875schemas['student_clearence'] = student_clearence
     876schemas['student_documents'] = student_documents
    766877schemas['student_eligibility'] = student_eligibility
    767878schemas['student_accommodation'] = student_accommodation
     879schemas['student_hostel_fee'] = student_hostel_fee
    768880schemas['study_level'] = study_level
    769881schemas['course_results'] = course_results_schema
Note: See TracChangeset for help on using the changeset viewer.