my $categories;
my $tax_id;
+ my $query = qq|ALTER TABLE tax ADD chart_categories TEXT|;
+ $self->db_query($query);
+
if ( $::form->{continued_tax} ) {
my $update_query;
foreach my $i (1 .. $::form->{rowcount}) {
}
$update_query = qq|ALTER TABLE tax ALTER COLUMN chart_categories SET NOT NULL|;
$self->db_query($update_query);
- $self->dbh->commit();
return 1;
}
- my $query = qq|ALTER TABLE tax ADD chart_categories TEXT|;
- $self->db_query($query);
- $self->dbh->commit();
-
my @well_known_taxes = (
{ taxkey => 0, rate => 0, taxdescription => qr{keine.*steuer}i, categories => 'ALQCIE' },
{ taxkey => 1, rate => 0, taxdescription => qr{frei}i, categories => 'ALQCIE' },