X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Frc.pl;h=47344335fef4312463172af277532c9c1af415b4;hb=6ac037ceaeb565f385267b2f8794e28e7ce50af8;hp=12c87c4816ac43b95f18288ef6f04231bdb16f2d;hpb=be4e11d36f40d90622fdf35eb07ab207422b5455;p=kivitendo-erp.git
diff --git a/bin/mozilla/rc.pl b/bin/mozilla/rc.pl
index 12c87c481..47344335f 100644
--- a/bin/mozilla/rc.pl
+++ b/bin/mozilla/rc.pl
@@ -42,6 +42,8 @@ require "bin/mozilla/common.pl";
sub reconciliation {
$lxdebug->enter_sub();
+ $auth->assert('cash');
+
RC->paymentaccounts(\%myconfig, \%$form);
$selection = "";
@@ -96,10 +98,6 @@ sub reconciliation {
-{path}>
-{login}>
-{password}>
-
@@ -117,6 +115,8 @@ sub continue { call_sub($form->{"nextsub"}); }
sub get_payments {
$lxdebug->enter_sub();
+ $auth->assert('cash');
+
($form->{accno}, $form->{account}) = split /--/, $form->{accno};
RC->payment_transactions(\%myconfig, \%$form);
@@ -129,6 +129,8 @@ sub get_payments {
sub display_form {
$lxdebug->enter_sub();
+ $auth->assert('cash');
+
@column_index = qw(cleared transdate source name credit debit balance);
$column_header{cleared} = "