{assign var="page_title" value="Vendoren bearbeiten"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; Vendoren bearbeiten &raquo; Neue Verkaufslisten-Verknüpfung"}
{assign var="page_title_site" value="Vendoren bearbeiten"}

{form_errors error_list=$form_errors}
<form method="post" action="vendoren.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="edit" value="{$formvalues.edit}" />
    <input type="hidden" name="newlink" value="1" />
    <table>
        <tr>
        	<th colspan="2" bgcolor="{$style.bg_2}">Verkaufslisten-Verknüpfung hinzufügen</th>
        </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Verkaufsliste</b></td>
	        <td bgcolor="{$style.bg_a}">
	        	<select name="sellbuy_lists_id" class="list_form">
	        		{html_options options=$lists selected=$formvalues.sellbuy_lists_id}
                </select>
	        </td>
	    	<td></td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Ist Verkaufsliste?</b></td>
	        <td bgcolor="{$style.bg_b}">
	        	<select name="ist_verkaufsliste" class="list_form">
                    <option value="0">Nein</option>
                    <option value="1"{if $formvalues.ist_verkaufsliste} selected="selected"{/if}>Ja</option>
                </select>
	        </td>
	    	<td></td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Preis-Multiplikator</b></td>
	        <td bgcolor="{$style.bg_a}">
				Min: <input type="text" name="min_preis_multiplikator" size="8" maxlength="8" class="input_form" value="{$formvalues.min_preis_multiplikator}" />
				Max: <input type="text" name="max_preis_multiplikator" size="8" maxlength="8" class="input_form" value="{$formvalues.max_preis_multiplikator}" />
	        </td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Mengen-Multiplikator</b></td>
	        <td bgcolor="{$style.bg_b}">
				Min: <input type="text" name="min_mengen_multiplikator" size="8" maxlength="8" class="input_form" value="{$formvalues.min_mengen_multiplikator}" />
				Max: <input type="text" name="max_mengen_multiplikator" size="8" maxlength="8" class="input_form" value="{$formvalues.max_mengen_multiplikator}" />
	        </td>
	    </tr>
    </table>
    <br />
    <input type="submit" name="send_form" class="button_form" value="Eintragen..." />
</form>

<p><a href="vendoren.php?edit={$formvalues.edit}&amp;{$SID}">Zurück zum Vendor</a></p>