{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% load humanize %} {% block scripts %} {% endblock %} {% block title %} Cost Reporting Results {% endblock %} {% block content %}

The reporting period has ended. Results are presented below:
{% if type == 1 %}Your Project (Project A):{% else %}Your Project (Project B):{% endif %}  
Actual cost was: = {% if type == 1 %}{{ player.actual_A|intcomma }}{% else %}{{ player.actual_B|intcomma }}{% endif %}
You reported a cost of: = {% if type == 1 %}{{ player.report_A|intcomma }}{% else %}{{ player.report_B|intcomma }}{% endif %}
{% if type == 1 %}Manager B{% else %}Manager A{% endif %} reported a cost of: = {% if type == 1 %}{{ player.report_A_partner|intcomma }}{% else %}{{ player.report_B_partner|intcomma }}{% endif %}

{% if type == 1 %}Project B:{% else %}Project A:{% endif %}  
Actual cost was: = {% if type == 1 %}{{ player.actual_B|intcomma }}{% else %}{{ player.actual_A|intcomma }}{% endif %}
You reported a cost of: = {% if type == 1 %}{{ player.report_B|intcomma }}{% else %}{{ player.report_A|intcomma }}{% endif %}
{% if type == 1 %}Manager B{% else %}Manager A{% endif %} reported a cost of: = {% if type == 1 %}{{ player.report_B_partner|intcomma }}{% else %}{{ player.report_A_partner|intcomma }}{% endif %}


Therefore, since the only projects that are audited are those whose cost reports DO NOT match between managers:

{% if type == 1 %} Your project {% if player.audit_flag_A == 1 %}was{% else %}was not{% endif %} audited.
{% if player.audit_flag_A == 1 %} Results of the audit process show that the actual cost of your project was: {{ player.actual_A|intcomma }}
{% endif %} Project B {% if player.audit_flag_B == 1 %}was{% else %}was not{% endif %} audited.
{% if player.audit_flag_B == 1 %} Results of the audit process show that the actual cost of Project B was: {{ player.actual_B|intcomma }}
{% endif %} {% else %} Your project {% if player.audit_flag_B == 1 %}was{% else %}was not{% endif %} audited.
{% if player.audit_flag_B == 1 %} Results of the audit process show that the actual cost of your project was: {{ player.actual_B|intcomma }}
{% endif %} Project A {% if player.audit_flag_A == 1 %}was{% else %}was not{% endif %} audited.
{% if player.audit_flag_A == 1 %} Results of the audit process show that the actual cost of Project A was: {{ player.actual_A|intcomma }}
{% endif %} {% endif %}

{% if player.bust_A == 1 or player.bust_B == 1 %} You were found to have misreported project costs, and will receive no compensation for the period.
{% endif %} {% if player.bust_A_partner == 1 or player.bust_B_partner == 1 %} {% if type == 1 %}Manager B{% else %}Manager A{% endif %} was found to have misreported project costs, and will receive no compensation for the period.
{% endif %}


Based on the results above, potential compensation for the period is:
{% if condition == 5 or condition == 6 %} {% else %} {% endif %}
You: {% if type == 1 %}Manager B:{% else %}Manager A:{% endif %}  
{% if player.bust_A == 1 or player.bust_B == 1 %}0{% else %}{% if condition == 5 or condition == 6 %}15,000{% else %}30,000{% endif %}{% endif %} {% if player.bust_A_partner == 1 or player.bust_B_partner == 1 %}0{% else %}{% if condition == 5 or condition == 6 %}15,000{% else %}30,000{% endif %}{% endif %} = Salary
{% if type == 1 %} {% if condition == 5 or condition == 6 %} {{ player.slack_A_share|intcomma }} {% else %} {{ player.slack_A|intcomma }} {% endif %} {% else %} {% if condition == 5 or condition == 6 %} {{ player.slack_B_share|intcomma }} {% else %} {{ player.slack_B|intcomma }} {% endif %} {% endif %} {% if type == 1 %} {% if condition == 5 or condition == 6 %} {{ player.slack_B_share|intcomma }} {% else %} {{ player.slack_B|intcomma }} {% endif %} {% else %} {% if condition == 5 or condition == 6 %} {{ player.slack_A_share|intcomma }} {% else %} {{ player.slack_A|intcomma }} {% endif %} {% endif %} = Extra funds obtained above actual project costs{% if condition == 5 or condition == 6 %} (split with employee 50/50){% endif %}
{% if player.lira == 105000 %} 90,000 {% elif player.lira >= 60000 %} 45,000 {% else %} 0 {% endif %} {% if player.lira_partner == 105000 %} 90,000 {% elif player.lira_partner >= 60000 %} 45,000 {% else %} 0 {% endif %} = Audit bonus {% if player.lira >= 120000 %} 90,000 {% elif player.lira == 210000 %} 180,000 {% else %} 0 {% endif %} {% if player.lira_partner >= 120000 %} 90,000 {% elif player.lira_partner == 210000 %} 180,000 {% else %} 0 {% endif %} = Audit bonus
{{ player.lira|intcomma }} {{ player.lira_partner|intcomma }} = Total experimental dollars
${{ player.potential_comp }} ${{ player.potential_comp_partner }} = Total $ {% if condition == 5 or condition == 6 %}(5,000 experimental dollars = $0.50){% else %}(5,000 experimental dollars = $0.25){% endif %}

When ready, please click "Next" to advance to the next period. As a reminder, you will {% if condition < 3 %}be re-matched with a different manager {% if type == 1 %}B {% else %}A {% endif %}in each period {% elif condition < 5 %}be re-matched with a different manager {% if type == 1 %}B {% else %}A {% endif %}and a different company owner in each period{% else %}remain matched with the same manager {% if type == 1 %}B {% else %}A {% endif %}and owner in all periods{% endif %}.


{% next_button %} {% endblock %} {% block styles %} {% endblock %}