Revision 0b8580e2
Von Sven Schöling vor mehr als 17 Jahren hinzugefügt
bin/mozilla/gl.pl | ||
---|---|---|
1491 | 1491 |
$radieren = ($form->current_date(\%myconfig) eq $form->{gldate}) ? 1 : 0; |
1492 | 1492 |
|
1493 | 1493 |
map { |
1494 |
$form->{$_} = |
|
1495 |
$form->format_amount(\%myconfig, $form->{$_}, 2, " ") |
|
1494 |
$form->{$_} = $form->format_amount(\%myconfig, $form->{$_}, 2, " ") |
|
1496 | 1495 |
} qw(totaldebit totalcredit); |
1497 | 1496 |
|
1498 | 1497 |
print qq| |
... | ... | |
1521 | 1520 |
if ($form->{id}) { |
1522 | 1521 |
|
1523 | 1522 |
if (!$form->{storno}) { |
1524 |
print qq|<input class=submit type=submit name=action value="| |
|
1525 |
. $locale->text('Storno') . qq|">|; |
|
1523 |
print qq|<input class=submit type=submit name=action value="| . $locale->text('Storno') . qq|">|; |
|
1526 | 1524 |
} |
1527 | 1525 |
|
1528 | 1526 |
# L?schen und ?ndern von Buchungen nicht mehr m?glich (GoB) nur am selben Tag m?glich |
1529 |
|
|
1530 | 1527 |
if (!$form->{locked} && $radieren) { |
1531 | 1528 |
print qq| |
1532 |
<input class=submit type=submit name=action value="| |
|
1533 |
. $locale->text('Post') . qq|" accesskey="b"> |
|
1534 |
<input class=submit type=submit name=action value="| |
|
1535 |
. $locale->text('Delete') . qq|">|; |
|
1529 |
<input class=submit type=submit name=action value="| . $locale->text('Post') . qq|" accesskey="b"> |
|
1530 |
<input class=submit type=submit name=action value="| . $locale->text('Delete') . qq|">|; |
|
1536 | 1531 |
} |
1537 | 1532 |
|
1538 |
# if ($transdate > $closedto) { |
|
1539 |
# print qq| |
|
1540 |
# <input class=submit type=submit name=action value="|.$locale->text('Post as new').qq|">|; |
|
1541 |
# } |
|
1542 | 1533 |
} else { |
1543 | 1534 |
if ($transdate > $closedto) { |
1544 |
print qq|<input class=submit type=submit name=action id=update_button value="| |
|
1545 |
. $locale->text('Update') . qq|"> |
|
1546 |
<input class=submit type=submit name=action value="| |
|
1547 |
. $locale->text('Post') . qq|">|; |
|
1535 |
print qq| |
|
1536 |
<input class=submit type=submit name=action id=update_button value="| . $locale->text('Update') . qq|"> |
|
1537 |
<input class=submit type=submit name=action value="| . $locale->text('Post') . qq|">|; |
|
1548 | 1538 |
} |
1549 | 1539 |
} |
1550 | 1540 |
|
Auch abrufbar als: Unified diff
Codekosmetik