Revision b3e7f016
Von Moritz Bunkus vor mehr als 18 Jahren hinzugefügt
SL/RC.pm | ||
---|---|---|
if ($form->{fromdate}) {
|
||
$query = qq|SELECT sum(a.amount),
|
||
(SELECT DISTINCT c2.category FROM chart c2
|
||
WHERE c2accno = '$form->{accno}') AS category
|
||
WHERE c2.accno = '$form->{accno}') AS category
|
||
FROM acc_trans a
|
||
JOIN chart c ON (c.id = a.chart_id)
|
||
WHERE a.transdate < date '$form->{fromdate}'
|
bin/mozilla/rc.pl | ||
---|---|---|
$option .= "\n<br>" if ($option);
|
||
$option .=
|
||
$locale->text('From') . " "
|
||
. $locale->date(\%myconfig, $form->{fromdate}, 1);
|
||
. $locale->date(\%myconfig, $form->{fromdate}, 0);
|
||
}
|
||
if ($form->{todate}) {
|
||
$option .= "\n<br>" if ($option);
|
||
$option .=
|
||
$locale->text('To') . " "
|
||
. $locale->date(\%myconfig, $form->{todate}, 1);
|
||
$locale->text('Bis') . " "
|
||
. $locale->date(\%myconfig, $form->{todate}, 0);
|
||
}
|
||
|
||
$form->{title} = "$form->{accno}--$form->{account}";
|
Auch abrufbar als: Unified diff
Recommit von r1001 von skoehler: Behebt/umgeht Bug 323. SQL-Fehler bei Kontenabgeleich, wenn Datum ausgewaehlt wurde. Anzeige des Datums im Bericht als Ziffern (Routine date(...) gibt den Monat nicht in der deutschen Sprache zurueck)