Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7b447b4d

Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt

  • ID 7b447b4dd0e756dc1578c44601d352811b768514
  • Vorgänger 9afde77c
  • Nachfolger c372f6f8

Wiedervorlage aus Angebot/Auftrag: Betreff aus Vorgangsbezeichnung vorbelegen

nur "neuer" Controller

Unterschiede anzeigen:

bin/mozilla/fu.pl
42 42
  $form->get_employee($form->get_standard_dbh(\%myconfig));
43 43
  $form->{created_for_user} = $form->{employee_id};
44 44

  
45
  $form->{subject} = $form->{trans_subject_1} if $form->{trans_subject_1};
46

  
45 47
  my $link_details;
46 48

  
47 49
  if (0 < scalar @{ $form->{LINKS} }) {
js/follow_up.js
12 12

  
13 13
  if (typeof trans_rowcount != "undefined") {
14 14
    for (i = 1; i <= trans_rowcount[0].value; i++) {
15
      var trans_id   = document.getElementsByName("follow_up_trans_id_" + i);
16
      var trans_type = document.getElementsByName("follow_up_trans_type_" + i);
17
      var trans_info = document.getElementsByName("follow_up_trans_info_" + i);
15
      var trans_id      = document.getElementsByName("follow_up_trans_id_" + i);
16
      var trans_type    = document.getElementsByName("follow_up_trans_type_" + i);
17
      var trans_info    = document.getElementsByName("follow_up_trans_info_" + i);
18
      var trans_subject = document.getElementsByName("follow_up_trans_subject_" + i);
18 19

  
19 20
      url += "&" +
20
        "trans_id_"   + i + "=" + encodeURIComponent(typeof trans_id   != "undefined" ? trans_id[0].value   : "") + "&" +
21
        "trans_type_" + i + "=" + encodeURIComponent(typeof trans_type != "undefined" ? trans_type[0].value : "") + "&" +
22
        "trans_info_" + i + "=" + encodeURIComponent(typeof trans_info != "undefined" ? trans_info[0].value : "");
21
        "trans_id_"      + i + "=" + encodeURIComponent(typeof trans_id      != "undefined" ? trans_id[0].value      : "") + "&" +
22
        "trans_type_"    + i + "=" + encodeURIComponent(typeof trans_type    != "undefined" ? trans_type[0].value    : "") + "&" +
23
        "trans_info_"    + i + "=" + encodeURIComponent(typeof trans_info    != "undefined" ? trans_info[0].value    : "") + "&" +
24
        "trans_subject_" + i + "=" + encodeURIComponent(typeof trans_subject != "undefined" ? trans_subject[0].value : "");
23 25
    }
24 26

  
25 27
    url += "&trans_rowcount=" + encodeURIComponent(trans_rowcount[0].value);
js/kivi.Order.js
904 904
    $('<input type="hidden" name="follow_up_trans_id_1">').appendTo('#order_form').val(id);
905 905
    $('<input type="hidden" name="follow_up_trans_type_1">').appendTo('#order_form').val(type);
906 906
    $('<input type="hidden" name="follow_up_trans_info_1">').appendTo('#order_form').val(info);
907
    $('<input type="hidden" name="follow_up_trans_subject_1">').appendTo('#order_form').val($('#order_transaction_description').val());
907 908

  
908 909
    follow_up_window();
909 910
  };

Auch abrufbar als: Unified diff