summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-10 23:31:38 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-10 23:31:38 +0000
commitbd57057f2d8b64ded0969ec9029c84b15e997c53 (patch)
tree74ec975f64b15c11967feee06e56a1722534c2db /bin
parentd3dbe9ee10fbe5a2be9709f761455a381c5d12e4 (diff)
Adding a number of bugfixes
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1178 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/is.pl3
-rwxr-xr-xbin/pos.pl8
2 files changed, 2 insertions, 9 deletions
diff --git a/bin/is.pl b/bin/is.pl
index ac2235d6..af828fb8 100755
--- a/bin/is.pl
+++ b/bin/is.pl
@@ -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";
diff --git a/bin/pos.pl b/bin/pos.pl
index 9e5a2114..c60ed7ae 100755
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -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";