Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 165 | Revision 185 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 165 Revision 178
Zeile 1... Zeile 1...
1
<!-- $Id: supplier.tpl 165 2023-08-03 18:53:38Z lars $ BEGIN -->
1
<!-- $Id: supplier.tpl 178 2023-08-04 18:30:33Z lars $ BEGIN -->
2
<script src="/js/jquery-lager.js"></script>
2
<script src="/js/jquery-lager.js"></script>
3
<script>
3
<script>
4
    $(function()
4
    $(function()
5
    {
5
    {
6
        $("#bestandUploadMsg").dialog({
6
        $("#bestandUploadMsg").dialog({
Zeile 33... Zeile 33...
33
                        $('#bestandUploadMsg').html(msg).dialog("open");
33
                        $('#bestandUploadMsg').html(msg).dialog("open");
34
                    });
34
                    });
35
                }
35
                }
36
            }
36
            }
37
        });
37
        });
38
        $("#loading").dialog({
-
 
39
            height: 110,
-
 
40
            width: 180,
-
 
41
            modal: true,
-
 
42
            autoOpen: false,
-
 
43
            closeOnEscape: false,
-
 
44
            resizable: false
-
 
45
        });
-
 
46
        $("#reiter").tabs();
38
        $("#reiter").tabs();
47
        $("input[type=file]").button();
39
        $("input[type=file]").button();
48
        $(".editConfig").button({
40
        $(".editConfig").button({
49
            "icons":{
41
            "icons":{
50
                primary:"ui-icon-pencil"
42
                primary:"ui-icon-pencil"
Zeile 54... Zeile 46...
54
            icons:{
46
            icons:{
55
                primary:"ui-icon-play"
47
                primary:"ui-icon-play"
56
            }
48
            }
57
        }).click(function(e) {
49
        }).click(function(e) {
58
            e.preventDefault();
50
            e.preventDefault();
59
            $('#loading').dialog("open");
51
            $('#loadingDLG').dialog("open");
60
            $('#bestandUploadMsg').load("lieferantenImport.php?lId={$lieferant.id}",function (json) {
52
            $('#bestandUploadMsg').load("lieferantenImport.php?lId={$lieferant.id}",function (json) {
61
                $('#loading').dialog("close");
53
                $('#loadingDLG').dialog("close");
62
                let ret=$.parseJSON(json);
54
                let ret=$.parseJSON(json);
63
                let err=ret.err;
55
                let err=ret.err;
64
                let msg=ret.msg;
56
                let msg=ret.msg;
65
                if(err!=1)
57
                if(err!=1)
66
                {
58
                {
Zeile 483... Zeile 475...
483
            $("bestellungen").load("lieferantenbestellungen.php?filter[lieferant]=-1_{$lieferant.id}");
475
            $("bestellungen").load("lieferantenbestellungen.php?filter[lieferant]=-1_{$lieferant.id}");
484
        });
476
        });
485
    })
477
    })
486
</script>
478
</script>
487
<div id="bestandUploadMsg" title="Ergebnis"></div>
479
<div id="bestandUploadMsg" title="Ergebnis"></div>
488
<div id="loading" style="text-align:center" title="Verarbeitung läuft">
-
 
489
    <img src="/images/loading.gif"/><br>Bitte warten...
-
 
490
</div>
-
 
491
<div id="editConfigDlg" title="Konfiguration ändern"></div>
480
<div id="editConfigDlg" title="Konfiguration ändern"></div>
492
{/if}
481
{/if}
493
<!-- $Id: supplier.tpl 165 2023-08-03 18:53:38Z lars $ END -->
482
<!-- $Id: supplier.tpl 178 2023-08-04 18:30:33Z lars $ END -->