{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %}
{{month_list.0|date:"F"}} {{month_list.0.year}} | {{month_list.1|date:"F"}} {{month_list.1.year}} | {{month_list.2|date:"F"}} {{month_list.2.year}} | Increase/Decrease From Previous Month | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SL | Concerns |
Earnings | Deductions | Production/Sewing | Earnings | Deductions | Production/Sewing | Earnings | Deductions | Production/Sewing | {% for item in month_list %} {% comment %} Earnings {% endcomment %} | Man Power | Gross | OT | Att. Bonus | EL | Night Bill | Tiffin Bill | Total | {% comment %} Deductions {% endcomment %}Absent | Late | Tax | Total | Payable | {% comment %} Productions {% endcomment %}OT Hour | Targeted Qty | Sewing Qty | Remaining | {% endfor %}Man Power | Gross | ATT. Bonus | EL | Night Bill | Tiffin Bill | OT(TAKA) | OT Hour | Sewing | Payable | {% for info in information_list %}||||||||||||||||||||||||
{{forloop.counter}} | {{info.0.branch}} | {% for branch_info in info %} {% if not forloop.last %}{{branch_info.man_power|floatformat:0}} | {{branch_info.gross|floatformat:0}} | {{branch_info.OT_tk|floatformat:0}} | {{branch_info.att_bonus|floatformat:0}} | {{branch_info.el|floatformat:0}} | {{branch_info.night|floatformat:0}} | {{branch_info.tiffin|floatformat:0}} | {{branch_info.total_earnings|floatformat:0}} | {{branch_info.absent|floatformat:0}} | {{branch_info.late|floatformat:0}} | {{branch_info.tax|floatformat:0}} | {{branch_info.total_deductions|floatformat:0}} | {{branch_info.total_payable|floatformat:0}} | {{branch_info.ot_hour|floatformat:0}} Hrs | {{branch_info.targetted_production}} pcs | {{branch_info.sewing_qty}} pcs | {% if branch_info.production_highlight == 'green'%}{{branch_info.remaining|floatformat:0}} pcs | {% elif branch_info.production_highlight == 'warning' %}{{branch_info.remaining|floatformat:0}} pcs | {% else %}{{branch_info.remaining|floatformat:0}} pcs | {% endif %} {% else %}{{branch_info.man_power|floatformat:0}} | {{branch_info.gross|floatformat:0}} | {{branch_info.att_bonus|floatformat:0}} | {{branch_info.el|floatformat:0}} | {{branch_info.night|floatformat:0}} | {{branch_info.tiffin|floatformat:0}} | {{branch_info.OT_tk|floatformat:0}} | {{branch_info.ot_hour|floatformat:0}} Hrs | {{branch_info.sewing_qty}} pcs | {{branch_info.total_payable|floatformat:0}} | {% endif %} {% endfor %}||||||||||||||||||||||||||||||||
Grand Total | {% for branch_info in grand_total_list %} {% if not forloop.last %}{{branch_info.grand_man_power|floatformat:0}} | {{branch_info.grand_gross|floatformat:0}} | {{branch_info.grand_OT_tk|floatformat:0}} | {{branch_info.grand_att_bonus|floatformat:0}} | {{branch_info.grand_el|floatformat:0}} | {{branch_info.grand_night|floatformat:0}} | {{branch_info.grand_tiffin|floatformat:0}} | {{branch_info.grand_total_earnings|floatformat:0}} | {{branch_info.grand_absent|floatformat:0}} | {{branch_info.grand_late|floatformat:0}} | {{branch_info.grand_tax|floatformat:0}} | {{branch_info.grand_total_deductions|floatformat:0}} | {{branch_info.grand_total_payable|floatformat:0}} | {{branch_info.grand_ot_hour|floatformat:0}} Hrs | {{branch_info.grand_targetted_production}} pcs | {{branch_info.grand_sewing_qty}} pcs | {% if branch_info.grand_production_highlight == 'green'%}{{branch_info.grand_remaining|floatformat:0}} pcs | {% elif branch_info.grand_production_highlight == 'warning' %}{{branch_info.grand_remaining|floatformat:0}} pcs | {% else %}{{branch_info.grand_remaining|floatformat:0}} pcs | {% endif %} {% else %}{{branch_info.grand_man_power|floatformat:0}} | {{branch_info.grand_gross|floatformat:0}} | {{branch_info.grand_att_bonus|floatformat:0}} | {{branch_info.grand_el|floatformat:0}} | {{branch_info.grand_night|floatformat:0}} | {{branch_info.grand_tiffin|floatformat:0}} | {{branch_info.grand_OT_tk|floatformat:0}} | {{branch_info.grand_ot_hour|floatformat:0}} Hrs | {{branch_info.grand_sewing_qty}} pcs | {{branch_info.grand_total_payable|floatformat:0}} | {% endif %} {% endfor %}
**NB: The lunch bill and stamp have not been factored into the current calculation.ML (Absent), salary advance, personal loan instalement are deducted from the Payable