71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<td>{$line.date|date_fr:'d/m/Y'}</td>
{if $simple}
<td class="money">{if $line.change > 0}+{else}-{/if}{$line.change|abs|raw|html_money}</td>
{else}
<td class="money">{$line.debit|raw|html_money}</td>
<td class="money">{$line.credit|raw|html_money}</td>
{/if}
{if isset($line.sum)}
<td class="money">{$line.sum|raw|html_money:false}</td>
{/if}
<td>{$line.reference}</td>
<th>{$line.label}</th>
{if !$simple}<td>{$line.line_label}</td>{/if}
<td>{$line.line_reference}</td>
<td class="actions">
{if $line.type == Entities\Accounting\Transaction::TYPE_DEBT}
{linkbutton shape="check" label="Régler cette dette" href="acc/transactions/new.php?payoff_for=%d"|args:$line.id}
{elseif $line.type == Entities\Accounting\Transaction::TYPE_CREDIT}
{linkbutton shape="export" label="Régler cette créance" href="acc/transactions/new.php?payoff_for=%d"|args:$line.id}
{/if}
{linkbutton href="acc/transactions/details.php?id=%d"|args:$line.id label="Détails" shape="search"}
</td>
</tr>
{/foreach}
</tbody>
<tfoot>
|
|
>
>
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<td>{$line.date|date_fr:'d/m/Y'}</td>
{if $simple}
<td class="money">{if $line.change > 0}+{else}-{/if}{$line.change|abs|raw|html_money}</td>
{else}
<td class="money">{$line.debit|raw|html_money}</td>
<td class="money">{$line.credit|raw|html_money}</td>
{/if}
{if isset($line->sum)}
<td class="money">{$line.sum|raw|html_money:false}</td>
{/if}
<td>{$line.reference}</td>
<th>{$line.label}</th>
{if !$simple}<td>{$line.line_label}</td>{/if}
<td>{$line.line_reference}</td>
<td class="actions">
{if ($line.status & Entities\Accounting\Transaction::STATUS_WAITING)}
{if $line.type == Entities\Accounting\Transaction::TYPE_DEBT}
{linkbutton shape="check" label="Régler cette dette" href="acc/transactions/new.php?payoff_for=%d"|args:$line.id}
{elseif $line.type == Entities\Accounting\Transaction::TYPE_CREDIT}
{linkbutton shape="export" label="Régler cette créance" href="acc/transactions/new.php?payoff_for=%d"|args:$line.id}
{/if}
{/if}
{linkbutton href="acc/transactions/details.php?id=%d"|args:$line.id label="Détails" shape="search"}
</td>
</tr>
{/foreach}
</tbody>
<tfoot>
|