</td><input type=hidden name="select$form->{vc}" value="| .
Q($form->{"select$form->{vc}"}) . qq|">|;
+ if ($form->{vc} eq 'customer') {
+ $vc .= qq|<input type="hidden" name="customer_klass" value="$form->{customer_klass}">|;
+ }
+
%labels = ();
@values = ("");
foreach my $item (@{ $form->{"ALL_PAYMENTS"} }) {
</td>
</tr> | if $form->{selectdepartment};
- if ($form->{type} eq 'sales_order') {
- $employee .= qq|\n<input type="hidden" name="customer_klass" value="$form->{customer_klass}">| if $form->{selectemployee};
- } else {
- $employee .= qq|\n<input type="hidden" name="customer_klass" value="$form->{customer_klass}">|;
- }
-
$credittext = $locale->text('Credit Limit exceeded!!!');
$onload = ($form->{resubmit} && ($form->{format} eq "html")) ? "window.open('about:blank','Beleg'); document.oe.target = 'Beleg';document.oe.submit()"