{% extends "base.html" %}
{% block title %}Invoice Print Options{% endblock %}
{% block content %}
<h2>🧾 Invoice Print Options</h2>
<div class="card p-4"><p><b>Invoice:</b> {{ order.invoice_no or order.id }}</p><p><b>Item:</b> {{ order.item_name }}</p><div class="d-flex flex-wrap gap-2"><a class="btn btn-primary" target="_blank" href="{{ url_for('generate_invoice', order_id=order.id) }}?size=thermal80">Thermal 80mm</a><a class="btn btn-secondary" target="_blank" href="{{ url_for('generate_invoice', order_id=order.id) }}?size=thermal58">Thermal 58mm</a><a class="btn btn-success" target="_blank" href="{{ url_for('generate_invoice', order_id=order.id) }}?size=a6">A6</a><a class="btn btn-info" target="_blank" href="{{ url_for('generate_invoice', order_id=order.id) }}?size=a5">A5</a></div></div>
{% endblock %}
