Changeset 16857 for main/kofacustom.unidel/trunk/src/kofacustom
- Timestamp:
- 3 Mar 2022, 22:41:55 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py
r16842 r16857 41 41 NigeriaExportPDFClearanceSlip, 42 42 ) 43 44 43 from kofacustom.unidel.students.interfaces import ( 45 44 ICustomStudentOnlinePayment, … … 62 61 """ View to edit student clearance data by student 63 62 """ 64 65 63 @property 66 64 def form_fields(self): … … 77 75 form_fields['lga'].for_display = True 78 76 return form_fields 77 78 class CustomOnlinePaymentDisplayFormPage(NigeriaOnlinePaymentDisplayFormPage): 79 """ Page to view an online payment ticket 80 """ 81 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 82 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item','p_combi', 83 'net_amt') 84 form_fields[ 85 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 86 form_fields[ 87 'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 88 89 class CustomExportPDFPaymentSlip(NigeriaExportPDFPaymentSlip): 90 """Deliver a PDF slip of the context. 91 """ 92 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 93 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item', 94 'p_split_data','p_combi', 'net_amt') 95 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 96 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 97
Note: See TracChangeset for help on using the changeset viewer.