Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 90928c21

Von Tamino Steinert vor 12 Monaten hinzugefügt

  • ID 90928c217d218d9e2fa2a7abe41a69d2410e6caf
  • Vorgänger 418601dd
  • Nachfolger b3f7eb40

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