<%! from django.utils.translation import ugettext as _ %> <%page args="section_data"/> <%include file="add_coupon_modal.html" args="section_data=section_data" /> <%include file="edit_coupon_modal.html" args="section_data=section_data" /> <%include file="set_course_mode_price_modal.html" args="section_data=section_data" /> <%include file="generate_registarion_codes_modal.html" args="section_data=section_data" />

Registration Codes

Click to generate Registration Codes Generate Registration Codes

Click to generate a CSV file of all Course Registrations Codes:

Click to generate a CSV file of all Active Course Registrations Codes:

Click to generate a CSV file of all Spent Course Registrations Codes:

${_("Course Price")}

${_("Course Price: ")}$${section_data['course_price']} %if section_data['access']['finance_admin'] is True: + Set Price %endif
%if section_data['access']['finance_admin'] is True:

${_("Transactions")}

%if section_data['total_amount'] is not None: ${_("Total Amount: ")}$${section_data['total_amount']} %endif ${_("Click to generate a CSV file for all purchase transactions in this course")}

${_("Sales")}

${_("Click to generate a CSV file for all sales records in this course")}


${_("Enter the invoice number to invalidate or re-validate sale")}

%endif

${_("Coupons List")}

${_("Click to generate a CSV file of all Coupon Codes:")} ${_("Coupons Information")} ${_("+ Add Coupon")}
%if len(section_data['coupons']): %for coupon in section_data['coupons']: %if coupon.is_active == False: %else: %endif %endfor
${_("Code")} ${_("Description")} ${_("Discount (%)")} ${_("Count")} ${_("Actions")}
${coupon.code} ${coupon.description} ${coupon.percentage_discount} ${ coupon.couponredemption_set.all().count() } [x]Edit
%endif