Overview
Comment: | Add message to make it clear that only open years can be changed. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
530ac8e40522a308fedcf6a15ef1775b |
User & Date: | bohwaz on 2020-11-12 22:48:40 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-12
| ||
23:30 | Improve SQLite performance check-in: 44ec7357a9 user: bohwaz tags: dev | |
22:48 | Add message to make it clear that only open years can be changed. check-in: 530ac8e405 user: bohwaz tags: dev | |
19:32 | New release check-in: 5e3d3d3934 user: bohwaz tags: dev, 1.0.0-beta2 | |
Changes
Modified src/templates/acc/accounts/simple.tpl from [102b4f10e1] to [f16d565553].
1 2 | {include file="admin/_head.tpl" title="Suivi : %s"|args:$types[$type] current="acc/simple"} | > | > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {include file="admin/_head.tpl" title="Suivi : %s"|args:$types[$type] current="acc/simple"} {if empty($year)} {include file="acc/_year_select.tpl"} {else} <nav class="acc-year"> <h4>Exercice sélectionné :</h4> <h3>{$year.label} — {$year.start_date|date_fr:'d/m/Y'} au {$year.end_date|date_fr:'d/m/Y'}</h3> </nav> {/if} {if Entities\Accounting\Account::isReversed($type)} {include file="acc/_simple_help.tpl" link=null type=$type} {/if} <nav class="tabs"> <aside> |
︙ | ︙ |
Modified src/templates/acc/years/select.tpl from [cff9ec5aab] to [d66e1da255].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {include file="admin/_head.tpl" title="Changer d'exercice" current="acc/years"} <form method="post" action="{$self_url}"> <fieldset> <legend>Changer l'exercice de travail</legend> <dl> <dd> <select name="year"> {foreach from=$list item="year"} <option value="{$year.id}">{$year.label} — {$year.start_date|date_fr:'d/m/Y'} au {$year.end_date|date_fr:'d/m/Y'}</option> {/foreach} </select> </dd> </dl> </fieldset> <p class="submit"> {csrf_field key="acc_select_year"} <input type="hidden" name="from" value="{$from}" /> <input type="submit" name="change" value="Changer →" /> </p> </form> {include file="admin/_foot.tpl"} | > > | 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 | {include file="admin/_head.tpl" title="Changer d'exercice" current="acc/years"} <form method="post" action="{$self_url}"> <fieldset> <legend>Changer l'exercice de travail</legend> <dl> <dd> <select name="year"> {foreach from=$list item="year"} <option value="{$year.id}">{$year.label} — {$year.start_date|date_fr:'d/m/Y'} au {$year.end_date|date_fr:'d/m/Y'}</option> {/foreach} </select> </dd> <dd class="help">Ici ne peuvent être sélectionnés que les exercices ouverts, car il n'est pas possible de modifier un exercice clos. Pour consulter les rapports pour les exercices clos, voir <a href="{$www_url}admin/acc/years/">la liste des exercices</a>.</dd> </dl> </fieldset> <p class="submit"> {csrf_field key="acc_select_year"} <input type="hidden" name="from" value="{$from}" /> <input type="submit" name="change" value="Changer →" /> </p> </form> {include file="admin/_foot.tpl"} |