<%! 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" />

Registration Codes

Enter the transaction group name and number of registration codes that you want to generate. Click to generate a CSV :

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")}

%endif

${_("Coupons List")}

${_("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")} ${_("Course_id")} ${_("Discount (%)")} ${_("Count")} ${_("Actions")}
${coupon.code} ${coupon.description} ${coupon.course_id.to_deprecated_string()} ${coupon.percentage_discount} ${ coupon.couponredemption_set.all().count() } [x]Edit
%endif