Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 14562379

Von Kivitendo Admin vor fast 8 Jahren hinzugefügt

  • ID 14562379bf33cf4b4388c6cf594ee8fc56ae3f87
  • Vorgänger 667cfdce
  • Nachfolger 8cdadf55

Ungenutzte Funktion parts_subtotal in ic.pl entfernt

Unterschiede anzeigen:

bin/mozilla/ic.pl
670 670
  $lxdebug->leave_sub();
671 671
}    #end generate_report
672 672

  
673
sub parts_subtotal {
674
  $lxdebug->enter_sub();
675

  
676
  $auth->assert('part_service_assembly_edit');
677

  
678
  my (%column_data);
679
  my ($column_index, $subtotalonhand, $subtotalsellprice, $subtotallastcost, $subtotallistprice) = @_;
680

  
681
  map { $column_data{$_} = "<td>&nbsp;</td>" } @{ $column_index };
682
  $$subtotalonhand = 0 if ($form->{searchitems} eq 'assembly' && $form->{bom});
683

  
684
  $column_data{onhand} =
685
      "<th class=listsubtotal align=right>"
686
    . $form->format_amount(\%myconfig, $$subtotalonhand)
687
    . "</th>";
688

  
689
  $column_data{linetotalsellprice} =
690
      "<th class=listsubtotal align=right>"
691
    . $form->format_amount(\%myconfig, $$subtotalsellprice, 2)
692
    . "</th>";
693
  $column_data{linetotallistprice} =
694
      "<th class=listsubtotal align=right>"
695
    . $form->format_amount(\%myconfig, $$subtotallistprice, 2)
696
    . "</th>";
697
  $column_data{linetotallastcost} =
698
      "<th class=listsubtotal align=right>"
699
    . $form->format_amount(\%myconfig, $$subtotallastcost, 2)
700
    . "</th>";
701

  
702
  $$subtotalonhand    = 0;
703
  $$subtotalsellprice = 0;
704
  $$subtotallistprice = 0;
705
  $$subtotallastcost  = 0;
706

  
707
  print "<tr class=listsubtotal>";
708

  
709
  map { print "\n$column_data{$_}" } @{ $column_index };
710

  
711
  print qq|
712
  </tr>
713
|;
714

  
715
  $lxdebug->leave_sub();
716
}
717

  
718 673
sub ajax_autocomplete {
719 674
  $main::lxdebug->enter_sub();
720 675

  

Auch abrufbar als: Unified diff