X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fgl.pl;h=7cc8c016278d4e30c1f527363f3da3f3d203722f;hb=786b3862388eb8d4cdcc5dfc663a37fe0e9a82a1;hp=01d011441a102280392918c1c009e2598b0b3d44;hpb=cd1d67a18323316949089f5db8a7269c26adf205;p=kivitendo-erp.git diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 01d011441..7cc8c0162 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -813,6 +813,10 @@ sub display_rows { |; $memo = qq| |; + $source_hidden = qq| + |; + $memo_hidden = qq| + |; my $selected_accno_full; my ($accno_row) = split(/--/, $form->{"accno_$i"}); @@ -940,6 +944,8 @@ sub display_rows { |; } print qq| + $source_hidden + $memo_hidden |; } @@ -962,6 +968,9 @@ sub form_header { $show_details_checked = "checked" if $form->{show_details}; + $ob_transaction_checked = "checked" if $form->{ob_transaction}; + $cb_transaction_checked = "checked" if $form->{cb_transaction}; + # $locale->text('Add General Ledger Transaction') # $locale->text('Edit General Ledger Transaction') @@ -1155,7 +1164,17 @@ sub form_header { |; } - print qq| + print qq| + + + + +
+ | . $locale->text('OB Transaction') . qq| + + | . $locale->text('CB Transaction') . qq| +
+ | . $locale->text('Show details') . qq| |; @@ -1254,17 +1273,16 @@ $follow_ups_block |; } - print qq| + print qq| + |; } else { - if ($transdate > $closedto) { print qq| |; - } } print " @@ -1457,7 +1475,7 @@ sub post_transaction { # this is just for the wise guys $form->error($locale->text('Cannot post transaction for a closed period!')) - if ($transdate <= $closedto); + if ($form->date_closed($form->{"transdate"}, \%myconfig)); if ($form->round_amount($debit, 2) != $form->round_amount($credit, 2)) { $form->error($locale->text('Out of balance transaction!')); }