Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd84d3ca

Von Tamino Steinert vor 11 Monaten hinzugefügt

  • ID cd84d3ca95e6a8604bd93cb0d1d49775b7373693
  • Vorgänger 3c21d790
  • Nachfolger bc00ad83

FIX: ZUGFeRD: typo

Unterschiede anzeigen:

bin/mozilla/ap.pl
124 124
    my $template_item = $template_ap->items->[0];
125 125
    my $chart = SL::DB::Chart->new(id => $template_item->chart_id)->load();
126 126
    my $tax = SL::DB::Tax->new(id => $template_item->tax_id)->load();
127
    foreach my $pos (1 .. $::form->{form_defautls}->{rowcount}) {
128
      $::form->{form_defautls}->{"AP_amount_chart_id_$pos"}          = $chart->id;
129
      $::form->{form_defautls}->{"previous_AP_amount_chart_id_$pos"} = $chart->id;
130
      $::form->{form_defautls}->{"taxchart_$pos"}   = $tax->id . '--' . $tax->rate;
131
      $::form->{form_defautls}->{"project_id_$pos"} = $template_item->project_id;
127
    foreach my $pos (1 .. $::form->{form_defaults}->{rowcount}) {
128
      $::form->{form_defaults}->{"AP_amount_chart_id_$pos"}          = $chart->id;
129
      $::form->{form_defaults}->{"previous_AP_amount_chart_id_$pos"} = $chart->id;
130
      $::form->{form_defaults}->{"taxchart_$pos"}   = $tax->id . '--' . $tax->rate;
131
      $::form->{form_defaults}->{"project_id_$pos"} = $template_item->project_id;
132 132

  
133 133
    }
134 134
    $::form->{form_defaults}->{FLASH} = $::form->{FLASH}; # store flash, form gets cleared

Auch abrufbar als: Unified diff