{% for req in report_list %} {% if forloop.first %}{% endif %} {{ req.orderrxinfo__rx_number }}-{{ req.orderrxinfo__fill_instance }} {{ req.formatted_drugnum }} {{ req.drug_name}} {{ req.request_quantity|floatformat:"-2" }} {{ req.display_patient_name}} {% if has_extra_1 %}{% if req.extra_col_1 %}{{ req.extra_col_1 }}{% endif %}{% endif %} {% if has_extra_2 %}{% if req.extra_col_2 %}{{ req.extra_col_2 }}{% endif %}{% endif %} {{ req.receive_dts|date:"m/d/Y h:i:s A" }} {{ req.rx_batch_type }} {% if pdfrender != 'True' %}         {% endif %} {% endfor %}