Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1c82a10e

Von Moritz Bunkus vor etwa 8 Jahren hinzugefügt

  • ID 1c82a10ebeac06882c948e74bb94edb6f8a14495
  • Vorgänger a99fc9f6
  • Nachfolger 63a18cca

Einkaufsrechnungen: keine Multibox für Steuersatzauswahl

Unterschiede anzeigen:

bin/mozilla/ir.pl
$form->get_lists("projects" => { "key" => "ALL_PROJECTS",
"all" => 0,
"old_id" => \@old_project_ids },
"taxzones" => "ALL_TAXZONES",
"taxzones" => ($form->{id} ? "ALL_TAXZONES" : "ALL_ACTIVE_TAXZONES"),
"currencies" => "ALL_CURRENCIES",
"vendors" => "ALL_VENDORS",
"departments" => "all_departments",
templates/webpages/ir/form_header.html
<tr>
<th align="right">[% 'Steuersatz' | $T8 %]</th>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'taxzone_id'
style = 'width: 250px'
DATA = ALL_TAXZONES
id_key = 'id'
readonly = (id ? 1 : 0)
label_key = 'description' -%]
[% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES) , default = taxzone_id, title_key = 'description', disabled = (id ? 1 : 0), style='width: 250px', onchange = "document.getElementById('update_button').click();") %]
[%- IF id %]
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>
[%- END %]
</td>
[%- IF id %]
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>

Auch abrufbar als: Unified diff