Order Printer App: Adding a custum number to invoices

40 1 4

Hello, I am using Order Printer App for invoices and for refunds. I am currently displaying the order number as the invoice number in my invoice template like this:


 <li class="order-details-invoice">
                            <span class="order-details-title editable" data-key="invoice_number"> Invoice-Nr.</span>
                            <span class="order-details-text">{{ order_name }}</span>


I want my refund template to also have a number which should be GS-order_number-1000. I have this code so far:


 <li class="order_details">
                            <span class="order-details-title editable" data-key="number"> Refund-Nr. </span>
                            {% for transaction in refund_transactions %}
                            {% endfor %}


What I need is for the "-1000" to also be variable. I need the first refund to be GS-order_number-1000, the second GS-order_number-1001, the third GS-order_number-1002, and so on. I am not sure how I can manage to make the "-1000" dynamic. Any ideas??? Thank you!