Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b952eb3e

Von Sven Schöling vor etwa 1 Jahr hinzugefügt

  • ID b952eb3e32b0cdf6b7add9f18c1d14732410c25c
  • Vorgänger 23ec475a
  • Nachfolger c8eef21a

fix: mehr SL::DB zirkuläre includes

Unterschiede anzeigen:

SL/DB/Invoice.pm
20 20
use SL::DB::Helper::TransNumberGenerator;
21 21
use SL::DB::Helper::ZUGFeRD;
22 22
use SL::Locale::String qw(t8);
23
use SL::DB::CustomVariable;
24 23

  
25 24
__PACKAGE__->meta->add_relationship(
26 25
  invoiceitems => {
SL/DB/Part.pm
11 11
use SL::DBUtils;
12 12
use SL::DB::MetaSetup::Part;
13 13
use SL::DB::Manager::Part;
14
use SL::DB::Chart;
15 14
use SL::DB::Helper::AttrHTML;
16 15
use SL::DB::Helper::AttrSorted;
17 16
use SL::DB::Helper::TransNumberGenerator;
......
310 309

  
311 310
sub get_chart {
312 311
  my ($self, %params) = @_;
312
  require SL::DB::Chart;
313 313

  
314 314
  my $type    = (any { $_ eq $params{type} } qw(income expense inventory)) ? $params{type} : croak("Invalid 'type' parameter '$params{type}'");
315 315
  my $taxzone = $params{ defined($params{taxzone}) ? 'taxzone' : 'taxzone_id' } * 1;
SL/DB/ReclamationItem.pm
8 8

  
9 9
use SL::DB::MetaSetup::ReclamationItem;
10 10
use SL::DB::Manager::ReclamationItem;
11
use SL::DB::ReclamationReason;
12 11
use SL::DB::Helper::ActsAsList;
13 12
use SL::DB::Helper::LinkedRecords;
14 13
use SL::DB::Helper::RecordItem;
SL/DB/ShopOrder.pm
6 6
use strict;
7 7

  
8 8
use SL::DBUtils;
9
use SL::DB::Shop;
10 9
use SL::DB::MetaSetup::ShopOrder;
11 10
use SL::DB::Manager::ShopOrder;
12
use SL::DB::PaymentTerm;
13 11
use SL::DB::Helper::LinkedRecords;
14 12
use SL::Locale::String qw(t8);
15 13
use Carp;
......
50 48
  require SL::DB::OrderItem;
51 49
  require SL::DB::Part;
52 50
  require SL::DB::Shipto;
51
  require SL::DB::Shop;
53 52
  my @error_report;
54 53

  
55 54
  my @items = map{

Auch abrufbar als: Unified diff