{{ form }}
{% if invoicing_enable %} {% endif %} {% for sale in sale_list %} {% if invoicing_enable %} {% endif %} {% endfor %}
{{ 'OrderReference'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'OrderStatus'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'OrderDate'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'PaymentMethod'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'ProductType'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Name'|get_lang }} {{ 'UserName'|get_lang }}{{ 'Invoice'|get_plugin_lang('BuyCoursesPlugin') }}{{ 'Options'|get_lang }}
{{ sale.reference }} {% if sale.status == sale_status_canceled %} {{ 'SaleStatusCanceled'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif sale.status == sale_status_pending %} {{ 'SaleStatusPending'|get_plugin_lang('BuyCoursesPlugin') }} {% elseif sale.status == sale_status_completed %} {{ 'SaleStatusCompleted'|get_plugin_lang('BuyCoursesPlugin') }} {% endif %} {{ sale.date | api_get_local_time }} {{ sale.payment_type }} {{ sale.total_price }} {{ sale.product_type }} {{ sale.product_name }} {{ sale.complete_user_name }} {% if sale.invoice == 1 %} {{ 'InvoiceView'|get_plugin_lang('BuyCoursesPlugin') }}
{{ sale.num_invoice }}
{% endif %}
{% if sale.status == sale_status_pending %} {{ 'SubscribeUser'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'DeleteOrder'|get_plugin_lang('BuyCoursesPlugin') }} {% endif %}