Revision 1387c8c3
Von Thomas Kasulke vor mehr als 17 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
368 | 368 |
} |
369 | 369 |
|
370 | 370 |
$column_data{sellprice_pg} = |
371 |
qq|<td align="right"><select name="sellprice_pg_$i">$form->{"prices_$i"}</select></td>|;
|
|
371 |
qq|<td align="right"><select name="sellprice_pg_$i">$form->{"prices_$i"}</select></td>|; |
|
372 | 372 |
$column_data{sellprice} = |
373 |
qq|<td><input name="sellprice_$i" size="10" value="$price_tmp"></td>|;
|
|
373 |
qq|<td><input name="sellprice_$i" size="10" value="$price_tmp" onBlur=\"check_right_number_format(this)\"></td>|;
|
|
374 | 374 |
} else { |
375 | 375 |
|
376 | 376 |
# for last row and report |
... | ... | |
388 | 388 |
|
389 | 389 |
# for last row |
390 | 390 |
$column_data{sellprice_pg} = qq|<td align="right"> </td>|; |
391 |
} |
|
392 |
|
|
391 |
}
|
|
392 |
|
|
393 | 393 |
$column_data{sellprice} = |
394 |
qq|<td><input name="sellprice_$i" size="10" value="|
|
|
394 |
qq|<td><input name="sellprice_$i" size="10" onBlur=\"check_right_number_format(this)\" value="|
|
|
395 | 395 |
. $form->format_amount(\%myconfig, $form->{"sellprice_$i"}, |
396 | 396 |
$decimalplaces) |
397 | 397 |
. qq|"></td>|; |
... | ... | |
486 | 486 |
? 'deliverydate' |
487 | 487 |
: 'reqdate'; # invoice uses a different term for the same thing. |
488 | 488 |
print qq| |
489 |
<b>${$reqdate_term}</b> <input name="${reqdate_term}_$i" size="11" value="$form->{"${reqdate_term}_$i"}"> |
|
489 |
<b>${$reqdate_term}</b> <input name="${reqdate_term}_$i" size="11" onBlur="check_right_date_format(this)" value="$form->{"${reqdate_term}_$i"}">
|
|
490 | 490 |
|; |
491 | 491 |
} |
492 | 492 |
my $subtotalchecked = ($form->{"subtotal_$i"}) ? "checked" : ""; |
... | ... | |
583 | 583 |
$colspan = $#column_index + 1; |
584 | 584 |
|
585 | 585 |
print qq| |
586 |
<body> |
|
586 |
<body>
|
|
587 | 587 |
|
588 | 588 |
<form method="post" action="$form->{script}"> |
589 | 589 |
|
Auch abrufbar als: Unified diff
Anpassung an check_right_number_format und check_right_date_format aus der common.js