Revision 27665214
Von Niclas Zimmermann vor fast 11 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
1643 | 1643 |
$chart_categories .= 'E' if $form->{expense}; |
1644 | 1644 |
$chart_categories .= 'C' if $form->{costs}; |
1645 | 1645 |
|
1646 |
my @values = ($form->{taxkey}, $form->{taxdescription}, $form->{rate}, $form->{chart_id}, $form->{chart_id}, $chart_categories);
|
|
1646 |
my @values = ($form->{taxkey}, $form->{taxdescription}, $form->{rate}, conv_i($form->{chart_id}), conv_i($form->{chart_id}), $chart_categories);
|
|
1647 | 1647 |
if ($form->{id} ne "") { |
1648 | 1648 |
$query = qq|UPDATE tax SET |
1649 | 1649 |
taxkey = ?, |
... | ... | |
1670 | 1670 |
} |
1671 | 1671 |
push(@values, $form->{id}); |
1672 | 1672 |
do_query($form, $dbh, $query, @values); |
1673 |
|
|
1673 |
|
|
1674 | 1674 |
foreach my $language_id (keys %{ $form->{translations} }) { |
1675 | 1675 |
GenericTranslations->save('dbh' => $dbh, |
1676 | 1676 |
'translation_type' => 'SL::DB::Tax/taxdescription', |
Auch abrufbar als: Unified diff
Kein Automatikkonto auswählen wieder möglich
Fixt #2250.