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

Revision

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

Revision 312 Revision 313
Zeile 1... Zeile 1...
1
<!-- $Id: supplier.tpl 312 2023-08-12 14:49:09Z lars $ BEGIN -->
1
<!-- $Id: supplier.tpl 313 2023-08-12 14:54:03Z lars $ BEGIN -->
2
<script>
2
<script>
3
    $(function()
3
    $(function()
4
    {
4
    {
5
        $('#versandkostenLink').click(function(){
5
        $('#versandkostenLink').click(function(){
6
            $('#versandkosten').load("/bestellwesen/suppliers/{$lieferant.id}/shipping")
6
            $('#versandkosten').load("/bestellwesen/suppliers/{$lieferant.id}/shipping")
Zeile 91... Zeile 91...
91
                        msg='<div style="color:red;font-weight:bold">'+msg+'</div>';
91
                        msg='<div style="color:red;font-weight:bold">'+msg+'</div>';
92
                    }
92
                    }
93
                    $('#bestandUploadMsg').html(msg).dialog("open");
93
                    $('#bestandUploadMsg').html(msg).dialog("open");
94
                },
94
                },
95
                error: function (xhr, status, error) {
95
                error: function (xhr, status, error) {
96
                    $('#warehouseError').html(response.responseJSON.message);
96
                    $('#warehouseError').html(xhr.responseJSON.message);
97
                    let errors = response.responseJSON.errors
97
                    let errors = xhr.responseJSON.errors
98
                    if(errors.name)
98
                    if(errors.name)
99
                    {
99
                    {
100
                        $('#warehouseNameError').html(errors.name)
100
                        $('#warehouseNameError').html(errors.name)
101
                    }
101
                    }
102
                    if(errors.rank)
102
                    if(errors.rank)
Zeile 431... Zeile 431...
431
    })
431
    })
432
</script>
432
</script>
433
<div id="bestandUploadMsg" title="Ergebnis"></div>
433
<div id="bestandUploadMsg" title="Ergebnis"></div>
434
<div id="editConfigDlg" title="Konfiguration ändern"></div>
434
<div id="editConfigDlg" title="Konfiguration ändern"></div>
435
{/if}
435
{/if}
436
<!-- $Id: supplier.tpl 312 2023-08-12 14:49:09Z lars $ END -->
436
<!-- $Id: supplier.tpl 313 2023-08-12 14:54:03Z lars $ END -->