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
270 270
  $form->get_lists("projects"      => { "key"    => "ALL_PROJECTS",
271 271
                                        "all"    => 0,
272 272
                                        "old_id" => \@old_project_ids },
273
                   "taxzones"      => "ALL_TAXZONES",
273
                   "taxzones"      => ($form->{id} ? "ALL_TAXZONES" : "ALL_ACTIVE_TAXZONES"),
274 274
                   "currencies"    => "ALL_CURRENCIES",
275 275
                   "vendors"       => "ALL_VENDORS",
276 276
                   "departments"   => "all_departments",
templates/webpages/ir/form_header.html
107 107
        <tr>
108 108
          <th align="right">[% 'Steuersatz' | $T8 %]</th>
109 109
          <td>
110
            [%- INCLUDE 'generic/multibox.html'
111
                 name       = 'taxzone_id'
112
                 style      = 'width: 250px'
113
                 DATA       = ALL_TAXZONES
114
                 id_key     = 'id'
115
                 readonly   = (id ? 1 : 0)
116
                 label_key  = 'description' -%]
110
            [% 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();") %]
111
  [%- IF id %]
112
          <input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>
113
  [%- END %]
117 114
          </td>
118 115
  [%- IF id %]
119 116
          <input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>

Auch abrufbar als: Unified diff