Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3df63bfe

Von Werner Hahn vor mehr als 8 Jahren hinzugefügt

  • ID 3df63bfe55142cebb1d6ad5db29edb022c4bb638
  • Vorgänger 7d0bf515
  • Nachfolger 1342327c

ShopOrder,FileUploader: Debugs rausgenommen

Unterschiede anzeigen:

SL/Controller/FileUploader.pm
29 29

  
30 30
sub action_show_files {
31 31
  my ($self) = @_;
32
$main::lxdebug->dump(0, 'WH: Show_Files',\$::form);
33 32
  my $images = SL::DB::Manager::File->get_all( query => [ trans_id => $::form->{id}, modul => $::form->{modul} ] );
34
  $main::lxdebug->dump(0, 'WH: ',\$images);
35 33

  
36 34

  
37 35
}
SL/Controller/ShopOrder.pm
94 94
  ####
95 95

  
96 96
  my $lastname = $shop_order->customer_lastname;
97
  $main::lxdebug->message(0, "WH: HIER");
98 97
  my $proposals = SL::DB::Manager::Customer->get_all(
99 98
       where => [
100 99
                   or => [
......
162 161

  
163 162
   my $html = $self->render('shop_order/_transfer_status', { output => 0 }, job => $job);
164 163

  
165
$main::lxdebug->dump(0, 'WH: iHTML: ',\$html);
166 164
   $self->js
167 165
      ->html('#status_mass_transfer', $html)
168 166
      ->run('kivi.ShopOrder.massTransferStarted')
......
171 169

  
172 170
sub action_transfer_status {
173 171
  my ($self)  = @_;
174
  $main::lxdebug->dump(0, 'WH: STATUS1 ',\$self);
175
  $main::lxdebug->dump(0, 'WH: STATUS2 ',\$::form);
176 172
  my $job     = SL::DB::BackgroundJob->new(id => $::form->{job_id})->load;
177 173
  my $html    = $self->render('shop_order/_transfer_status', { output => 0 }, job => $job);
178 174

  
templates/webpages/shop_order/show.html
182 182
    $.post("controller.pl", { action: 'ShopOrder/list'});
183 183
  }
184 184
</script>
185
[% L.dump(IMPORT) %]
185
[% # L.dump(IMPORT) %]

Auch abrufbar als: Unified diff