Overview
Comment: | Split transaction ID and transaction reference in ledger and journal |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
8d6bc3f10244a424378106563668e056 |
User & Date: | bohwaz on 2020-12-10 15:58:05 |
Other Links: | manifest | tags |
Context
2020-12-10
| ||
15:59 | Remove deprecated colgroup check-in: be21a1fbe3 user: bohwaz tags: trunk, stable | |
15:58 | Split transaction ID and transaction reference in ledger and journal check-in: 8d6bc3f102 user: bohwaz tags: trunk, stable | |
13:08 | Message for IE/Edge was not working, lol check-in: f4551764d9 user: bohwaz tags: trunk, stable | |
Changes
Modified src/templates/acc/reports/_journal.tpl from [37e07b0e8b] to [4ecba1da68].
1 2 3 | <table class="list multi"> <thead> <tr> | > | | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <table class="list multi"> <thead> <tr> <td class="num">N°</td> <td>Pièce comptable</td> <td>Date</td> <th>Libellé</th> <td>Comptes</td> <td class="money">Débit</td> <td class="money">Crédit</td> <td>Libellé ligne</td> <td>Réf. ligne</td> </tr> </thead> {foreach from=$journal item="transaction"} <tbody> <tr> <td rowspan="{$transaction.lines|count}" class="num"><a href="{$admin_url}acc/transactions/details.php?id={$transaction.id}">#{$transaction.id}</a></td> <td rowspan="{$transaction.lines|count}">{$transaction.reference}</td> <td rowspan="{$transaction.lines|count}">{$transaction.date|date_short}</td> <th rowspan="{$transaction.lines|count}">{$transaction.label}</th> {foreach from=$transaction.lines item="line"} <td>{$line.account_code} - {$line.account_label}</td> <td class="money">{$line.debit|raw|html_money}</td> <td class="money">{$line.credit|raw|html_money}</td> <td>{$line.label}</td> |
︙ | ︙ |
Modified src/templates/acc/reports/ledger.tpl from [988c72bd9f] to [4e2e2f36b6].
︙ | ︙ | |||
20 21 22 23 24 25 26 | <col width="50%" /> <col width="10%" /> <col width="10%" /> <col width="10%" /> </colgroup> <thead> <tr> | | > | > | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <col width="50%" /> <col width="10%" /> <col width="10%" /> <col width="10%" /> </colgroup> <thead> <tr> <td></td> <td>N° pièce</td> <td>Réf. ligne</td> <td>Date</td> <th>Intitulé</th> <td class="money">Débit</td> <td class="money">Crédit</td> <td class="money">Solde</td> </tr> </thead> <tbody> {foreach from=$account.lines item="line"} <tr> <td class="num"><a href="{$admin_url}acc/transactions/details.php?id={$line.id}">#{$line.id}</a></td> <td class="num">{$line.reference}</td> <td class="num">{$line.line_reference}</td> <td>{$line.date|date_short}</td> <th>{$line.label}{if $line.line_label} <em>({$line.line_label})</em>{/if}</th> <td class="money">{$line.debit|raw|html_money}</td> <td class="money">{$line.credit|raw|html_money}</td> <td class="money">{$line.running_sum|raw|html_money:false}</td> </tr> {/foreach} </tbody> <tfoot> <tr> <td colspan="4"></td> <th>Solde final</th> <td class="money">{$account.debit|raw|html_money}</td> <td class="money">{$account.credit|raw|html_money}</td> <td class="money">{$account.sum|raw|html_money:false}</td> </tr> </tfoot> </table> |
︙ | ︙ |