| 1 |
lars |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
|
|
|
3 |
|
|
|
4 |
<head>
|
|
|
5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
|
6 |
<meta name="author" content="Webagentur Niewerth" />
|
|
|
7 |
|
|
|
8 |
<title>Rechnungsdruck: weitere Optionen</title>
|
|
|
9 |
|
|
|
10 |
<link rel="stylesheet" type="text/css" href="../styles/styles.php" />
|
|
|
11 |
<script type="text/javascript" src="../js/overlib.js"></script>
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
{if file_exists("../css/$site/jquery-ui.custom.css")}
|
|
|
15 |
<link rel="stylesheet" type="text/css" href="../css/{$site}/jquery-ui.custom.css">
|
|
|
16 |
{else}
|
|
|
17 |
<link rel="stylesheet" type="text/css" href="../css/ui-darkness/jquery-ui.custom.css">
|
|
|
18 |
{/if}
|
|
|
19 |
<link rel="stylesheet" type="text/css" href="../styles/bestellung.css" />
|
|
|
20 |
<script type="text/JavaScript" src="../systemtermine/systemtermine.js.php"></script>
|
|
|
21 |
<script type="text/javascript" src="../Online-Shop/ajax.js"></script>
|
|
|
22 |
<script type="text/JavaScript" src="../checkDate.js"></script>
|
|
|
23 |
|
|
|
24 |
<script src="/js/jquery-1.4.4.min.js"></script>
|
|
|
25 |
<script src="/js/jquery-ui-1.8.9.custom.min.js"></script>
|
|
|
26 |
<script src="/js/i18n/jquery.ui.datepicker-de.js"></script>
|
|
|
27 |
|
|
|
28 |
<script>
|
|
|
29 |
$(function(){
|
|
|
30 |
$('#rechnungsdatum').datepicker();
|
|
|
31 |
$('#leistungsdatum').datepicker();
|
|
|
32 |
});
|
|
|
33 |
</script>
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
</head>
|
|
|
37 |
|
|
|
38 |
<body>
|
|
|
39 |
|
|
|
40 |
<form action="{$SCRIPT_NAME}" method="post" name="form_step2">
|
|
|
41 |
|
|
|
42 |
{if $rechnungsdatum_aendern==1}
|
|
|
43 |
{include file="rechnung_datum_aendern.tpl"}
|
|
|
44 |
{/if}
|
|
|
45 |
|
|
|
46 |
{if $leistungsdatum_aendern==1}
|
|
|
47 |
{include file="rechnung_leistungsdatum_aendern.tpl"}
|
|
|
48 |
{/if}
|
|
|
49 |
|
|
|
50 |
{if $show_rechnung_bezahlt==1}
|
|
|
51 |
{include file="rechnung_bezahlt.tpl"}
|
|
|
52 |
{/if}
|
|
|
53 |
|
|
|
54 |
{if $zahlungsziel}
|
|
|
55 |
{include file="zahlungsziel.tpl"}
|
|
|
56 |
{/if}
|
|
|
57 |
|
|
|
58 |
{if $rechnungsbausteine}
|
|
|
59 |
<hr />
|
|
|
60 |
{include file="rechnungsbausteine.tpl"}
|
|
|
61 |
<hr />
|
|
|
62 |
{/if}
|
|
|
63 |
|
|
|
64 |
{if $gutschriftoption==1}
|
|
|
65 |
{include file="gutschriftoption.tpl"}
|
|
|
66 |
{/if}
|
|
|
67 |
|
| 2 |
lars |
68 |
{if $chk_bestellung}
|
|
|
69 |
{section loop=$chk_bestellung name=b_ind}
|
|
|
70 |
<input type="hidden" name="chk_bestellung[]" value="{$chk_bestellung[b_ind]}" />
|
|
|
71 |
{/section}
|
|
|
72 |
{/if}
|
|
|
73 |
|
|
|
74 |
|
| 1 |
lars |
75 |
<input type="hidden" name="b_id" value="{$b_id}" />
|
| 2 |
lars |
76 |
|
|
|
77 |
{if $action}
|
|
|
78 |
<input type="hidden" name="action" value="{$action}" />
|
|
|
79 |
{/if}
|
| 1 |
lars |
80 |
<br /><br /><input type="submit" value="senden" />
|
|
|
81 |
</form>
|
|
|
82 |
<script type="text/javascript">
|
|
|
83 |
var jetzt = new Date();
|
|
|
84 |
var tag = jetzt.getDay();
|
|
|
85 |
var monat = jetzt.getMonth();
|
|
|
86 |
var jahr = jetzt.getFullYear();
|
|
|
87 |
if(tag < 10) {
|
|
|
88 |
tag = "0" + tag;
|
|
|
89 |
}
|
|
|
90 |
if(monat < 10) {
|
|
|
91 |
monat = "0" + monat;
|
|
|
92 |
}
|
|
|
93 |
datum = tag + "." + monat + "." + jahr;
|
|
|
94 |
if(document.getElementById('rechnungsdatum')) {
|
|
|
95 |
document.getElementById('rechnungsdatum').value = datum;
|
|
|
96 |
}
|
|
|
97 |
if(document.getElementById('leistungsdatum')) {
|
|
|
98 |
document.getElementById('leistungsdatum').value = datum;
|
|
|
99 |
}
|
|
|
100 |
</script>
|
|
|
101 |
<script>
|
|
|
102 |
function toggle_div(id) {
|
|
|
103 |
var divstatus = document.getElementById(id).style.display;
|
|
|
104 |
if(divstatus=='none') {
|
|
|
105 |
document.getElementById(id).style.display = 'block';
|
|
|
106 |
}else{
|
|
|
107 |
document.getElementById(id).style.display = 'none';
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
}
|
|
|
111 |
</script>
|
|
|
112 |
|
|
|
113 |
</body>
|
|
|
114 |
</html>
|