sub payment {
$lxdebug->enter_sub();
-
$auth->assert('cash');
my (@curr);
}
CP->paymentaccounts(\%myconfig, \%$form);
-
$form->{selectaccount} = "";
$form->{"select$form->{ARAP}"} = "";
<th align=right nowrap>| . $locale->text('Currency') . qq|</th>
<td><select name=currency>$form->{selectcurrency}</select></td>
<input type=hidden name=selectcurrency value="$form->{selectcurrency}">
- <input type=hidden name=oldcurrency value=$form->{oldcurrency}>
</tr>
$exchangerate
<tr>
unless $form->{exchangerate};
}
+ $form->{callback} = "cp.pl?action=payment&vc=$form->{vc}&muh=kuh&account=$form->{account}";
+
my $msg1 = "$form->{origtitle} posted!";
my $msg2 = "Cannot post $form->{origtitle}!";
sub print {
$lxdebug->enter_sub();
-
+ exit; # Niemand braucht mich mehr! LöschMich endlich! jb 8.10.2010
$auth->assert('cash');
my ($whole, $check, %queued, $spool, $filename, $userspath);
for my $i (1 .. $form->{rowcount}) {
if ($form->{"checked_$i"}) {
if ($form->parse_amount(\%myconfig, $form->{"paid_$i"}, 2) <= 0) { # negativen Betrag eingegeben
- $form->error($locale->text('No zero or negative values, please! Correct row number:' . $i));
+ $form->error($locale->text('Amount has to be greater then zero! Wrong row number: ') . $i);
}
undef($selected_check);
# last; # ich muss doch über alle buchungen laufen, da ich noch