Subversion-Projekte lars-tiefland.ci

Revision

Revision 2043 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<!-- $Id: order_filter.tpl 2048 2017-02-17 23:41:59Z lars $ BEGIN -->
<script src="/backend/js/doc_search.js"></script>
<form action="/backend/order/" method="post" id="search_form">
        <input type="hidden" name="{$csrf_name}" value="{$csrf_value}" />
        <table border="1" cellspacing="0" cellpadding="3" width="100%" class="noprint">
                <tr class="links">
                        <td>
                                <table border="1" cellspacing="0" cellpadding="0">
                                        {if !$smarty.get.login_id}
                                        <tr>
                                                <td align="right" nowrap="nowrap" class="rechts">
                                                <div class="filter_div">
                                                        Shop: {$shops}
                                                </div>
                                                <div class="filter_div">
                                                        Status:{html_options options=$stati name="filter[status]" selected=$stati_sel|default:""}
                                                </div>
                                                {if isset($user_rechte.Warenwirtschaft.bestellung.rechnungStatus)}
                                                <div class="filter_div">
                                                        Rechnungstatus:{html_options options=$rstati name="filter[rechnungsstatus]" selected=$rstati_sel|default:""}
                                                </div>
                                                {/if}
                                                <div class="filter_div">
                                                        Zeit:{html_options name="filter[zeit]" options=$zeiten selected=$zeiten_sel|default:0}
                                                </div>
                                                {if isset($web_rechte.Warenwirtschaft.bestellung.bestellStatus)}
                                                <div class="filter_div">
                                                        Bestellstatus:{html_options name="filter[bStatus]" options=$bStatus selected=$bStatus_sel}
                                                </div>
                                                {/if}
                                                {if $logistiker_filter}
                                                <div class="filter_div">
                                                        Logistiker:{html_options name="filter[logistiker]" options=$logistiker_filter selected=$logistiker_filter_sel}
                                                </div>
                                                {/if}
                                                </td>
                                        </tr>
                                        <tr>
                                                <td align="right" class="rechts">
                                                        <div class="filter_div">
                                                                Ausgabeart: {$ausgabearten}
                                                        </div>
                                                        {if $bestellarten}
                                                        <div class="filter_div">
                                                                Bestellart: {$bestellarten}
                                                        </div>
                                                        {/if}
                                                        {if isset($user_rechte.Warenwirtschaft.bestellung.fremd_id)}
                                                        {if !$web_rechte.Warenwirtschaft.bestellung.fremd_id}
                                                        <div class="filter_div">
                                                                fremde Bestellnummer
                                                        {else}
                                                        <div class="filter_div">
                                                                {$web_rechte.Warenwirtschaft.bestellung.fremd_id|trim:":"}
                                                        {/if}
                                                        : <input name="filter[fremd_ID]" type="text" size="10" value="">
                                                        </div>
                                                        {/if}
                                                        {if isset($user_rechte.Warenwirtschaft.bestellung.shortline1)}
                                                        <div class="filter_div">
                                                                {$shortline1_name}
                                                                <input name="filter[shortline1]" type="text" size="{$shortline1_size}" maxlength="{$shortline1_size}" value="{$shortline1}">
                                                        </div>
                                                        {/if}
                                                        {if isset($user_rechte.Warenwirtschaft.bestellung.status1)}
                                                        <div class="filter_div">
                                                                {$status1_name}
                                                                {html_options options=$status1_options_filter name="filter[status1]" selected=$status1}
                                                        </div>
                                                        {/if}
                                                        {if isset($user_rechte.Warenwirtschaft.bezahlstatus.bezahlstatus)}
                                                        <div class="filter_div">
                                                                Bezahlstatus:
                                                                {html_options options=$bezahlstatus_options_filter name="filter[bezahlstatus]" selected=$bezahlstatus}
                                                        </div>
                                                        {/if}


                                                        {if isset($user_rechte.Warenwirtschaft.bestellung.versandstatus)}
                                                        <div class="filter_div">
                                                                Versandstatus:
                                                                {html_options options=$versandstatus_options_filter name="filter[versandstatus]" selected=$versandstatus}
                                                        </div>
                                                        {/if}

                                                        {if isset($Bestellungdatumtbl)}
                                                        <div class="filter_div">
                                                                Versanddatum:
                                                                {html_options options=$versanddatum_options_filter name="filter[versanddatum]" selected=$versanddatum}
                                                        </div>
                                                          {/if}

                                                        {if isset($user_rechte.Warenwirtschaft.bestellung.dok_suche)}
                                                        <div class="filter_div">
                                                                Dokument: <input type="text" name="filter[dokument]" id="search_title" value="{$dokument}">
                                                        </div>
                                                        {/if}
                                                        <div class="filter_div">
                                                                Artikel: <input name="filter[artikelsuche]" type="text" size="10" value="{$artikelsuche}">
                                                        </div>
                                                        <div class="filter_div">
                                                                BestellNr.: <input id="bestellnr" name="filter[bestellung_ID]" type="text" size="10" value="" onkeyup="return check_number(this);">
                                                        </div>
                                                        <div class="filter_div">
                                                                Kunde: <input name="filter[kundensuche]" type="text" size="10" value="{$kundensuche}">
                                                        </div>
                                                        {if $filter_pn}
                                                        <div class="filter_div">
                                                                Paketnummer: <input name="filter[paketnummer]" type="text" size="10" value="">
                                                        </div>
                                                        {/if}
                                                        <div class="filter_div">
                                                                Land: <!--<input name="filter[land]" type="text" size="10" value="{$land}" />-->
                                                                {html_options name="filter[laender]" options=$laender_filter selected=$laender_filter_sel}
                                                        </div>
                                                </td>
                                        </tr>
                                        {/if}
                                        <tr>
                                                <td align="right" class="rechts">

                                                        {if $anz}
                                                        {$art|default:"Bestellungen"}: {$anz}
                                                        {/if}
                                                        {if !$smarty.get.login_id}
                                                        <input type="reset"  value="Filter zurücksetzen" class="filter_reset"/>
                                                        <input type="submit" value="OK"/>
                                                        <input type="hidden" name="filter[start]" value="{$start}"/>
                                                        <input type="hidden" name="filter[order]" value="{$smarty.session.filter.order}"/>
                                                        {/if}

                                                </td>
                                        </tr>
                                </table>
                        </td>
                </tr>
        </table>
</form>
<script>
        $(document).ready(function(){
                $(".filter_reset").on("click", function(){
                        window.location.href = "{$SCRIPT_NAME}?mode=resetFilter";
                });
        })
</script>
<!-- $Id: order_filter.tpl 2048 2017-02-17 23:41:59Z lars $ END -->