Revision a3db203d
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
385 | 385 |
<td width="13"><input name=reqdate id=reqdate size=11 title="$myconfig{dateformat}" value=$form->{reqdate}></td>|; |
386 | 386 |
} |
387 | 387 |
|
388 |
if ($form->{id}) { |
|
389 |
$openclosed = qq| |
|
390 |
<tr> |
|
391 |
<td colspan=2 align=center> |
|
392 |
<input name="closed" id="closed" type="checkbox" class="checkbox" value="1" $checkedclosed> |
|
393 |
<label for="closed">| . $locale->text('Closed') . qq|</label> |
|
394 |
|; |
|
388 |
my @tmp; |
|
395 | 389 |
|
396 |
if (($form->{"type"} eq "sales_order") ||
|
|
397 |
($form->{"type"} eq "purchase_order")) {
|
|
398 |
$openclosed .= qq|
|
|
390 |
if (($form->{"type"} eq "sales_order") || |
|
391 |
($form->{"type"} eq "purchase_order")) { |
|
392 |
push(@tmp, qq|
|
|
399 | 393 |
<input name="delivered" id="delivered" type="checkbox" class="checkbox" value="1" $checkeddelivered> |
400 |
<label for="delivered">| . $locale->text('Delivered') . qq|</label> |
|
401 |
|; |
|
402 |
} |
|
394 |
<label for="delivered">| . $locale->text('Delivered') . qq|</label>|); |
|
395 |
} |
|
403 | 396 |
|
397 |
if ($form->{id}) { |
|
398 |
push(@tmp, qq| |
|
399 |
<input name="closed" id="closed" type="checkbox" class="checkbox" value="1" $checkedclosed> |
|
400 |
<label for="closed">| . $locale->text('Closed') . qq|</label>|); |
|
401 |
} |
|
402 |
|
|
403 |
if (@tmp) { |
|
404 | 404 |
$openclosed .= qq| |
405 |
<tr> |
|
406 |
<td colspan=| . (2 * scalar(@tmp)) . qq| align=center>| . join("\n", @tmp) . qq| |
|
405 | 407 |
</td> |
406 | 408 |
</tr> |
407 | 409 |
|; |
Auch abrufbar als: Unified diff
Checkbox "geliefert" auch anzeigen, wenn der Verkaufsbeleg noch nicht gespeichert wurde.