Changeset 14029 for main/waeup.aaue/trunk/src
- Timestamp:
- 13 Jul 2016, 09:47:28 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14027 r14029 310 310 state = IWorkflowState(self.context).getState() 311 311 # If the form is unlocked, applicants are allowed to save the form 312 actions = [[_('Save')],] 312 # and remove unused tickets. 313 actions = [[_('Save')], []] 313 314 # Only in state started they can also add tickets. 314 315 if state == STARTED: 315 actions = [[_('Save')], [_('Add online payment ticket'),]] 316 actions = [[_('Save')], 317 [_('Add online payment ticket')]] 316 318 # In state paid, they can submit the data and further add tickets 317 319 # if the application is special. 318 320 elif self.context.special and state == PAID: 319 321 actions = [[_('Save'), _('Finally Submit')], 320 [_('Add online payment ticket') ,]]322 [_('Add online payment ticket')]] 321 323 elif state == PAID: 322 actions = [[_('Save'), _('Finally Submit')], ]324 actions = [[_('Save'), _('Finally Submit')], []] 323 325 return actions 324 326 -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt
r13977 r14029 119 119 </thead> 120 120 <tbody> 121 <tr tal:repeat="cl context/values"> 122 <td> 123 <input type="checkbox" 124 name="val_id" 121 <tr tal:repeat="cl context/payments"> 122 <td> 123 <input type="checkbox" name="val_id" 125 124 tal:attributes="value cl/__name__" 126 125 tal:condition="python: not view.unremovable(cl)" /> … … 130 129 <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td> 131 130 <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td> 132 <td tal:content ="cl/category">CATEGORY</td>133 <td tal:content ="cl/display_item">ITEM</td>134 <td tal:content ="cl/p_state_title">STATE</td>131 <td tal:content ="cl/category">CATEGORY</td> 132 <td tal:content ="cl/display_item">ITEM</td> 133 <td tal:content ="cl/p_state_title">STATE</td> 135 134 </tr> 136 135 </tbody>
Note: See TracChangeset for help on using the changeset viewer.