Changeset 12809
- Timestamp:
- 21 Mar 2015, 13:31:16 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/authentication.py
r12523 r12809 111 111 def checkPassword(self, password): 112 112 """Check whether the given `password` matches the one stored by 113 customers or the temporary password set by officers.113 customers or the temporary password set by the system. 114 114 115 115 We additionally check if customer account has been suspended. -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12806 r12809 820 820 @property 821 821 def title(self): 822 return "%s ..." % self.context.document_id[:9]822 return "%s" % self.context.document_id[:9] 823 823 824 824 … … 1180 1180 @property 1181 1181 def title(self): 1182 return "%s ..." % self.context.contract_id[:9]1182 return "%s" % self.context.contract_id[:9] 1183 1183 1184 1184 -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/contractsmanagepage.pt
r12445 r12809 23 23 <td> 24 24 <a tal:attributes="href python: view.url(contract)"> 25 <span tal:content="python: contract.contract_id[:9]">CONID</span>...</a> 25 <span tal:content="python: contract.contract_id[:9]">CONID</span> 26 </a> 26 27 </td> 27 28 <td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/documentsmanagepage.pt
r12445 r12809 23 23 <td> 24 24 <a tal:attributes="href python: view.url(document)"> 25 <span tal:content="python: document.document_id[:9]">DOCID</span>...</a> 25 <span tal:content="python: document.document_id[:9]">DOCID</span> 26 </a> 26 27 </td> 27 28 <td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/paymentspage.pt
r12762 r12809 15 15 <tbody> 16 16 <tr tal:repeat="value view/payments"> 17 <td ><span tal:content="python: value[0].payment_id[:9]"></span>...</td>17 <td tal:content="python: value[0].payment_id[:9]">PAYMENT_ID</td> 18 18 <td tal:content="python: layout.formatDatetime(value[0].creation_date)">CREATION DATE</td> 19 19 <td tal:content="python: layout.formatDatetime(value[0].payment_date)">PAYMENT DATE</td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/interfaces.py
r12768 r12809 143 143 title = _(u'Email'), 144 144 required = True, 145 constraint =validate_email,145 constraint = validate_email, 146 146 source = contextual_email_source, 147 147 ) … … 214 214 title = _(u'Email Address'), 215 215 required = True, 216 constraint =validate_email,216 constraint = validate_email, 217 217 ) 218 218 … … 242 242 title = _(u'Email'), 243 243 required = True, 244 constraint =validate_email,244 constraint = validate_email, 245 245 source = contextual_email_source, 246 246 ) … … 266 266 title = _(u'Document Id'), 267 267 required = False, 268 constraint =validate_uuid,268 constraint = validate_uuid, 269 269 ) 270 270 … … 321 321 title = _(u'Contract Id'), 322 322 required = False, 323 constraint =validate_uuid,323 constraint = validate_uuid, 324 324 ) 325 325 … … 333 333 title = _(u'Options/Fees'), 334 334 value_type = schema.Choice( 335 source =ProductOptionSourceFactory(),335 source = ProductOptionSourceFactory(), 336 336 required = True, 337 337 ), 338 constraint =unique_currency,338 constraint = unique_currency, 339 339 required = False, 340 340 readonly = False, … … 392 392 product_options = schema.List( 393 393 value_type = ProductOptionField(), 394 constraint =unique_currency,394 constraint = unique_currency, 395 395 required = False, 396 396 readonly = False, -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_interfaces.py
r12785 r12809 134 134 source = CustomerDocumentSource() 135 135 result = source.factory.getTitle(object(), self.document) 136 self.assertEqual(result, u'DOC1 ...- My Sample Document')136 self.assertEqual(result, u'DOC1 - My Sample Document') 137 137 138 138 def test_getValues_RefereeSourceFactory(self): -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/vocabularies.py
r12785 r12809 195 195 196 196 def getTitle(self, context, value): 197 return "%s ...- %s" % (value.document_id[:9], value.title)197 return "%s - %s" % (value.document_id[:9], value.title) 198 198 199 199 -
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/browser_templates/containermanagepage.pt
r12763 r12809 43 43 <input type="checkbox" name="entries" tal:attributes="value python:value[0].__name__" /> 44 44 </td> 45 <td ><span tal:content="python: value[0].payment_id[:9]"></span>...</td>45 <td tal:content="python: value[0].payment_id[:9]">PAYMENT_ID</td> 46 46 <td tal:content="python: layout.formatDatetime(value[0].creation_date)">CREATION DATE</td> 47 47 <td tal:content="python: layout.formatDatetime(value[0].payment_date)">PAYMENT DATE</td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/browser_templates/containerpage.pt
r12762 r12809 38 38 <tbody> 39 39 <tr tal:repeat="value view/hitlist"> 40 <td ><span tal:content="python: value[0].payment_id[:9]"></span>...</td>40 <td tal:content="python: value[0].payment_id[:9]">PAYMENT_ID</td> 41 41 <td tal:content="python: layout.formatDatetime(value[0].creation_date)">CREATION DATE</td> 42 42 <td tal:content="python: layout.formatDatetime(value[0].payment_date)">PAYMENT DATE</td>
Note: See TracChangeset for help on using the changeset viewer.