mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 20:47:15 +01:00
98 lines
4.2 KiB
Smarty
98 lines
4.2 KiB
Smarty
|
<script>
|
||
|
|
||
|
function recalcvpe()
|
||
|
{
|
||
|
var span = document.getElementById("livepreisvpe");
|
||
|
var preis = document.getElementById("preis").value;
|
||
|
var vpe = document.getElementById("vpe").value;
|
||
|
|
||
|
preis = preis.replace(',', '.');
|
||
|
vpe= vpe.replace(',', '.');
|
||
|
|
||
|
span.textContent = parseFloat(preis*vpe).toFixed(2);
|
||
|
}
|
||
|
|
||
|
window.setInterval(recalcvpe, 300);
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
<form action="" method="post" name="eprooform" >
|
||
|
[FORMHANDLEREVENT]
|
||
|
<table class="tableborder" border="0" cellpadding="3" cellspacing="0" width="100%">
|
||
|
<tbody>
|
||
|
|
||
|
<tr valign="top" colspan="3">
|
||
|
<td colspan="3">
|
||
|
|
||
|
[MESSAGE]
|
||
|
<fieldset><legend> Lieferant </legend>
|
||
|
|
||
|
<table cellspacing="5" border="0" width="700">
|
||
|
<tr><td width="170">{|Standardlieferant|}:</td><td colspan="4">[STANDARD][MSGSTANDARD]</td></tr>
|
||
|
<tr><td width="170"><b>Lieferant:</b></td><td colspan="3">[ADRESSESTART][ADRESSE][MSGADRESSE][ADRESSEENDE]</td><td>[BUTTONLADEN]</td></tr>
|
||
|
<tr><td><b>Bezeichnung bei Lieferant:</b></td><td colspan="4">[BEZEICHNUNGLIEFERANT][MSGBEZEICHNUNGLIEFERANT]</td></tr>
|
||
|
<tr><td>{|Artikelnummer bei Lieferant|}:</td><td colspan="4">[BESTELLNUMMER][MSGBESTELLNUMMER]</td></tr>
|
||
|
</table></fieldset>
|
||
|
|
||
|
<fieldset><legend> Einkaufspreis </legend>
|
||
|
<table cellspacing="5" border="0" width="900">
|
||
|
<tr><td width="170"><b>Ab Menge:</b></td><td width="180">[AB_MENGE][MSGAB_MENGE] </td><td width="10"> </td><td width="150" nowrap>{|Verpackungseinheit (Menge in VPE)|}:</td><td>
|
||
|
|
||
|
[VPE][MSGVPE] [VPEPREIS]
|
||
|
</td></tr>
|
||
|
|
||
|
<tr><td width="170"><b>Preis pro Stück:</b><br><i>(Immer Einzelstückpreis!)</i></td>
|
||
|
<td width="180">[PREIS][MSGPREIS] [WAEHRUNG][MSGWAEHRUNG]</td><td width="10"> </td><td width="160" norwap>{|Preis für VPE|}:</td><td>
|
||
|
<span id="livepreisvpe"></span>
|
||
|
</td></tr>
|
||
|
|
||
|
<tr valign="top"><td width="170"></td>
|
||
|
<td width="180" rowspan="2">[PREISRECHNER]</td><td width="10"> </td><td width="150" valign="top">Preis nicht berechnet aus Währungstabelle</td><td>[NICHTBERECHNET][MSGNICHTBERECHNET]
|
||
|
</td></tr>
|
||
|
<td width="10"> </td><td colspan="2" align="right">[PREISTABELLE]
|
||
|
</td></tr>
|
||
|
|
||
|
[DISABLEOPENSTOCK]
|
||
|
<tr><td width="170">{|Preisanfrage vom|}:</td><td width="180">[PREIS_ANFRAGE_VOM][MSGPREIS_ANFRAGE_VOM] </td><td width="10"> </td><td width="150">{|Gültig bis|}:</td><td>[GUELTIG_BIS][MSGGUELTIG_BIS]</td></tr>
|
||
|
[DISABLECLOSESTOCK]
|
||
|
</table></fieldset>
|
||
|
[DISABLEOPENSTOCK]
|
||
|
<fieldset><legend> Weitere Informationen </legend>
|
||
|
<table cellspacing="5" border="0" width="700">
|
||
|
|
||
|
<tr><td width="170">{|Lagerbestand Lieferant|}:</td><td width="180">[LAGER_LIEFERANT][MSGLAGER_LIEFERANT] am [DATUM_LAGERLIEFERANT][MSGDATUM_LAGERLIEFERANT]</td><td width="10"> </td><td width="150">{|Sicherheitslager|}:</td><td>[SICHERHEITSLAGER][MSGSICHERHEITSLAGER]</td></tr>
|
||
|
|
||
|
<tr><td width="170">{|Lieferzeit Standard (Wochen)|}:</td><td width="180">[LIEFERZEIT_STANDARD][MSGLIEFERZEIT_STANDARD] </td><td width="10"> </td><td width="150">{|Lieferzeit Aktuell (Wochen)|}:</td><td>[LIEFERZEIT_AKTUELL][MSGLIEFERZEIT_AKTUELL]</td></tr>
|
||
|
|
||
|
</table></fieldset>
|
||
|
<fieldset><legend> Rahmenvertrag </legend>
|
||
|
<table cellspacing="5" border="0" width="700">
|
||
|
|
||
|
<tr><td width="170">{|Rahmenvertrag|}:</td><td width="180">[RAHMENVERTRAG][MSGRAHMENVERTRAG]</td><td width="10"> </td><td width="150">{|Menge|}:</td><td>[RAHMENVERTRAG_MENGE][MSGRAHMENVERTRAG_MENGE]</td></tr>
|
||
|
<tr><td width="170">{|Von|}:</td><td width="180">[RAHMENVERTRAG_VON][MSGRAHMENVERTRAG_VON] </td><td width="10"> </td><td width="150">{|Bis|}:</td><td>[RAHMENVERTRAG_BIS][MSGRAHMENVERTRAG_BIS]</td></tr>
|
||
|
</table></fieldset>
|
||
|
|
||
|
[DISABLECLOSESTOCK]
|
||
|
<fieldset><legend> Interne Bemerkung </legend>
|
||
|
<table cellspacing="5" border="0" width="700">
|
||
|
|
||
|
<tr><td width="170">{|Interner Kommentar|}:</td><td colspan="4">[BEMERKUNG][MSGBEMERKUNG]</td></tr>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
</fieldset>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr valign="" height="" bgcolor="" align="" bordercolor="" class="klein" classname="klein">
|
||
|
<td width="" valign="" height="" bgcolor="" align="right" colspan="3" bordercolor="" classname="orange2" class="orange2">
|
||
|
<input type="submit"
|
||
|
value="Speichern" name="submit" /> [ABBRECHEN]</td>
|
||
|
</tr>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</form>
|
||
|
[PREISTABELLEPOPUP]
|