Revision 31b1b2c2
Von Moritz Bunkus vor fast 13 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use SL::DB::Buchungsgruppe; |
6 | 6 |
use SL::DB::CsvImportProfile; |
7 |
use SL::DB::Unit; |
|
7 | 8 |
use SL::Helper::Flash; |
8 | 9 |
use SL::SessionFile; |
9 | 10 |
use SL::Controller::CsvImport::Contact; |
... | ... | |
17 | 18 |
|
18 | 19 |
use Rose::Object::MakeMethods::Generic |
19 | 20 |
( |
20 |
scalar => [ qw(type profile file all_profiles all_charsets sep_char all_sep_chars quote_char all_quote_chars escape_char all_escape_chars all_buchungsgruppen |
|
21 |
scalar => [ qw(type profile file all_profiles all_charsets sep_char all_sep_chars quote_char all_quote_chars escape_char all_escape_chars all_buchungsgruppen all_units
|
|
21 | 22 |
import_status errors headers raw_data_headers info_headers data num_imported num_importable displayable_columns) ], |
22 | 23 |
); |
23 | 24 |
|
... | ... | |
144 | 145 |
|
145 | 146 |
if ($self->{type} eq 'parts') { |
146 | 147 |
$self->all_buchungsgruppen(SL::DB::Manager::Buchungsgruppe->get_all_sorted); |
148 |
$self->all_units(SL::DB::Manager::Unit->get_all_sorted); |
|
147 | 149 |
} |
148 | 150 |
|
149 | 151 |
$self->setup_help; |
Auch abrufbar als: Unified diff
CSV-Import von Waren: Standardeinheit für Zeilen ohne Einheit hinzufügen