Revision 74fda0f4
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
12 | 12 |
use SL::DBUtils; |
13 | 13 |
use SL::DB::MetaSetup::Part; |
14 | 14 |
use SL::DB::Manager::Part; |
15 |
use SL::DB::Chart; |
|
16 | 15 |
use SL::DB::Helper::AttrHTML; |
17 | 16 |
use SL::DB::Helper::AttrSorted; |
18 | 17 |
use SL::DB::Helper::TransNumberGenerator; |
... | ... | |
319 | 318 |
|
320 | 319 |
sub get_chart { |
321 | 320 |
my ($self, %params) = @_; |
321 |
require SL::DB::Chart; |
|
322 | 322 |
|
323 | 323 |
my $type = (any { $_ eq $params{type} } qw(income expense inventory)) ? $params{type} : croak("Invalid 'type' parameter '$params{type}'"); |
324 | 324 |
my $taxzone = $params{ defined($params{taxzone}) ? 'taxzone' : 'taxzone_id' } * 1; |
Auch abrufbar als: Unified diff
fix: mehr SL::DB zirkuläre includes