X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=c1d5bfe08f03b06ac51e8061fbd3b218d88d8a93;hb=8423c7b21bc3b4b2db7d0ffef756919619336e97;hp=372389b3ddd128eb3b58d4a4efbde3d922ab41f9;hpb=bfaef835c20ba69d5ea4242e67a0dcb4fcbd4f50;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 372389b3d..c1d5bfe08 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -152,10 +152,17 @@ sub display_row { qq|| . $locale->text('Part Description') . qq||; - $column_data{ship} = + if ($form->{"type"} eq "purchase_order") { + $column_data{ship} = qq|| - . $locale->text('Ship') - . qq||; + . $locale->text('Ship rcvd') + . qq||; + } else { + $column_data{ship} = + qq|| + . $locale->text('Ship') + . qq||; + } $column_data{qty} = qq|| . $locale->text('Qty') @@ -307,10 +314,10 @@ sub display_row { if (($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) { $column_data{description} = - qq||; + qq||; } else { $column_data{description} = - qq||; + qq||; } (my $qty_dec) = ($form->{"qty_$i"} =~ /\.(\d+)/); @@ -424,7 +431,7 @@ sub display_row { {"pricegroup_old_$i"}> {"price_old_$i"}> - + format_amount(\%myconfig, $form->{"price_new_$i"}) . qq|> @@ -432,7 +439,7 @@ sub display_row { {"inventory_accno_$i"}> - + {"income_accno_$i"}> {"expense_accno_$i"}> @@ -441,7 +448,7 @@ sub display_row { - + |; @@ -1795,7 +1802,7 @@ sub print_form { $language_saved = $form->{language_id}; $payment_id_saved = $form->{payment_id}; - &{"$form->{vc}_details"}; + &{"$form->{vc}_details"}(); $form->{language_id} = $language_saved; $form->{payment_id} = $payment_id_saved;