{include file='r_basic/head.tpl' title="`$i.basic_calculateaccordingexpenditure`" helpicon_name="calculateaccordingexpenditure" helpicon_color="yellow"}

{include file='r_forms/editable_popform.tpl' id="calcexp_hours"}
    {include file='Calcexp/edit_popform_hours.tpl'}
    </div>
</form>

{include file='r_forms/editable_popform.tpl' id="calcexp_travels"}
    {include file='Calcexp/edit_popform_travels.tpl'}
    </div>
</form>

{include file='r_forms/editable_popform.tpl' id="calcexp_extras"}
    {include file='Calcexp/edit_popform_extras.tpl'}
    </div>
</form>

{include file='r_forms/editable_popform.tpl' id="calculateaccordingexpenditure_level_of_completion"}
    {include file='Calcexp/edit_popform_level_of_completion.tpl'}
    </div>
</form>

<div id="calcexp_tabs">
    <ul>
        <li class="calcexp_tabs_expenses"><a href="#calcexp_tabs_projects"><span>{$i.calcexp_projects}</span></a></li>
        <li class="calcexp_tabs_expenses"><a href="#calcexp_tabs_workareas">{$i.calcexp_work_packages_tags}</a></li>
        <li class="calcexp_tabs_level_of_completion"><a href="#calcexp_tabs_level_of_completion"><span>{$i.calcexp_level_of_completion}</span></a></li>
        <li class="calcexp_tabs_staff"><a href="#calcexp_tabs_staff"><span>{$i.calcexp_staff}</span></a></li>
    </ul>

    <div id="calcexp_tabs_projects">
        {include file='Calcexp/index_projects.tpl'}
    </div>
    <div id="calcexp_tabs_workareas" class="ui-tabs-hide">
        {include file='Calcexp/index_workareas.tpl'}
    </div>
    <div id="calcexp_tabs_level_of_completion" class="ui-tabs-hide">
        {include file='Calcexp/index_level_of_completion.tpl'}
    </div>
    <div id="calcexp_tabs_staff" class="ui-tabs-hide">
        {include file='Calcexp/index_staff.tpl'}
    </div>
</div>