WEB/Sammlung/Praktikum/3/ias_p2_b0.1/js/view/viewChargenmanager.js

20 lines
569 B
JavaScript
Raw Normal View History

2016-10-16 21:53:15 +02:00
function viewChargenubersicht(){
clearInterval(interval_id);
$.ajax({
dataType: "json",
url: '/manager',
type: 'LIST'
})
.done(function(liste){
markup = TPL.engine.execute_px('chargenubersicht.tpl', liste);
$("#content").html(markup);
$('#content').append('<p><button class = "bigbutton" onclick = viewAuktionen()>zurück</button><button class = "wizardButtonNeu"onclick = wizardStart()>NEU</button></p>');
})
.fail(function(){
alert("Chargenliste konnte nicht geladen werden");
});
}
function viewLosData(chargenNr, losNr){
}