Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7ea6670d

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 7ea6670daaa4aa6639c40a958fb7505e9d2c0aa0
  • Vorgänger e141beb6
  • Nachfolger 731ecd0c

DeliveryOrder: Weiteren Link auf neuen Lieferschein-Controller zeigen lassen

Unterschiede anzeigen:

SL/DB/DeliveryOrder/TypeData.pm
31 31
      save_and_ap_transaction => 0,
32 32
      save_and_invoice        => 0,
33 33
      delete                  => sub { $::instance_conf->get_sales_delivery_order_show_delete },
34
      new_controller          => 0,
35 34
    },
36 35
    properties => {
37 36
      customervendor => "customer",
......
68 67
      save_and_ap_transaction => 0,
69 68
      save_and_invoice        => 0,
70 69
      delete                  => sub { $::instance_conf->get_sales_delivery_order_show_delete },
71
      new_controller          => 0,
72 70
    },
73 71
    properties => {
74 72
      customervendor => "vendor",
......
105 103
      save_and_ap_transaction => 0,
106 104
      save_and_invoice        => 0,
107 105
      delete                  => sub { $::instance_conf->get_sales_delivery_order_show_delete },
108
      new_controller          => 1,
109 106
    },
110 107
    properties => {
111 108
      customervendor => "vendor",
......
142 139
      save_and_ap_transaction => 0,
143 140
      save_and_invoice        => 0,
144 141
      delete                  => sub { $::instance_conf->get_sales_delivery_order_show_delete },
145
      new_controller          => 1,
146 142
    },
147 143
    properties => {
148 144
      customervendor => "customer",
bin/mozilla/do.pl
961 961
      'align'    => 'center',
962 962
    };
963 963

  
964
    $row->{donumber}->{link}  = SL::DB::DeliveryOrder::TypeData::get3($dord->{record_type}, "show_menu", "new_controller")
965
                              ? SL::Controller::DeliveryOrder->url_for(action => "edit", id => $dord->{id}, type => $dord->{record_type})
966
                              : $edit_url  . "&id=" . E($dord->{id})      . "&callback=${callback}";
964
    $row->{donumber}->{link}  = SL::Controller::DeliveryOrder->url_for(action => "edit", id => $dord->{id});
967 965
    $row->{ordnumber}->{link} = $edit_order_url . "&id=" . E($dord->{oe_id})   . "&callback=${callback}" if $dord->{oe_id};
968 966

  
969 967
    if ($form->{l_items}) {

Auch abrufbar als: Unified diff