Revision e2e06cbb
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
555 | 555 |
$query = qq|SELECT closedto, revtrans FROM defaults|; |
556 | 556 |
($form->{closedto}, $form->{revtrans}) = selectrow_query($form, $dbh, $query); |
557 | 557 |
|
558 |
$query = qq|SELECT id, gldate |
|
559 |
FROM gl |
|
560 |
WHERE id = (SELECT max(id) FROM gl)|; |
|
561 |
($form->{previous_id}, $form->{previous_gldate}) = selectrow_query($form, $dbh, $query); |
|
562 |
|
|
558 | 563 |
if ($form->{id}) { |
559 | 564 |
$query = |
560 | 565 |
qq|SELECT g.reference, g.description, g.notes, g.transdate, g.storno, g.storno_id, |
bin/mozilla/gl.pl | ||
---|---|---|
1343 | 1343 |
qq|<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" $readonly onBlur=\"check_right_date_format(this)\"></td>|; |
1344 | 1344 |
} |
1345 | 1345 |
|
1346 |
$form->{previous_id} ||= "--"; |
|
1347 |
$form->{previous_gldate} ||= "--"; |
|
1348 |
|
|
1346 | 1349 |
$form->header; |
1347 | 1350 |
|
1348 | 1351 |
print qq| |
... | ... | |
1351 | 1354 |
<form method=post name="gl" action=$form->{script}> |
1352 | 1355 |
|; |
1353 | 1356 |
|
1354 |
$form->hide_form(qw(id closedto locked storno storno_id)); |
|
1357 |
$form->hide_form(qw(id closedto locked storno storno_id previous_id previous_gldate));
|
|
1355 | 1358 |
|
1356 | 1359 |
print qq| |
1357 | 1360 |
<input type=hidden name=title value="$title"> |
... | ... | |
1365 | 1368 |
<tr> |
1366 | 1369 |
<td> |
1367 | 1370 |
<table width=100%> |
1371 |
<tr> |
|
1372 |
<td colspan="6" align="left">| |
|
1373 |
. $locale->text("Previous transnumber text") |
|
1374 |
. " $form->{previous_id} " |
|
1375 |
. $locale->text("Previous transdate text") |
|
1376 |
. " $form->{previous_gldate}" |
|
1377 |
. qq|</td> |
|
1378 |
</tr> |
|
1368 | 1379 |
<tr> |
1369 | 1380 |
<th align=right>| . $locale->text('Reference') . qq|</th> |
1370 | 1381 |
<td><input name=reference size=20 value="$form->{reference}" $readonly></td> |
locale/de/all | ||
---|---|---|
816 | 816 |
'Preisklasse' => 'Preisgruppe', |
817 | 817 |
'Prepayment' => 'Vorauszahlung', |
818 | 818 |
'Preview' => 'Druckvorschau', |
819 |
'Previous transdate text' => 'wurde gespeichert am', |
|
820 |
'Previous transnumber text' => 'Letzte Buchung mit der Buchungsnummer', |
|
819 | 821 |
'Price' => 'Preis', |
820 | 822 |
'Pricegroup' => 'Preisgruppe', |
821 | 823 |
'Pricegroup deleted!' => 'Preisgruppe gel?scht!', |
locale/de/gl | ||
---|---|---|
116 | 116 |
'Please enter values' => 'Bitte Werte eingeben', |
117 | 117 |
'Post' => 'Buchen', |
118 | 118 |
'Post as new' => 'Neu buchen', |
119 |
'Previous transdate text' => 'wurde gespeichert am', |
|
120 |
'Previous transnumber text' => 'Letzte Buchung mit der Buchungsnummer', |
|
119 | 121 |
'Proforma Invoice' => 'Proformarechnung', |
120 | 122 |
'Project Number' => 'Projektnummer', |
121 | 123 |
'Project Numbers' => 'Projektnummern', |
Auch abrufbar als: Unified diff
Dialogbuchen: Anzeige der letzten Buchungsnummer und des Datums, an dem diese Buchung eingetragen wurde. Patch von Rainer Guempelein.