Revision aaa70744
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/CsvImport/CustomerVendor.pm | ||
---|---|---|
82 | 82 |
$self->check_taxzone($entry, take_default => 1); |
83 | 83 |
$self->check_currency($entry, take_default => 1); |
84 | 84 |
$self->check_salesman($entry); |
85 |
$self->check_pricegroup($entry); |
|
85 | 86 |
|
86 | 87 |
next if @{ $entry->{errors} }; |
87 | 88 |
|
... | ... | |
116 | 117 |
$i++; |
117 | 118 |
} |
118 | 119 |
|
119 |
$self->add_columns(map { "${_}_id" } grep { exists $self->controller->data->[0]->{raw_data}->{$_} } qw(language business payment delivery_term taxzone)); |
|
120 |
$self->add_columns(map { "${_}_id" } grep { exists $self->controller->data->[0]->{raw_data}->{$_} } qw(language business payment delivery_term taxzone pricegroup));
|
|
120 | 121 |
$self->add_cvar_raw_data_columns; |
121 | 122 |
} |
122 | 123 |
|
... | ... | |
294 | 295 |
{ name => 'homepage', description => $::locale->text('Homepage') }, |
295 | 296 |
{ name => 'iban', description => $::locale->text('IBAN') }, |
296 | 297 |
{ name => 'pricegroup_id', description => $::locale->text('Price group (database ID)') }, |
298 |
{ name => 'pricegroup', description => $::locale->text('Price group (name)') }, |
|
297 | 299 |
{ name => 'language_id', description => $::locale->text('Language (database ID)') }, |
298 | 300 |
{ name => 'language', description => $::locale->text('Language (name)') }, |
299 | 301 |
{ name => 'name', description => $::locale->text('Name') }, |
Auch abrufbar als: Unified diff
Csv-Import Kunden/Lieferanten: Preisgruppe per Namen angeben können