| 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=iso-8859-1" />
|
|
|
6 |
<meta name="author" content="Webagentur Niewerth" />
|
|
|
7 |
|
|
|
8 |
<title>Lagerwirtschaft - Buchung aufgeben</title>
|
|
|
9 |
|
|
|
10 |
<link rel="stylesheet" type="text/css" href="../styles/styles.php" />
|
|
|
11 |
<script type="text/javascript" src="jscript/jquery-1.3.2.min.js"></script>
|
|
|
12 |
<script type="text/javascript" src="jscript/lagerwirtschaft-addRows.js"></script>
|
|
|
13 |
<script type="text/javascript" src="jscript/lagerwirtschaft-eingangsbuchungsFormular.js"></script>
|
|
|
14 |
<script language="JavaScript" src="../checkDate.js"></script>
|
|
|
15 |
{literal}
|
|
|
16 |
<script type="text/javascript">
|
|
|
17 |
function killkomma(w)
|
|
|
18 |
{
|
|
|
19 |
return w.replace(/,/,'.');
|
|
|
20 |
}
|
|
|
21 |
</script>
|
|
|
22 |
{/literal}
|
|
|
23 |
</head>
|
|
|
24 |
|
|
|
25 |
<body class="lagerwirtschaft">
|
|
|
26 |
<form action="{$SCRIPT_NAME}?action=buchungEingetragen" method="post" name="eingangsbuchungFormular" id="eingangsbuchungFormular">
|
|
|
27 |
<!--
|
|
|
28 |
<table width="400" border="1" cellspacing="0" cellpadding="3">
|
|
|
29 |
<tr class="links">
|
|
|
30 |
<td colspan="2">Lagerwirtschaft - Eingangsbuchung</td>
|
|
|
31 |
</tr>
|
|
|
32 |
<tr>
|
|
|
33 |
<td class="links">Lieferant:</td>
|
|
|
34 |
<td>
|
|
|
35 |
<select name="lieferant">
|
|
|
36 |
{section name=lieferanten start=0 loop=$lieferantenLoop step=1}
|
|
|
37 |
<option value="{$lieferantenLoop[lieferanten].id}">{$lieferantenLoop[lieferanten].name}</option>
|
|
|
38 |
{/section}
|
|
|
39 |
</select>
|
|
|
40 |
</td>
|
|
|
41 |
</tr>
|
|
|
42 |
<tr>
|
|
|
43 |
<td class="links">Eingangsdatum:</td>
|
|
|
44 |
<td>
|
|
|
45 |
{literal}
|
|
|
46 |
<input id="datum" type="text" onchange="this.value=check_Date(this.value)" onfocus="current_value=this.value;if (this.value=='') {this.value=today()};this.select();" maxlength="12" size="10" name="datum" />
|
|
|
47 |
{/literal}
|
|
|
48 |
<input type="text" name="datum_tag" id="datum_tag" class="datum_zweistellig" />.<input type="text" name="datum_monat" id="datum_monat" class="datum_zweistellig" />.<input type="text" name="datum_jahr" id="datum_jahr" class="datum_vierstellig" /></td>
|
|
|
49 |
|
|
|
50 |
</tr>
|
|
|
51 |
|
|
|
52 |
</table>
|
|
|
53 |
-->
|
|
|
54 |
|
|
|
55 |
<br />
|
|
|
56 |
|
|
|
57 |
<table width="650" border="1" cellspacing="0" cellpadding="3" id="eingangsbuchungArtikel">
|
|
|
58 |
<tr class="links">
|
|
|
59 |
<td class="links" colspan="3">Artikel</td>
|
|
|
60 |
</tr>
|
|
|
61 |
<tr class="links">
|
|
|
62 |
<td class="links links_theader">Menge</td>
|
|
|
63 |
<td class="links links_theader">Artikel-ID</td>
|
|
|
64 |
<!--</a><td class="links links_theader">Warenwert/Stück</td>-->
|
|
|
65 |
</tr>
|
|
|
66 |
<tr class="rechts">
|
|
|
67 |
<td class="links_theader links_theader_menge">
|
|
|
68 |
<select name="buchungsart[]" id="buchungsart">
|
|
|
69 |
<option value="eingangsbuchung" selected="selected">Eingangsbuchung(+)</option>
|
|
|
70 |
<option value="ausgangsbuchung">Ausgangsbuchung(-)</option>
|
|
|
71 |
</select>
|
|
|
72 |
<input type="text" name="menge[]" value="" /></td>
|
|
|
73 |
<td class="links_theader links_theader_artikelid"><input type="text" name="artikelID[]" value="{$artikelId}" /></td>
|
|
|
74 |
<!--<td class="links_theader links_theader_warenwert"><input type="text" name="warenwert[]" value="" onchange="this.value = killkomma(this.value);"/> €</td> -->
|
|
|
75 |
</tr>
|
|
|
76 |
<tr>
|
|
|
77 |
<td colspan="4" class="links">
|
|
|
78 |
{if empty($artikelId)}<input type="button" name="add" id="add" value="Artikelfeld hinzufügen" />{/if}<input type="button" name="ok" id="ok" value="Buchung eintragen" /></td>
|
|
|
79 |
</tr>
|
|
|
80 |
</table>
|
|
|
81 |
</form>
|
|
|
82 |
</body>
|
|
|
83 |
</html>
|