mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
85 lines
3.6 KiB
Smarty
85 lines
3.6 KiB
Smarty
|
<script type="text/javascript">
|
||
|
|
||
|
$(document).ready(function(){
|
||
|
|
||
|
art = document.getElementById('art');
|
||
|
adressediv = document.getElementById('adressediv');
|
||
|
gruppediv = document.getElementById('gruppediv');
|
||
|
|
||
|
if (art) {
|
||
|
// Hide the target field if priority isn't critical
|
||
|
if (art.options[art.selectedIndex].value =='Kunde') {
|
||
|
adressediv.style.display='';
|
||
|
gruppediv.style.display='none';
|
||
|
}
|
||
|
if (art.options[art.selectedIndex].value =='Gruppe') {
|
||
|
adressediv.style.display='none';
|
||
|
gruppediv.style.display='';
|
||
|
}
|
||
|
|
||
|
art.onchange=function() {
|
||
|
if (art.options[art.selectedIndex].value == 'Kunde') {
|
||
|
adressediv.style.display='';
|
||
|
gruppediv.style.display='none';
|
||
|
} else if(art.options[art.selectedIndex].value == 'Gruppe') {
|
||
|
adressediv.style.display='none';
|
||
|
gruppediv.style.display='';
|
||
|
} else {
|
||
|
adressediv.style.display='';
|
||
|
gruppediv.style.display='';
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
[MESSAGE]
|
||
|
<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">
|
||
|
|
||
|
|
||
|
<fieldset><legend> Verkaufspreis </legend>
|
||
|
|
||
|
<table align="center" cellspacing="5" border="0">
|
||
|
<tr><td width="170">{|Konditionen|}:</td><td width="180" colspan="3">
|
||
|
|
||
|
[ART][MSGART]
|
||
|
|
||
|
</td><td width="170"></td></tr>
|
||
|
|
||
|
<tr id="adressediv"><td width="170">{|Kunde|}:</td><td colspan="4"><i>Für Standardpreis leer lassen</i>[ADRESSESTART][ADRESSE][MSGADRESSE][ADRESSEENDE]<br></td></tr>
|
||
|
<tr id="gruppediv"><td width="170">{|Gruppe|}:</td><td colspan="4">[GRUPPESTART][GRUPPE][MSGGRUPPE][GRUPPEENDE]</td></tr>
|
||
|
<tr><td width="170">{|Artikelnummer bei Kunde|}:</td><td colspan="4">[KUNDENARTIKELNUMMER][MSGKUNDENARTIKELNUMMER] <i>(wenn vorhanden)</i></td></tr>
|
||
|
<!--<tr><td width="170">{|Konditionen|}:</td><td width="180">
|
||
|
[OBJEKT][MSGOBJEKT]
|
||
|
</td><td width="20"> </td><td width="150"></td><td width="170"></td></tr>-->
|
||
|
<tr><td width="170"><b>Ab Menge:</b></td><td width="180">[AB_MENGE][MSGAB_MENGE] </td><td width="20"> </td><td width="150">Menge in VPE</td><td>[VPESTART][VPE][MSGVPE][VPEENDE]</td></tr>
|
||
|
|
||
|
<tr><td width="170" rowspan="3" valign="top"><b>Preis:</b></td><td width="180" rowspan="3">[PREIS][MSGPREIS] <br>[PREISRECHNER]</td><td width="20"> </td><td width="150" valign="top">Währung</td><td>[WAEHRUNG][MSGWAEHRUNG]</td></tr>
|
||
|
<tr><td width="20"> </td><td width="150" valign="top">Preis nicht berechnet aus Währungstabelle</td><td>[NICHTBERECHNET][MSGNICHTBERECHNET]</td></tr>
|
||
|
<tr><td width="20"> </td><td colspan="2" align="right">[PREISTABELLE]</td></tr>
|
||
|
<tr><td width="170">{|Gültig ab|}:</td><td width="180">[GUELTIG_AB][MSGGUELTIG_AB] </td><td width="20"> </td><td width="150"></td><td></td></tr>
|
||
|
<tr><td width="170">{|Gültig bis|}:</td><td width="180">[GUELTIG_BIS][MSGGUELTIG_BIS] </td><td width="20"> </td><td width="150"></td><td></td></tr>
|
||
|
|
||
|
<tr><td>{|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" name="submit"
|
||
|
value="Speichern" /> [ABBRECHEN]</td>
|
||
|
</tr>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</form>
|
||
|
[PREISTABELLEPOPUP]
|