{% comment %}
sales/templates/sales/_hold_issue_form.html
Issue-Stock modal ka body — sales.html AJAX se load karke #holdIssueModal me daalti hai.
{% endcomment %}
{% if fully_issued %}
Poora stock issue ho chuka — invoice complete hai.
{% endif %}
{% if history %}
Issue History & Challans
| # | Date | Items | Remarks | Challan |
{% for h in history %}
| {{ h.issue_no }} |
{{ h.issue_date }} |
{% for l in h.lines %}
{{ l.product_code }} × {{ l.qty_issued }}{% if l.bonus_issued %}(+{{ l.bonus_issued }}){% endif %}
{% endfor %}
|
{{ h.remarks }} |
|
{% endfor %}
{% endif %}