Revision 734f5baa
Von Bernd Blessmann vor fast 13 Jahren hinzugefügt
templates/webpages/am/edit_accounts.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 |
[%- USE L %] |
|
2 | 3 |
[% USE HTML %]<script type="text/javascript" src="js/FormManager.js" > |
3 | 4 |
/**************************************************** |
4 | 5 |
* Form Dependency Manager- By Twey- http://www.twey.co.uk |
... | ... | |
81 | 82 |
</fieldset> |
82 | 83 |
|
83 | 84 |
[% IF AccountIsPosted %] |
84 |
[%- SET DIS = ' disabled="disabled"' %] |
|
85 |
[% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %] |
|
86 |
[% IF AR_paid %] [% L.hidden_tag('AR_paid', ' AR_paid') %] [% END %] |
|
87 |
[% IF AR_tax %] [% L.hidden_tag('AR_amount', 'AR_tax') %] [% END %] |
|
88 |
[% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %] |
|
89 |
[% IF AP_paid %] [% L.hidden_tag('AP_paid', ' AP_paid') %] [% END %] |
|
90 |
[% IF AP_tax %] [% L.hidden_tag('AP_amount', 'AP_tax') %] [% END %] |
|
91 |
[%- SET DIS = ' disabled="disabled"' %] |
|
85 | 92 |
[% END %] |
86 | 93 |
<fieldset class="DEPENDS ON charttype BEING A"> |
87 | 94 |
<legend>[% 'Include in drop-down menus' | $T8 %]</legend> |
Auch abrufbar als: Unified diff
Werte von ausgegrauten (disabled) Häkchen als hidden mitschleifen, ...
damit sie beim Speichern nicht verloren gehen. Fehler ist im
commit ee23f6e0a13418cf83d8f70063e2a0de5f5ea66b reingekommen,
da mir nicht klar war, dass disabled input tags keine Werte
an die Form liefern.