Revision 8c7e4493
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
bin/mozilla/rc.pl | ||
---|---|---|
42 | 42 |
sub reconciliation { |
43 | 43 |
$lxdebug->enter_sub(); |
44 | 44 |
|
45 |
$auth->assert('cash'); |
|
46 |
|
|
45 | 47 |
RC->paymentaccounts(\%myconfig, \%$form); |
46 | 48 |
|
47 | 49 |
$selection = ""; |
... | ... | |
96 | 98 |
<br> |
97 | 99 |
<input type=hidden name=nextsub value=get_payments> |
98 | 100 |
|
99 |
<input type=hidden name=login value=$form->{login}> |
|
100 |
<input type=hidden name=password value=$form->{password}> |
|
101 |
|
|
102 | 101 |
<input type=submit class=submit name=action value="| |
103 | 102 |
. $locale->text('Continue') . qq|"> |
104 | 103 |
|
... | ... | |
116 | 115 |
sub get_payments { |
117 | 116 |
$lxdebug->enter_sub(); |
118 | 117 |
|
118 |
$auth->assert('cash'); |
|
119 |
|
|
119 | 120 |
($form->{accno}, $form->{account}) = split /--/, $form->{accno}; |
120 | 121 |
|
121 | 122 |
RC->payment_transactions(\%myconfig, \%$form); |
... | ... | |
128 | 129 |
sub display_form { |
129 | 130 |
$lxdebug->enter_sub(); |
130 | 131 |
|
132 |
$auth->assert('cash'); |
|
133 |
|
|
131 | 134 |
@column_index = qw(cleared transdate source name credit debit balance); |
132 | 135 |
|
133 | 136 |
$column_header{cleared} = "<th> </th>"; |
... | ... | |
369 | 372 |
<input type=hidden name=fromdate value=$form->{fromdate}> |
370 | 373 |
<input type=hidden name=todate value=$form->{todate}> |
371 | 374 |
|
372 |
<input type=hidden name=login value=$form->{login}> |
|
373 |
<input type=hidden name=password value=$form->{password}> |
|
374 |
|
|
375 | 375 |
<br> |
376 | 376 |
<input type=submit class=submit name=action value="| |
377 | 377 |
. $locale->text('Update') . qq|"> |
... | ... | |
392 | 392 |
sub update { |
393 | 393 |
$lxdebug->enter_sub(); |
394 | 394 |
|
395 |
$auth->assert('cash'); |
|
396 |
|
|
395 | 397 |
RC->payment_transactions(\%myconfig, \%$form); |
396 | 398 |
|
397 | 399 |
foreach $ref (@{ $form->{PR} }) { |
... | ... | |
409 | 411 |
sub select_all { |
410 | 412 |
$lxdebug->enter_sub(); |
411 | 413 |
|
414 |
$auth->assert('cash'); |
|
415 |
|
|
412 | 416 |
RC->payment_transactions(\%myconfig, \%$form); |
413 | 417 |
|
414 | 418 |
map { $_->{cleared} = "checked" unless $_->{fx_transaction} } |
... | ... | |
422 | 426 |
sub done { |
423 | 427 |
$lxdebug->enter_sub(); |
424 | 428 |
|
425 |
$form->{callback} = |
|
426 |
"$form->{script}?action=reconciliation&login=$form->{login}&password=$form->{password}"; |
|
429 |
$auth->assert('cash'); |
|
430 |
|
|
431 |
$form->{callback} = "$form->{script}?action=reconciliation"; |
|
427 | 432 |
|
428 | 433 |
$form->error($locale->text('Out of balance!')) if ($form->{difference} *= 1); |
429 | 434 |
|
Auch abrufbar als: Unified diff
Umstellung der Benutzerverwaltung von Dateien im Verzeichnis "users" auf die Verwendung einer Authentifizierungsdatenbank.
Es ist erforderlich, die Dateien doc/UPGRADE und doc/INSTALL/index.html zu lesen und die angesprochenen Punkte auszuführen, um nach einem Upgrade weiter arbeiten zu können.