Revision 5eb836e4
Von G. Richardson vor mehr als 5 Jahren hinzugefügt
SL/Controller/ClientConfig.pm | ||
---|---|---|
18 | 18 |
use SL::PriceSource::ALL; |
19 | 19 |
use SL::Template; |
20 | 20 |
use SL::Controller::TopQuickSearch; |
21 |
use SL::DB::Helper::AccountingPeriod qw(get_balance_startdate_method_options); |
|
21 | 22 |
use SL::Helper::ShippedQty; |
22 | 23 |
|
23 | 24 |
__PACKAGE__->run_before('check_auth'); |
... | ... | |
188 | 189 |
} |
189 | 190 |
|
190 | 191 |
sub init_balance_startdate_method_options { |
191 |
[ { title => t8("After closed period"), value => "closed_to" }, |
|
192 |
{ title => t8("Start of year"), value => "start_of_year" }, |
|
193 |
{ title => t8("All transactions"), value => "all_transactions" }, |
|
194 |
{ title => t8("Last opening balance or all transactions"), value => "last_ob_or_all_transactions" }, |
|
195 |
{ title => t8("Last opening balance or start of year"), value => "last_ob_or_start_of_year" }, ] |
|
192 |
return SL::DB::Helper::AccountingPeriod::get_balance_startdate_method_options; |
|
196 | 193 |
} |
197 | 194 |
|
198 | 195 |
sub init_all_price_sources { |
Auch abrufbar als: Unified diff
balance_startdate_method_options nach AccountingPeriod Helper
verlagert, wird auch für YearEndTransactions benötigt.