Revision 9e152755
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
8 | 8 |
use SL::SessionFile; |
9 | 9 |
use SL::Controller::CsvImport::Contact; |
10 | 10 |
use SL::Controller::CsvImport::CustomerVendor; |
11 |
use SL::Controller::CsvImport::Shipto; |
|
11 | 12 |
|
12 | 13 |
use List::MoreUtils qw(none); |
13 | 14 |
|
... | ... | |
144 | 145 |
|
145 | 146 |
my $worker = $self->{type} eq 'customers_vendors' ? SL::Controller::CsvImport::CustomerVendor->new(controller => $self, file => $file) |
146 | 147 |
: $self->{type} eq 'contacts' ? SL::Controller::CsvImport::Contact->new( controller => $self, file => $file) |
148 |
: $self->{type} eq 'addresses' ? SL::Controller::CsvImport::Shipto->new( controller => $self, file => $file) |
|
147 | 149 |
: die "Program logic error"; |
148 | 150 |
|
149 | 151 |
$worker->run; |
Auch abrufbar als: Unified diff
Import von Lieferadressen.