sub payment {
$lxdebug->enter_sub();
-
$auth->assert('cash');
my (@curr);
}
CP->paymentaccounts(\%myconfig, \%$form);
-
$form->{selectaccount} = "";
$form->{"select$form->{ARAP}"} = "";
<tr valign=top>
<td>
<table>
- <tr>
- <td align=right>
- <input name=all_vc type=checkbox style=checkbox value=Y $allvc>
- <input type=hidden name="oldall_vc" value="$form->{all_vc}"></td>
- <th align=left>| . $locale->text('All') . qq|</th>
- </tr>
<tr>
<th align=right>$vclabel</th>
<td>$vc</td>
<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>
</tr>
<tr>
<th align="right" nowrap>| . $locale->text('Amount') . qq|</th>
- <td colspan="3"><input name="amount" size="10" value="|
- . $form->format_amount(\%myconfig, $form->{amount}, 2) . qq|" onBlur=\"check_right_number_format(this)\"></td>
+ <td colspan="3">| . $form->format_amount(\%myconfig, $form->{amount}, 2) . qq|</td>
</tr>
</table>
</td>
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);