Changeset 16631 for main/kofacustom.iuokada
- Timestamp:
- 20 Sep 2021, 21:41:15 (3 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py
r16628 r16631 288 288 ticket.p_session in sessions: 289 289 sf_paid[ticket.p_session] += ticket.net_amt 290 return sf_paid, total_sf 290 brought_fwd = 0.0 291 for key in self.context.keys(): 292 ticket = self.context[key] 293 if ticket.p_state != 'paid' and\ 294 ticket.p_category == 'brought_fwd': 295 brought_fwd += ticket.amount_auth 296 return sf_paid, total_sf, brought_fwd 291 297 292 298 class StudentGetMatricNumberPage(UtilityView, grok.View): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser_templates/paymentsmanagepage.pt
r16623 r16631 60 60 <td tal:content ="python: sfpm[1]">AMOUNT</td> 61 61 <td tal:content ="python: view.schoolfee_payments_made[1]-sfpm[1]">DUE</td> 62 62 63 </tr> 63 64 </tbody> 64 65 </table> 66 <p> 67 <strong>Balance Brought Forward:</strong> <span tal:content ="python: view.schoolfee_payments_made[2]">BROUGHTFORWARD</span> 68 </p> 65 69 66 70 </form>
Note: See TracChangeset for help on using the changeset viewer.