projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In Form.pm gibt es kein $form, nur $self.
[kivitendo-erp.git]
/
bin
/
mozilla
/
rc.pl
diff --git
a/bin/mozilla/rc.pl
b/bin/mozilla/rc.pl
index
2a17429
..
d9bf03a
100644
(file)
--- a/
bin/mozilla/rc.pl
+++ b/
bin/mozilla/rc.pl
@@
-48,6
+48,7
@@
sub reconciliation {
$form->{title} = $locale->text('Reconciliation');
$form->{title} = $locale->text('Reconciliation');
+ $form->{"jsscript"} = 1;
$form->header;
print qq|
$form->header;
print qq|
@@
-70,9
+71,11
@@
sub reconciliation {
</tr>
<tr>
<th align=right>| . $locale->text('From') . qq|</th>
</tr>
<tr>
<th align=right>| . $locale->text('From') . qq|</th>
- <td><input name=fromdate size=11 title="$myconfig{dateformat}"></td>
- <th align=right>| . $locale->text('To') . qq|</th>
- <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
+ <td><input name=fromdate id=fromdate size=11 title="$myconfig{dateformat}">
+ <input type="button" name="fromdate" id="trigger_fromdate" value="?"></td>
+ <th align=right>| . $locale->text('Until') . qq|</th>
+ <td><input name=todate id=todate size=11 title="$myconfig{dateformat}">
+ <input type="button" name="todate" id="trigger_todate" value="?"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
@@
-82,6
+85,10
@@
sub reconciliation {
</tr>
</table>
</tr>
</table>
+| . $form->write_trigger(\%myconfig, 2,
+ "fromdate", "BL", "trigger_fromdate",
+ "todate", "BL", "trigger_todate") . qq|
+
<br>
<input type=hidden name=nextsub value=get_payments>
<br>
<input type=hidden name=nextsub value=get_payments>
@@
-147,13
+154,13
@@
sub display_form {
$option .= "\n<br>" if ($option);
$option .=
$locale->text('From') . " "
$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 .=
}
if ($form->{todate}) {
$option .= "\n<br>" if ($option);
$option .=
- $locale->text('
To
') . " "
- . $locale->date(\%myconfig, $form->{todate},
1
);
+ $locale->text('
Until
') . " "
+ . $locale->date(\%myconfig, $form->{todate},
0
);
}
$form->{title} = "$form->{accno}--$form->{account}";
}
$form->{title} = "$form->{accno}--$form->{account}";
@@
-369,14
+376,8
@@
sub display_form {
<input type=submit class=submit name=action value="|
. $locale->text('Select all') . qq|">
<input type=submit class=submit name=action value="|
<input type=submit class=submit name=action value="|
. $locale->text('Select all') . qq|">
<input type=submit class=submit name=action value="|
- . $locale->text('Done') . qq|">|;
-
- if ($form->{menubar}) {
- require "$form->{path}/menu.pl";
- &menubar;
- }
+ . $locale->text('Done') . qq|">
- print qq|
</form>
</body>
</form>
</body>