Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4dd985fe

Von Niclas Zimmermann vor fast 11 Jahren hinzugefügt

  • ID 4dd985fec12f1d30595c8b9d0c9b3b8942f1fea8
  • Vorgänger e6de5d28
  • Nachfolger 593a7185

Hidden-Variablen vereinheitlichen

Bei VK-/EK-Rechnungen wurden hidden-Tags an unterschiedlichen Stellen
erzeugt. Das geschieht nun an nur einer Stelle.

Unterschiede anzeigen:

bin/mozilla/ir.pl
328 328
    shiptoname shiptostreet shiptozipcode shiptocity shiptocountry  shiptocontact shiptophone shiptofax
329 329
    shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus
330 330
    convert_from_do_ids convert_from_oe_ids show_details gldate
331
    rowcount callback draft_id draft_description vendor_discount
331 332
  ), @custom_hiddens,
332 333
  map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}];
333 334

  
bin/mozilla/is.pl
378 378
    shiptoname shiptostreet shiptozipcode shiptocity shiptocountry  shiptocontact shiptophone shiptofax
379 379
    shiptoemail shiptodepartment_1 shiptodepartment_2  shiptocp_gender message email subject cc bcc taxaccounts cursor_fokus
380 380
    convert_from_do_ids convert_from_oe_ids
381
    show_details
381
    show_details rowcount callback draft_id draft_description customer_discount gldate
382 382
  ), @custom_hiddens,
383 383
  map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}];
384 384

  
templates/webpages/ir/form_footer.html
150 150
      [% END %]
151 151
  [% END %]
152 152

  
153
<input type="hidden" name="rowcount" value="[% rowcount %]">
154
<input type="hidden" name="callback" value="[% callback %]">
155
<input type="hidden" name="draft_id" value="[% draft_id %]">
156
<input type="hidden" name="draft_description" value="[% draft_description %]">
157
<input type="hidden" name="vendor_discount" value="[% vendor_discount %]">
158

  
159 153
</form>
templates/webpages/is/form_footer.html
191 191
      [% END %]
192 192
  [% END %]
193 193

  
194
<input type="hidden" name="rowcount" value="[% rowcount %]">
195
<input type="hidden" name="callback" value="[% callback | html %]">
196
<input type="hidden" name="draft_id" value="[% draft_id %]">
197
<input type="hidden" name="draft_description" value="[% draft_description %]">
198
<input type="hidden" name="customer_discount" value="[% customer_discount %]">
199
<input type="hidden" name="gldate" value="[% gldate %]">
200 194
</form>

Auch abrufbar als: Unified diff