Revision 90928c21
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
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
FIX: ZUGFeRD: typo