Revision b0d1edd7
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/IR.pm | ||
---|---|---|
1714 | 1714 |
return $duedate; |
1715 | 1715 |
} |
1716 | 1716 |
|
1717 |
|
|
1718 |
sub get_taxes_dropdown { |
|
1719 |
my $transdate = $::form->{transdate} ? DateTime->from_kivitendo($::form->{transdate}) : DateTime->today_local; |
|
1720 |
my $deliverydate = $::form->{deliverydate} ? DateTime->from_kivitendo($::form->{deliverydate}) : undef; |
|
1721 |
my $item_deliverydate = $::form->{item_deliverydate} ? DateTime->from_kivitendo($::form->{item_deliverydate}) : undef; |
|
1722 |
|
|
1723 |
my @taxes = IO->get_active_taxes_for_chart($::form->{chart_id}, |
|
1724 |
$item_deliverydate // $deliverydate // $transdate); |
|
1725 |
my $html = $::form->parse_html_template("ir/update_taxes", { TAXES => \@taxes }); |
|
1726 |
|
|
1727 |
print $::form->ajax_response_header, $html; |
|
1728 |
} |
|
1729 |
|
|
1730 |
|
|
1731 | 1717 |
1; |
Auch abrufbar als: Unified diff
PurchaseInvoice: Entferne nicht genutzten Code