From
{{ transfer.from_branch.branch_name }}
To
{{ transfer.to_branch.branch_name }}
Status:
{{ transfer.get_status_display|upper }}
Mode: {% if transfer.bill_on_purchase %}FIFO{% else %}Rate{% endif %}
Items: {{ lines|length }}
Qty: {{ total_qty|floatformat:1 }}
| # |
Code |
Product |
Qty |
Rate |
Total |
{% for line in lines %}
| {{ forloop.counter }} |
{{ line.product_code|truncatechars:10 }} |
{{ line.product_name|truncatechars:20 }} |
{{ line.quantity|floatformat:1 }} |
{{ line.fifo_cost|floatformat:1|default:line.user_price|floatformat:1|default:"--" }} |
{% with rate=line.fifo_cost|default:line.user_price|default:0 %}
{% widthratio line.quantity 1 rate %}
{% endwith %}
|
{% endfor %}
{% if overhead.total %}
Disc: -{{ overhead.discount|floatformat:1 }}
Loading: {{ overhead.transport|floatformat:1 }}
Comm: {{ overhead.other|floatformat:1 }}
Other: {{ overhead.tax|floatformat:1 }}
Net: {{ overhead.total|floatformat:1 }}
{% endif %}
Subtotal:
{{ subtotal|floatformat:2 }}
Overhead:
{{ overhead.total|floatformat:2 }}
GRAND TOTAL:
{{ grand_total|floatformat:2 }}
{{ print_date|date:"Y-m-d H:i" }} | #{{ transfer.pk }}