Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 00402ae6

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

  • ID 00402ae67e8b4edf686585752a2193da8ecfc169
  • Vorgänger 1ccc89c8
  • Nachfolger 6770b19a

Auftrags-Controller: Formelberechnung

Sollte evtl. auf Dialog umgestellt werden.

Unterschiede anzeigen:

bin/mozilla/io.pl
319 319
    my $qty_dec = ($form->{"qty_$i"} =~ /\.(\d+)/) ? length $1 : 2;
320 320

  
321 321
    $column_data{qty}  = $cgi->textfield(-name => "qty_$i", -size => 5, -class => "numeric", -value => $form->format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec));
322
    $column_data{qty} .= $cgi->button(-onclick => "calculate_qty_selection_window('qty_$i', '', 'formel_$i')", -value => $locale->text('*/'))
322
    $column_data{qty} .= $cgi->button(-onclick => "calculate_qty_selection_window('qty_$i', '', 'formel_$i', '')", -value => $locale->text('*/'))
323 323
                       . $cgi->hidden(-name => "formel_$i", -value => $form->{"formel_$i"})
324 324
      if $form->{"formel_$i"};
325 325

  

Auch abrufbar als: Unified diff