Overview
Comment: | Add skip button to make it clear that this is an optional step |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
5f161b7ae2d378b85c0b8228d91d4431 |
User & Date: | bohwaz on 2020-11-12 19:11:39 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-12
| ||
19:11 | Don't force input size in transaction lines check-in: d984d58520 user: bohwaz tags: dev | |
19:11 | Add skip button to make it clear that this is an optional step check-in: 5f161b7ae2 user: bohwaz tags: dev | |
19:11 | Fix link to account journals check-in: c365d1d81b user: bohwaz tags: dev | |
Changes
Modified src/templates/acc/years/balance.tpl from [7d2666dc35] to [73747311a4].
︙ | ︙ | |||
9 10 11 12 13 14 15 | </p> {/if} <form method="post" action="{$self_url}"> <fieldset> <legend>Exercice : « {$year.label} » du {$year.start_date|date_fr:'d/m/Y'} au {$year.end_date|date_fr:'d/m/Y'}</legend> | < < < > > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | </p> {/if} <form method="post" action="{$self_url}"> <fieldset> <legend>Exercice : « {$year.label} » du {$year.start_date|date_fr:'d/m/Y'} au {$year.end_date|date_fr:'d/m/Y'}</legend> {if null === $previous_year} <dl> <dt><label for="f_from_year">Reprendre les soldes de fermeture d'un exercice clôturé</label></dt> <dd> <select id="f_from_year" name="from_year"> <option value="">-- Aucun</option> {foreach from=$years 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> {else} <p class="help"> Renseigner ici les soldes d'ouverture (débiteur ou créditeur) des comptes. </p> <table class="list transaction-lines"> <thead> <tr> {if $chart_change} <td>Ancien compte</td> <th>Nouveau compte</th> {else} |
︙ | ︙ | |||
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | <td>{button label="Enlever la ligne" shape="minus" min="1" name="remove_line"}</td> </tr> {/foreach} </tbody> <tfoot> <tr> <th>Total</th> <td>{input type="money" name="debit_total" readonly="readonly" tabindex="-1" }</td> <td>{input type="money" name="credit_total" readonly="readonly" tabindex="-1" }</td> <td>{button label="Ajouter une ligne" shape="plus"}</td> </tr> </tfoot> </table> {/if} </fieldset> <p class="submit"> {if null === $previous_year} <input type="submit" name="next" value="Continuer →" /> {else} {csrf_field key="acc_years_balance_%s"|args:$year.id} <input type="hidden" name="from_year" value="{$previous_year.id}" /> <input type="submit" name="save" value="Sauvegarder →" /> {literal} <script type="text/javascript" defer="defer" async="async"> | > > > | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <td>{button label="Enlever la ligne" shape="minus" min="1" name="remove_line"}</td> </tr> {/foreach} </tbody> <tfoot> <tr> <th>Total</th> <td></td> <td>{input type="money" name="debit_total" readonly="readonly" tabindex="-1" }</td> <td>{input type="money" name="credit_total" readonly="readonly" tabindex="-1" }</td> <td>{button label="Ajouter une ligne" shape="plus"}</td> </tr> </tfoot> </table> {/if} </fieldset> <p class="submit"> {if null === $previous_year} <input type="submit" name="next" value="Continuer →" /> - ou - {linkbutton shape="reset" href="acc/years/" label="Passer cet étape"} <i class="help">(Il sera toujours possible de reprendre la balance d'ouverture plus tard.)</i> {else} {csrf_field key="acc_years_balance_%s"|args:$year.id} <input type="hidden" name="from_year" value="{$previous_year.id}" /> <input type="submit" name="save" value="Sauvegarder →" /> {literal} <script type="text/javascript" defer="defer" async="async"> |
︙ | ︙ |