Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 43a9cf43

Von Martin Helmling vor fast 7 Jahren hinzugefügt

  • ID 43a9cf43dcdc7303af49430f5dd9d05cab30f30c
  • Vorgänger a2888a6e
  • Nachfolger 12b50381

Error bei Wiedervorlage von EK-Rechnungi (fixmaster)

In einer Einkaufrechnung wird die Wiedervorlage vom Typ "sales_invoice" erzeugt,
was anschließend zu Datenbankfehlern führt, da die ID in den Verkaufrechnungen gesucht wird

Nun ist der Typ ergänzt

fix OD #6174

Unterschiede anzeigen:

SL/FU.pm
363 363
      'title' => $locale->text('Sales Invoice') . " $params{trans_info}",
364 364
    };
365 365

  
366
  } elsif ($params{trans_type} eq 'purchase_invoice') {
367
    $link = {
368
      'url'   => 'ir.pl?action=edit&type=purchase_invoice&id=' . $params{trans_id},
369
      'title' => $locale->text('Purchase Invoice') . " $params{trans_info}",
370
    };
371

  
366 372
  } elsif ($params{trans_type} eq 'credit_note') {
367 373
    $link = {
368 374
      'url'   => 'is.pl?action=edit&type=credit_note&id=' . $params{trans_id},
templates/webpages/ir/form_header.html
17 17
<input type="hidden" name="[% HTML.escape(key) %]" value="[% HTML.escape($key)  %]">
18 18
[%- END %]
19 19
<input type="hidden" name="follow_up_trans_id_1" value="[% id %]">
20
<input type="hidden" name="follow_up_trans_type_1" value="sales_invoice">
20
<input type="hidden" name="follow_up_trans_type_1" value="purchase_invoice">
21 21
<input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]">
22 22
<input type="hidden" name="follow_up_rowcount" value="1">
23 23
<input type="hidden" name="lastmtime" value="[% HTML.escape(lastmtime) %]">

Auch abrufbar als: Unified diff