Revision 549bce5b
Von Bernd Bleßmann vor mehr als 5 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
53 | 53 |
use SL::DB; |
54 | 54 |
use SL::GenericTranslations; |
55 | 55 |
use SL::Helper::UserPreferences::PositionsScrollbar; |
56 |
use SL::Helper::UserPreferences::PartPickerSearch; |
|
56 | 57 |
|
57 | 58 |
use strict; |
58 | 59 |
|
... | ... | |
532 | 533 |
SL::Helper::UserPreferences::PositionsScrollbar->new()->get_height(); |
533 | 534 |
} |
534 | 535 |
|
536 |
sub purchase_search_makemodel { |
|
537 |
SL::Helper::UserPreferences::PartPickerSearch->new()->get_purchase_search_makemodel(); |
|
538 |
} |
|
539 |
|
|
540 |
sub sales_search_customer_partnumber { |
|
541 |
SL::Helper::UserPreferences::PartPickerSearch->new()->get_sales_search_customer_partnumber(); |
|
542 |
} |
|
543 |
|
|
535 | 544 |
sub save_preferences { |
536 | 545 |
$main::lxdebug->enter_sub(); |
537 | 546 |
|
... | ... | |
560 | 569 |
if (exists $form->{positions_scrollbar_height}) { |
561 | 570 |
SL::Helper::UserPreferences::PositionsScrollbar->new()->store_height($form->{positions_scrollbar_height}) |
562 | 571 |
} |
572 |
if (exists $form->{purchase_search_makemodel}) { |
|
573 |
SL::Helper::UserPreferences::PartPickerSearch->new()->store_purchase_search_makemodel($form->{purchase_search_makemodel}) |
|
574 |
} |
|
575 |
if (exists $form->{sales_search_customer_partnumber}) { |
|
576 |
SL::Helper::UserPreferences::PartPickerSearch->new()->store_sales_search_customer_partnumber($form->{sales_search_customer_partnumber}) |
|
577 |
} |
|
563 | 578 |
|
564 | 579 |
$main::lxdebug->leave_sub(); |
565 | 580 |
|
Auch abrufbar als: Unified diff
UserPreferences-Helper f. Part-Picker-Such-Einstellungen in Belegen
Hier kann der Benutzer einstellen, ob in Verkauf auch nach Kunden-Artikle-Nr.
und im Einkauf nach Lieferanten-Artikel-Nr. gesucht werden soll.