{include="header"} {if condition="empty($id)"}

Global paybacks list

{if condition="$global_paybacks !== FALSE"}
{loop="$global_paybacks"}
{$value->getDate()}
{if condition="$value->getClosed() === false"} Payback n°{$value->getId()} {else} [Closed] Payback n°{$value->getId()} {/if}
{/loop}
{else}

No global paybacks available.

{/if} {else} {if condition="$global_paybacks === false"} Payback doesn't exist. {else}

Payback n°{$global_paybacks->getId()}

{$table=$global_paybacks->getUsersIn()->get()} {loop="$global_paybacks->getUsersIn()->get()"} {/loop} {loop="$global_paybacks->getUsersIn()->get()"} {loop="$global_paybacks->getUsersIn()->get()"} {if condition="$key1 == $key2"} {else} {/if} {/loop} {/loop}
Owes / To{$users[$key1]->getDisplayName()}
{$users[$key1]->getDisplayName()} {if condition="$table[$key1][$key2] != 0"} {$table[$key1][$key2]} {else} - {/if}
{/if}

Go back to global paybacks list

{/if} {include="footer"}