diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/is.pl | 3 | ||||
-rwxr-xr-x | bin/pos.pl | 8 |
2 files changed, 2 insertions, 9 deletions
@@ -105,8 +105,7 @@ sub invoice_links { $form->{oldlanguage_code} = $form->{language_code}; - $form->get_partsgroup( \%myconfig, - { language_code => $form->{language_code}, searchitems => 'nolabor' } ); + $form->get_partsgroup( \%myconfig, { all => 1 }); if ( @{ $form->{all_partsgroup} } ) { $form->{selectpartsgroup} = "<option>\n"; @@ -278,13 +278,7 @@ sub form_header { if ( $form->{language_code} ne $form->{oldlanguage_code} ) { # rebuild partsgroup - $form->get_partsgroup( - \%myconfig, - { - language_code => $form->{language_code}, - searchitems => 'nolabor' - } - ); + $form->get_partsgroup(\%myconfig, { all => 1}); $form->{partsgroup} = ""; for ( @{ $form->{all_partsgroup} } ) { $form->{partsgroup} .= "$_->{partsgroup}--$_->{translation}\n"; |