1519 lines
56 KiB
HTML
1519 lines
56 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html lang="de">
|
|
<head>
|
|
<title>votian: Auftragserfassung - Submitframe</title>
|
|
<script>
|
|
/*
|
|
// Quelle: http://www.a-coding-project.de/javascript-fehler-automatisch-loggen/
|
|
window.onerror = function myErrorHandler(errorMsg, url, line)
|
|
{
|
|
iframe = document.createElement("IFRAME");
|
|
iframe.setAttribute("src", "../include/ajaxJsError.php?url="+escape(url) + "&line=" + escape(line) + "&message=" + escape(errorMsg) + "&user_agent=" + escape(navigator.userAgent));
|
|
iframe.width = 1;
|
|
iframe.height = 1;
|
|
iframe.style.position = 'absolute';
|
|
iframe.style.left = '-100px';
|
|
setTimeout(function(){
|
|
document.body.appendChild(iframe);
|
|
},1);
|
|
}
|
|
alert('before');
|
|
alert('after');
|
|
*/
|
|
//Quelle: https://msdn.microsoft.com/en-us/library/cc197053%28v=vs.85%29.aspx
|
|
window.onerror=fnErrorTrap;
|
|
function fnErrorTrap(sMsg,sUrl,sLine){
|
|
//parent.job_tour.document.tourForm.
|
|
//parent.job_options.document.tourOptions.
|
|
|
|
var out = '';
|
|
// if(typeof(parent.job_options.document.tourOptions) != 'undefined') {
|
|
// for (var i = 0; i <= parent.job_options.document.tourOptions.elements.length; i++) {
|
|
//// out += i + ": " + parent.job_options.document.tourOptions.elements[i].name + " = " + parent.job_options.document.tourOptions.elements[i].value + "\n";
|
|
// out += parent.job_options.document.forms[0].elements[i].value + "\n";
|
|
// }
|
|
// }
|
|
iframe = document.createElement("IFRAME");
|
|
iframe.setAttribute("src", "../include/ajaxJsError.php?url="+escape(sUrl) + "&line=" + escape(sLine) + "&message=" + escape(sMsg) + "&user_agent=" + escape(navigator.userAgent) + "&out=" + escape(out));
|
|
iframe.width = 1;
|
|
iframe.height = 1;
|
|
iframe.style.display = 'none';
|
|
setTimeout(function(){
|
|
document.body.appendChild(iframe);
|
|
},10);
|
|
// var oErrorLoginnerHTML="<b>An error was thrown and caught.</b><br />";
|
|
// oErrorLoginnerHTML+="Error: " + sMsg + "<br />";
|
|
// oErrorLoginnerHTML+="Line: " + sLine + "<br />";
|
|
// oErrorLoginnerHTML+="URL: " + sUrl + "<br />";
|
|
// alert(oErrorLoginnerHTML);
|
|
return false;
|
|
}
|
|
//alürt('test');
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="../css/phoenix.css">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<script src="../js/jquery.js"></script>
|
|
<script type="text/javascript">
|
|
// **************
|
|
// * Navigation *
|
|
// **************
|
|
|
|
|
|
// *** Core menu code (BEGIN) **********************************************
|
|
|
|
// Shows a container
|
|
function myshow(elem_id) {
|
|
if (elem_id != undefined && elem_id != '') {
|
|
elem_id = '#' + elem_id;
|
|
$(elem_id).show();
|
|
};
|
|
}
|
|
|
|
// Hides a container
|
|
function myhide(elem_id) {
|
|
if (elem_id != undefined && elem_id != '') {
|
|
elem_id = '#' + elem_id;
|
|
$(elem_id).hide();
|
|
};
|
|
}
|
|
|
|
// Hides or shows the menu by clicking the page title container
|
|
function activateMenusByPageTitle() {
|
|
if (menuSwitchActivationStateEnabled) {
|
|
if (menuActiveByPageTitel) {
|
|
menuActiveByPageTitel = false;
|
|
$('#menu').hide();
|
|
$('#menu_reduced').hide();
|
|
} else {
|
|
menuActiveByPageTitel = true;
|
|
$('#menu').show();
|
|
}
|
|
};
|
|
menuSwitchActivationStateEnabled = true;
|
|
}
|
|
|
|
|
|
// Switch activation status of the menu
|
|
function activateMenu(activateId, deactivateId) {
|
|
if (menuSwitchActivationStateEnabled) {
|
|
activateId = '#' + activateId;
|
|
deactivateId = '#' + deactivateId;
|
|
// if (deactivateId != '' && document.getElementById(deactivateId)) {
|
|
if (deactivateId != '' && $(deactivateId)) {
|
|
$(deactivateId).hide();
|
|
};
|
|
// if (activateId != '' && document.getElementById(activateId)) {
|
|
if (activateId != '' && $(activateId)) {
|
|
$(activateId).show();
|
|
};
|
|
};
|
|
menuSwitchActivationStateEnabled = true;
|
|
}
|
|
|
|
// Call for loading one image
|
|
function changeContent(objectName,mode,navLevel) {
|
|
if (navLevel == "") {navLevel = 0};
|
|
navLevel = parseInt(navLevel);
|
|
objName = '#' + objectName;
|
|
|
|
useCascade = true;
|
|
if (navLevel < 0) {
|
|
useCascade = false;
|
|
navLevel = 0;
|
|
};
|
|
tmpIndex = 0; // "off"
|
|
if (mode == "over") {tmpIndex = 1;};
|
|
if (mode == "active") {tmpIndex = 2;};
|
|
if (mode == "deactive") {tmpIndex = 0;};
|
|
|
|
if (objectName != activeElement[navLevel] || mode == "active" || mode == "deactive") {
|
|
$(objName).css('background', 'url(' + navBgImg[navLevel][tmpIndex] + ')');
|
|
};
|
|
|
|
if (useCascade) {
|
|
if (objectName != activeElement[navLevel]) {
|
|
if (mode == "off") {
|
|
if (activeElement[navLevel] == "") {
|
|
// Hide elements of sub-navigation
|
|
for (i = navLevel; i <= menuNavigationDeep; i++) {
|
|
len = menuStruct[i].length;
|
|
for (j = 0; j < len; j++) {
|
|
if (subMenu[menuStruct[i][j]]) {
|
|
len2 = subMenu[menuStruct[i][j]].length;
|
|
for (k = 0; k < len2; k++) {
|
|
myhide(subMenu[menuStruct[i][j]][k]);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
if (mode == "over") {
|
|
if (activeElement[navLevel] == "") {
|
|
// Show element of sub-navigation
|
|
if (subMenu[objectName]) {
|
|
len = subMenu[objectName].length;
|
|
for (i = 0; i < len; i++) {
|
|
myshow(subMenu[objectName][i]);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
// Call for enable a sub menu as active and disable the old active element
|
|
function setMenu(objectName,navLevel) {
|
|
if (navLevel == "") {navLevel = "0"};
|
|
|
|
// Disable current displayed sub menus
|
|
for (i = navLevel; i <= menuNavigationDeep; i++) {
|
|
// Reset menu
|
|
len = menuStruct[i].length;
|
|
for (j = 0; j < len; j++) {
|
|
if (document.getElementById(menuStruct[i][j])) {
|
|
changeContent(menuStruct[i][j],'deactive',i);
|
|
};
|
|
|
|
// Hide sub menus if exist
|
|
if (subMenu[menuStruct[i][j]]) {
|
|
len2 = subMenu[menuStruct[i][j]].length;
|
|
for (k = 0; k < len2; k++) {
|
|
myhide(subMenu[menuStruct[i][j]][k]);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
if (objectName != activeElement[navLevel] || activeElement[navLevel] == "") {
|
|
// Enable new submenu
|
|
if (subMenu[objectName]) {
|
|
len = subMenu[objectName].length;
|
|
for (i = 0; i < len; i++) {
|
|
myshow(subMenu[objectName][i]);
|
|
};
|
|
};
|
|
|
|
// Define active element and delete cascade
|
|
for (i = (navLevel + 1); i <= menuNavigationDeep; i++) {
|
|
activeElement[i] = "";
|
|
};
|
|
activeElement[navLevel] = objectName;
|
|
changeContent(activeElement[navLevel],'active',navLevel);
|
|
} else {
|
|
for (i = navLevel; i <= menuNavigationDeep; i++) {
|
|
activeElement[i] = "";
|
|
};
|
|
};
|
|
}
|
|
|
|
// Gets the id of the parent element
|
|
// if parentLevel==0 then take parent, if parentLevel==1 then take parent of the parent, etc.
|
|
function getParentId(objectId, parentLevel) {
|
|
if (parentLevel == '') {parentLevel = 0};
|
|
parentLevel = parseInt(parentLevel);
|
|
objId = '#' + objectId;
|
|
parentId = $(objId).parents()[parentLevel].id;
|
|
return parentId;
|
|
}
|
|
|
|
// Displays (hides and shows) sub menus (if does exist) according to an item
|
|
// E.g. it shows all elements (menu containers) like subMenu["preise"] => "menu_01_02_01
|
|
function displaySubmenu(itemId, mode) {
|
|
if (mode == '') {mode = 'show'};
|
|
if (itemId) {
|
|
len = subMenu[itemId].length;
|
|
for (i = 0; i < len; i++) {
|
|
if (mode == 'show') {
|
|
myshow(subMenu[itemId][i]);
|
|
} else {
|
|
myhide(subMenu[itemId][i]);
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
// Initiates the menu
|
|
function setMenuOnLoad(objectName,navLevel) {
|
|
if ($(objectName)) {
|
|
navLevel = parseInt(navLevel);
|
|
// alert('objectName=' + objectName + ' navLevel=' + navLevel + ' activeElement[' + navLevel + ']=' + activeElement[navLevel]);
|
|
|
|
// Activate current item
|
|
changeContent(objectName,'active',navLevel);
|
|
activeElement[navLevel] = objectName;
|
|
|
|
// Get id of the parent element
|
|
// E.g. objectName == "servicepreise" => parentId = "menu_01_02_01"
|
|
parentId = getParentId(objectName,0);
|
|
|
|
// Lookup for item of next parent navigation level having "parentId" in associated Array
|
|
// E.g. "menu_01_02_01" is element of subMenu["preise"] => Get all elements of subMenu["preise"]
|
|
for (tmpNavLevel = (navLevel - 1); tmpNavLevel >= 0; tmpNavLevel--) {
|
|
|
|
// Iterate all items of the navigation level in menuStruct[tmpNavLevel]
|
|
len = menuStruct[tmpNavLevel].length;
|
|
for (j = 0; j < len; j++) {
|
|
|
|
if (subMenu[menuStruct[tmpNavLevel][j]]) {
|
|
|
|
len2 = subMenu[menuStruct[tmpNavLevel][j]].length;
|
|
tmpActivateSubmenu = false;
|
|
for (k = 0; k < len2; k++) {
|
|
if (subMenu[menuStruct[tmpNavLevel][j]][k] == parentId) {
|
|
tmpActivateSubmenu = true;
|
|
};
|
|
};
|
|
if (tmpActivateSubmenu) {
|
|
// E.g. show all containers of subMenu["preise"]
|
|
displaySubmenu(menuStruct[tmpNavLevel][j], 'show');
|
|
|
|
// Activate parent item e.g. "preise" (= menuStruct[tmpNavLevel][j])
|
|
changeContent(menuStruct[tmpNavLevel][j],'active',tmpNavLevel);
|
|
activeElement[tmpNavLevel] = menuStruct[tmpNavLevel][j];
|
|
|
|
parentId = getParentId(menuStruct[tmpNavLevel][j],0);
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
// Sets all links of a special link class to "hidefocus"
|
|
function hideFocusOfLinkClass() {
|
|
// $$('#a_menu').each(function(i) {i.hideFocus = "true";});
|
|
}
|
|
|
|
|
|
// C9E9FE hellgrün
|
|
// 47B868 grün
|
|
// 2091C9 blau
|
|
|
|
var menuActive = true;
|
|
// var menuActiveByPageTitel = true;
|
|
var menuActiveByPageTitel = false;
|
|
var menuNavigationDeep = 2;
|
|
|
|
var menuSwitchActivationStateEnabled = true;
|
|
|
|
// Init parameter for current displayed submenus
|
|
var activeElement = new Array();
|
|
activeElement[0] = '';activeElement[1] = '';activeElement[2] = '';var activeElementLen = activeElement.length;
|
|
|
|
var navBgColor = new Array();
|
|
navBgColor[0] = "#1b12b9"; // menu_01 blau (27, 18, 185)
|
|
navBgColor[1] = "#4e45ec"; // menu_02 blau (78, 69, 236)
|
|
navBgColor[2] = "#97bcFF"; // menu_03 blau (151, 188, 255)
|
|
navBgColor[3] = "#97bcFF";
|
|
|
|
var navBgImg = new Array();
|
|
navBgImg[0] = new Array("../images/navItemBgOffMenu01.jpg", "../images/navItemBgOverMenu01.jpg", "../images/navItemBgActiveMenu01.jpg");
|
|
navBgImg[1] = new Array("../images/navItemBgOffMenu02.jpg", "../images/navItemBgOverMenu02.jpg", "../images/navItemBgActiveMenu02.jpg");
|
|
navBgImg[2] = new Array("../images/navItemBgOffMenu03.jpg", "../images/navItemBgOverMenu03.jpg", "../images/navItemBgActiveMenu03.jpg");
|
|
navBgImg[3] = new Array("../images/navItemBgOffMenu03.jpg", "../images/navItemBgOverMenu03.jpg", "../images/navItemBgActiveMenu03.jpg");
|
|
|
|
// Array of the menu structure
|
|
var menuStruct = new Array();
|
|
// menuStruct[0] = new Array("verwaltung","auftraege", ...);
|
|
// menuStruct[1] = new Array("kunden","transporteure",... ,"uebersicht","pdf_ausgabe");
|
|
// ...
|
|
menuStruct[0] = new Array("verwaltung","auftraege","listen","rechnungen","vertrieb","nachrichten","datentransfer","statistik","formulare");
|
|
menuStruct[1] = new Array("kunden","transporteure","map","gueter","preise","rabatte","mitarbeiter","feiertage","anfahrtszeiten","adressen","gruppen","kontakte","berichte","bewertung","filter","erfassung","listenerfassung","uebersicht","pdf_ausgabe","csv_ausgabe","devices","newsticker","newsletter","datenexport","datenimport");
|
|
menuStruct[2] = new Array("servicepreise","plz_preise","bereichspreise","servicerabatte","plz_rabatte","bereichsrabatte","adressenverwaltung","plz_adressen","bereichsadressen","serviceeinheit","artikel","lager","zentralenmitarbeiter","lagerist","kd_berichte","un_berichte");
|
|
|
|
// Array of containers be visible by hovering and click
|
|
var subMenu = new Array();
|
|
// subMenu["verwaltung"] = new Array("menu_01_01","menu_01_02","menu_01_03");
|
|
// subMenu["rechnungen"] = new Array("menu_02_01");
|
|
// ...
|
|
subMenu["verwaltung"] = new Array("menu_01_01","menu_01_02","menu_01_03","menu_01_04","menu_01_05");
|
|
subMenu["auftraege"] = new Array("menu_02_01");
|
|
subMenu["rechnungen"] = new Array("menu_03_01");
|
|
subMenu["nachrichten"] = new Array("menu_04_01");
|
|
subMenu["datentransfer"] = new Array("menu_05_01");
|
|
subMenu["gueter"] = new Array("menu_01_02_04");
|
|
subMenu["preise"] = new Array("menu_01_02_01");
|
|
subMenu["rabatte"] = new Array("menu_01_02_02");
|
|
subMenu["mitarbeiter"] = new Array("menu_01_02_05");
|
|
subMenu["adressen"] = new Array("menu_01_02_03");
|
|
subMenu["berichte"] = new Array("menu_01_02_06");
|
|
|
|
|
|
// *** Core menu code (END) **********************************************
|
|
|
|
|
|
|
|
// *** Framework Wrapper (BEGIN) ***************************************
|
|
|
|
function vShow(selector) {
|
|
myshow(selector);
|
|
};
|
|
|
|
function vHide(selector) {
|
|
myhide(selector);
|
|
};
|
|
|
|
function vSetCss(selector, cssStyles) {
|
|
selector = '#' + selector;
|
|
$(selector).css(cssStyles);
|
|
};
|
|
|
|
function vSetElementContent(selector, content) {
|
|
selector = '#' + selector;
|
|
$(selector).html(content);
|
|
};
|
|
|
|
function vGetElementContent(selector) {
|
|
selector = '#' + selector;
|
|
return $(selector).html();
|
|
};
|
|
|
|
function vConfirmFunc(msg, fn, height, selector) {
|
|
if (height == "" || height == undefined) { height = '160'; };
|
|
if (selector == "" || selector == undefined) { selector = 'dialog-confirm'; };
|
|
selector = '#' + selector;
|
|
genConfirm(msg);
|
|
$(function() {
|
|
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
|
$( selector ).dialog({
|
|
resizable: false, height:160, modal: true,
|
|
buttons: {
|
|
"Ja": function() { fn(); },
|
|
"Nein": function() { $( this ).dialog( "close" ); }
|
|
}
|
|
});
|
|
});
|
|
};
|
|
|
|
function vConfirmFuncPar(msg, fn, height, selector, par1, par2, par3, par4, par5, par6, par7, par8, par9) {
|
|
if (height == "" || height == undefined) { height = '160'; };
|
|
if (selector == "" || selector == undefined) { selector = 'dialog-confirm'; };
|
|
selector = '#' + selector;
|
|
genConfirm(msg);
|
|
$(function() {
|
|
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
|
$( selector ).dialog({
|
|
resizable: false, height:160, modal: true,
|
|
buttons: {
|
|
"Ja": function() {
|
|
if (par9 != '') {
|
|
fn(par1, par2, par3, par4, par5, par6, par7, par8, par9);
|
|
} else if (par8 != '') {
|
|
fn(par1, par2, par3, par4, par5, par6, par7, par8);
|
|
} else if (par7 != '') {
|
|
fn(par1, par2, par3, par4, par5, par6, par7);
|
|
} else if (par6 != '') {
|
|
fn(par1, par2, par3, par4, par5, par6);
|
|
} else if (par5 != '') {
|
|
fn(par1, par2, par3, par4, par5);
|
|
} else if (par4 != '') {
|
|
fn(par1, par2, par3, par4);
|
|
} else if (par3 != '') {
|
|
fn(par1, par2, par3);
|
|
} else if (par2 != '') {
|
|
fn(par1, par2);
|
|
} else if (par1 != '') {
|
|
fn(par1);
|
|
}
|
|
},
|
|
"Nein": function() { $( this ).dialog( "close" ); }
|
|
}
|
|
});
|
|
});
|
|
};
|
|
|
|
// *** Framework Wrapper (END) ******************************************
|
|
|
|
|
|
|
|
// *** DHTML (BEGIN) ****************************************************
|
|
|
|
var activeButton = '';
|
|
var disabledButtons = new Array(); // E.g. for export to disable all buttons after selecting one of them
|
|
|
|
function checkButtonIsDisabled(buttonName) {
|
|
notDisabled = true;
|
|
disabledButtonsLen = disabledButtons.length;
|
|
for (i = 0; i < disabledButtonsLen; i++) {
|
|
if (buttonName == disabledButtons[i]) {notDisabled = false;};
|
|
};
|
|
return notDisabled;
|
|
}
|
|
|
|
function changeButton(mode,buttonName,content,paddingLeft,paddingTop) {
|
|
|
|
elem = '#' + buttonName;
|
|
// elem = $(buttonName);
|
|
notDisabled = checkButtonIsDisabled(buttonName);
|
|
|
|
if (buttonName != activeButton && notDisabled) {
|
|
if (mode == "off") {
|
|
// elem.setStyle({color: '#FFFFFF'});
|
|
$(elem).css('color', '#FFFFFF');
|
|
// elem.innerHTML = '<div style="margin-left:' + paddingLeft + '; margin-top:' + paddingTop + ';">' + content + '</div>\n';
|
|
};
|
|
if (mode == "over") {
|
|
// buttonWidth = elem.getStyle('width');
|
|
buttonWidth = $(elem).css('width');
|
|
buttonWidth = parseInt(buttonWidth.substring(0, (buttonWidth.length - 2))) - 2;
|
|
// buttonHeight = elem.getStyle('height');
|
|
buttonHeight = $(elem).css('height');
|
|
buttonHeight = parseInt(buttonHeight.substring(0, (buttonHeight.length - 2))) - 2;
|
|
// elem.setStyle({color: '#97bcFF'});
|
|
$(elem).css('color', '#97bcFF');
|
|
|
|
// elem.innerHTML = '<div style="margin-left:' + paddingLeft + '; margin-top:' + paddingTop + '; color:#FFFFFF;">' + 'x' + content + '</div>\n';
|
|
/*
|
|
tmpInnerHTLM = eval('<div style="height:1px; background:#FFFFFF;"></div>\n' +
|
|
'<div style="height:' + buttonHeight + 'px;">\n' +
|
|
' <div style="width:1px; height:100%; background:#FFFFFF;"></div>\n' +
|
|
' <div style="width:' + buttonWidth + 'px; height:' + buttonHeight + 'px;">' + content + '</div>\n' +
|
|
' <div style="width:1px; height:100%; background:#000000;"></div>\n' +
|
|
'</div>\n' +
|
|
'<div style="height:1px; background:#000000;"></div>\n');
|
|
// elem.innerHTML = tmpInnerHTLM;
|
|
$(elem).text(tmpInnerHTLM);
|
|
*/
|
|
};
|
|
};
|
|
}
|
|
|
|
// *** DHTML (END) ****************************************************
|
|
|
|
// JQuery.Request (POST)
|
|
function ajax_request(url, data) {
|
|
$.ajax({
|
|
type: "POST",
|
|
url: url,
|
|
data: data,
|
|
success: function(msg){ajax_response(msg);}
|
|
});
|
|
}
|
|
// JQuery.Response (POST)
|
|
function ajax_response(msg) {
|
|
if(!bHasRedirect) {
|
|
$('maincontent').innerHTML = msg;
|
|
}
|
|
else {
|
|
bHasRedirect = false;
|
|
ajax_request(msg, "");
|
|
}
|
|
}
|
|
|
|
// JQuery.Request (GET)
|
|
function ajaxRequestGet(url, data) {
|
|
$.ajax({
|
|
type: "GET",
|
|
url: url,
|
|
data: data,
|
|
async: false,
|
|
cache: false,
|
|
success: function(msg){eval(msg);}
|
|
});
|
|
}
|
|
|
|
var statusMessage = "";
|
|
|
|
function displayStatusMessage() {
|
|
if (statusMessage != "") {
|
|
alert(statusMessage);
|
|
}
|
|
};
|
|
|
|
function hqCheckAll(numOfHq) {
|
|
for (i = 0; i < numOfHq; i++) {
|
|
document.getElementsByName('f_hq_id[]')[i].checked = true;
|
|
}
|
|
}
|
|
|
|
function hqUncheckAll(numOfHq) {
|
|
for (i = 0; i < numOfHq; i++) {
|
|
document.getElementsByName('f_hq_id[]')[i].checked = false;
|
|
}
|
|
}
|
|
|
|
function mkImpressumPopupWin() {
|
|
|
|
var widthPopupWin = 250;
|
|
var heightPopupWin = 310;
|
|
var leftPopupWin = (screen.width / 2) - (widthPopupWin / 2) - 12;
|
|
var topPopupWin = (screen.height / 2) - (heightPopupWin / 2) - 50;
|
|
var popupWin;
|
|
popupWin=window.open("../admin/impressum.html", "","dependent=yes,width=" + widthPopupWin + ",height=" + heightPopupWin +",left=" + leftPopupWin + ",top=" + topPopupWin);
|
|
};
|
|
|
|
function mkLanguagePopupWin() {
|
|
|
|
var widthPopupWin = 250;
|
|
var heightPopupWin = 310;
|
|
var leftPopupWin = (screen.width / 2) - (widthPopupWin / 2) - 12;
|
|
var topPopupWin = (screen.height / 2) - (heightPopupWin / 2) - 50;
|
|
var popupWin;
|
|
popupWin=window.open("../admin/language.php", "","dependent=yes,width=" + widthPopupWin + ",height=" + heightPopupWin +",left=" + leftPopupWin + ",top=" + topPopupWin);
|
|
};
|
|
|
|
function submitPage(navItem) {
|
|
if (document.forms[0].currentNavigationItem) {
|
|
document.forms[0].currentNavigationItem.value = navItem;
|
|
}
|
|
if (document.forms[0].menuActiveByPageTitel) {
|
|
if (menuActiveByPageTitel) {
|
|
document.forms[0].menuActiveByPageTitel.value = '0';
|
|
} else {
|
|
document.forms[0].menuActiveByPageTitel.value = '1';
|
|
}
|
|
}
|
|
document.forms[0].submit();
|
|
};
|
|
|
|
function genConfirm(text, headline, appendSelector) {
|
|
if (headline == '' || headline == undefined) {headline = 'Bestätigung';};
|
|
if (text == '' || text == undefined) {text = 'Wirklich?';};
|
|
if (appendSelector == '' || appendSelector == undefined) {appendSelector = '#maincontent';};
|
|
$(appendSelector).append('<div id="dialog-confirm" title="' + headline + '"><p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>' + text + '</p></div>');
|
|
}
|
|
|
|
function logout() {
|
|
if (confirm('Möchten Sie sich wirklich abmelden?')) {
|
|
document.location.href = "../admin/logout.php";
|
|
};
|
|
};
|
|
|
|
function redirectLocation(locUrl) {
|
|
if (locUrl && locUrl != '') {
|
|
document.location.href = locUrl;
|
|
}
|
|
};
|
|
|
|
function metasearchSpecial (objType, containerNo = '1') {
|
|
var searchVal = $("#metaSearch").val();
|
|
var searchProcessOk = false;
|
|
var ctNum = padl(containerNo.toString(),2,'0');
|
|
if (!objType) {objType = ''};
|
|
searchVal = searchVal.trim();
|
|
searchValLen = searchVal.length;
|
|
if (objType != '' && searchVal != ''&& searchValLen >= 4) {
|
|
ajaxRequestGet('../include/ajaxReqSearch.php', 'retMode=0&objType=' + objType + '&searchValue=' + encodeURI(escape(searchVal)));
|
|
searchProcessOk = true;
|
|
if (searchResult != '') {
|
|
$('#metaSearchResult_' + ctNum).html(searchResult);
|
|
}
|
|
} else {
|
|
$('#metaSearchResult_' + ctNum).html('<center><span style="color:red">Bitte mindestens 4 Zeichen eingeben!</span></center>');
|
|
}
|
|
return searchProcessOk;
|
|
};
|
|
|
|
function metasearch (objType = '') {
|
|
// Init container
|
|
$('#metaSearchResult_01').html('');
|
|
$('#metaSearchResult_02').html('');
|
|
$('#metaSearchResult_03').html('');
|
|
$('#metaSearchResult_04').html('');
|
|
// Search in categories
|
|
var searchProcessOk = true;
|
|
var ctNum = 0;
|
|
if (objType == '' || objType == 'jb') {
|
|
ctNum++;
|
|
searchProcessOk = metasearchSpecial('jb', ctNum);
|
|
}
|
|
if (searchProcessOk && (objType == '' || objType == 'cs')) {
|
|
ctNum++;
|
|
searchProcessOk = metasearchSpecial('cs', ctNum);
|
|
}
|
|
if (searchProcessOk && (objType == '' || objType == 'cr')) {
|
|
ctNum++;
|
|
searchProcessOk = metasearchSpecial('cr', ctNum);
|
|
}
|
|
if (searchProcessOk && (objType == '' || objType == 'crvh')) {
|
|
ctNum++;
|
|
searchProcessOk = metasearchSpecial('crvh', ctNum);
|
|
}
|
|
};
|
|
|
|
function openMfHistory() {
|
|
var widthPopupWin = 900;
|
|
var heightPopupWin = 700;
|
|
var leftPopupWin = (screen.width / 2) - (widthPopupWin / 2) - 12;
|
|
var topPopupWin = (screen.height / 2) - (heightPopupWin / 2) - 50;
|
|
var popupWin;
|
|
popupWin = window.open("../admin/mf_history.php","","dependent=yes,width=" + widthPopupWin + ",height=" + heightPopupWin +",left=" + leftPopupWin + ",top=" + topPopupWin + ",scrollbars=yes");
|
|
};
|
|
|
|
function openJobInvoiceAssoc() {
|
|
var widthPopupWin = 1200;
|
|
var heightPopupWin = 1024;
|
|
var leftPopupWin = (screen.width / 2) - (widthPopupWin / 2) - 12;
|
|
var topPopupWin = (screen.height / 2) - (heightPopupWin / 2) - 50;
|
|
var popupWin;
|
|
popupWin = window.open("../jobs/jb_inv_assoc.php","","dependent=yes,width=" + widthPopupWin + ",height=" + heightPopupWin +",left=" + leftPopupWin + ",top=" + topPopupWin + ",scrollbars=yes");
|
|
};
|
|
|
|
function openVehicleDisposition() {
|
|
var widthPopupWin = 1800;
|
|
var heightPopupWin = 1024;
|
|
var leftPopupWin = (screen.width / 2) - (widthPopupWin / 2) - 12;
|
|
var topPopupWin = (screen.height / 2) - (heightPopupWin / 2) - 50;
|
|
var popupWin;
|
|
popupWin = window.open("../admin/vehicle_disposition.php","","dependent=yes,width=" + widthPopupWin + ",height=" + heightPopupWin +",left=" + leftPopupWin + ",top=" + topPopupWin + ",scrollbars=yes");
|
|
};
|
|
|
|
|
|
// Changes user state regarding context
|
|
// context : Context like "usr_state_dispo", etc.
|
|
// activationState : State value for GDC content (if empty then toggle between 0 and 1, otherwise it could be e.g. an ID or so on)
|
|
function changeButtonMenuState (context,buttonName,buttonText,buttonSwichMode,activationState,textColor1,textColor2,bgColor1,bgColor2) {
|
|
elem = '#' + buttonName;
|
|
|
|
if (!activationState || activationState == '') { activationState = '1' };
|
|
|
|
// Avoid switching the menu
|
|
menuSwitchActivationStateEnabled = false;
|
|
|
|
if (context != '' && buttonName != '') {
|
|
|
|
// Check for defaults
|
|
buttonSwichMode
|
|
if (!buttonSwichMode || buttonSwichMode == '') { buttonSwichMode = '0' }; // Toggle button between colors
|
|
|
|
var textColor = 'rgb(255, 255, 255)'; // White (Default)
|
|
if (!textColor1 || textColor1 == '') { textColor1 = 'rgb(255, 0, 0)' }; // Red
|
|
if (!textColor2 || textColor2 == '') { textColor2 = 'rgb(0, 255, 0)' }; // Green
|
|
var bgColor = 'rgb(78, 69, 236)'; // Blue [constMenuBackground[2] <=> "#4e45ec"] (Default)
|
|
if (!bgColor1 || bgColor1 == '') { bgColor1 = 'rgb(78, 69, 236)' }; // Blue [constMenuBackground[2] <=> "#4e45ec"]
|
|
if (!bgColor2 || bgColor2 == '') { bgColor2 = 'rgb(78, 69, 236)' }; // Blue [constMenuBackground[2] <=> "#4e45ec"]
|
|
|
|
$(elem).css('background-color', bgColor);
|
|
retValue = '';
|
|
|
|
// 0 : Toggles between colors [default] (e.g. manually enabling/disabling item)
|
|
// 1 : Set textColor2 in every case (read receipt by user)
|
|
if (buttonSwichMode == '1') {
|
|
$(elem).css('color', textColor2);
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=500&wrap_html=1&value_01=usr&value_02=__22515657__&value_03=' + context + '&value_04=' + activationState + '&value_05=');
|
|
|
|
} else if (buttonSwichMode == '2') {
|
|
// Get activation state of the current user
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=6&db_table=genericdatacontainer&id_01=gdc_obj_type&value_01=usr&id_02=gdc_obj_id&value_02=300002&id_03=gdc_gen_fieldname&value_03=' + context + '&db_return_field=gdc_content');
|
|
if (retValue != '') {
|
|
activationState = retValue;
|
|
if (activationState == '0') {
|
|
$(elem).css('color', textColor1);
|
|
}
|
|
if (activationState == '1') {
|
|
$(elem).css('color', textColor2);
|
|
}
|
|
}
|
|
} else {
|
|
// Get activation state of the current user
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=6&db_table=genericdatacontainer&id_01=gdc_obj_type&value_01=usr&id_02=gdc_obj_id&value_02=300002&id_03=gdc_gen_fieldname&value_03=' + context + '&db_return_field=gdc_content');
|
|
if (retValue != '') {
|
|
activationState = retValue;
|
|
}
|
|
if (activationState == '0') {
|
|
// Activate the state regarding context
|
|
activationState = 1;
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=500&wrap_html=1&value_01=usr&value_02=__22515657__&value_03=' + context + '&value_04=' + activationState + '&value_05=');
|
|
if (retValue != '') {
|
|
$(elem).css('color', textColor2);
|
|
}
|
|
} else {
|
|
// Deactivate the state regarding context
|
|
activationState = 0;
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=500&wrap_html=1&value_01=usr&value_02=__22515657__&value_03=' + context + '&value_04=' + activationState + '&value_05=');
|
|
if (retValue != '') {
|
|
$(elem).css('color', textColor1);
|
|
}
|
|
};
|
|
}
|
|
};
|
|
}
|
|
|
|
// Get current user states an other informations for output in page info
|
|
function menuGetInfodata (context, par_01, par_02, par_03, par_04, par_05) {
|
|
var htmlMenuOut = '';
|
|
var htmlContentOut = '';
|
|
|
|
htmlMenuOut = '<button type="button" class="buttonMenuUserInfo" onClick="myhide(\'page_info\');">Schließen</button>';
|
|
|
|
var usrStateKey = '';
|
|
var usrStateText = '';
|
|
var usrStateTriggerKey = '';
|
|
|
|
if (context == 'usr_state_dispo') {
|
|
usrStateKey = 'usr_state_dispo';
|
|
usrStateText = 'Vermittlung'
|
|
usrStateTriggerKey = 'trigger_usr_state_dispo';
|
|
};
|
|
if (context == 'usr_state_project') {
|
|
usrStateKey = 'usr_state_project';
|
|
usrStateText = 'Projekte'
|
|
usrStateTriggerKey = 'trigger_usr_state_project';
|
|
};
|
|
if (context == 'usr_state_email') {
|
|
usrStateKey = 'usr_state_email';
|
|
usrStateText = 'Emails'
|
|
usrStateTriggerKey = 'trigger_usr_state_email';
|
|
};
|
|
|
|
if (usrStateKey != '' && usrStateText != '' && usrStateTriggerKey != '') {
|
|
// Get all employees being activated for the current state
|
|
ajaxRequestGet('../include/ajaxReqGeneric.php', 'mode=html&incFile=inc_user.inc&fun=getUserByState&fixNumOfPars=4&par_01=' + usrStateKey + '&par_02=1&par_03=1&par_04=' + usrStateText + '&retIdx=0');
|
|
htmlContentOut += retValue;
|
|
|
|
// Get activation state of the current user
|
|
ajaxRequestGet('../include/ajaxReqLib.php', 'mode=6&db_table=genericdatacontainer&id_01=gdc_obj_type&value_01=usr&id_02=gdc_obj_id&value_02=300002&id_03=gdc_gen_fieldname&value_03=' + context + '&db_return_field=gdc_content');
|
|
|
|
htmlMenuOut += '<button type="button" class="buttonMenuUserState" name="' + usrStateTriggerKey + '" id="' + usrStateTriggerKey + '" onClick="changeButtonMenuState(\'' + usrStateKey + '\',\'' + usrStateTriggerKey + '\',\'' + usrStateText + '\',\'\',\'' + retValue + '\'); changeButtonMenuState(\'' + usrStateKey + '\',\'' + usrStateKey + '\',\'' + usrStateText + '\',\'2\'); menuGetInfodata(\'' + usrStateKey + '\');">' + usrStateText + '</button>';
|
|
|
|
$('#page_info_menu').html(htmlMenuOut);
|
|
$('#page_info_content').html(htmlContentOut);
|
|
|
|
changeButtonMenuState(usrStateKey,usrStateTriggerKey,'','2');
|
|
};
|
|
|
|
if (context == 'usr_state_newsticker') {
|
|
htmlMenuOut += '<button type="button" class="buttonMenuUserInfo" onClick="myhide(\'page_info\'); document.location.href = \'../admin/newsticker.php?currentNavigationItem=newsticker\';">Bisherige</button>';
|
|
|
|
// Get all news for the curent user having activated the button "Mitteilungen"
|
|
ajaxRequestGet('../include/ajaxReqGeneric.php', 'mode=html&incFile=inc_user.inc&fun=getUserMessages&fixNumOfPars=2&par_01=' + par_01 + '&par_02=' + par_02 + '&retIdx=0');
|
|
htmlContentOut += retValue;
|
|
|
|
$('#page_info_menu').html(htmlMenuOut);
|
|
$('#page_info_content').html(htmlContentOut);
|
|
};
|
|
|
|
menuSwitchActivationStateEnabled = false;
|
|
myshow('page_info');
|
|
}
|
|
</script>
|
|
<script type="text/javascript" src="../js/jquery-ui.custom.min.js"></script>
|
|
<link rel="stylesheet" href="../css/jquery-ui.custom.min.css" type="text/css" />
|
|
<script type="text/javascript">
|
|
|
|
// *** Ticker (BEGIN) ****************************************************
|
|
|
|
var tickerActive = false;
|
|
var max = 0;
|
|
|
|
function textlist() {
|
|
max = textlist.arguments.length;
|
|
for (i=0; i<max; i++) {
|
|
this[i] = textlist.arguments[i];
|
|
};
|
|
}
|
|
|
|
|
|
// JQuery.Request
|
|
function ticker_request(url, data) {
|
|
$.ajax({
|
|
type: "POST",
|
|
url: url,
|
|
data: data,
|
|
success: function(msg){ticker_response(msg);}
|
|
});
|
|
}
|
|
|
|
// JQuery.Response
|
|
function ticker_response(msg) {
|
|
eval(msg);
|
|
}
|
|
|
|
|
|
|
|
|
|
tl = new Array ("");max = tl.length;
|
|
|
|
var x = 0; pos = 0;
|
|
var msgLen = 0;
|
|
if (max > 0) {
|
|
msgLen = tl[0].length;
|
|
} else {
|
|
}
|
|
var initInterval = 0;
|
|
|
|
function ticker(elem_id) {
|
|
if (tickerActive) {
|
|
content = ' ' + tl[x].substring(0,pos);
|
|
if (elem_id == '' || elem_id == undefined) {elem_id = 'tickerOut';};
|
|
vSetElementContent(elem_id, content);
|
|
if (pos++ == msgLen) {
|
|
pos = 0;
|
|
// setTimeout("ticker()",5000);
|
|
setTimeout("ticker('"+elem_id+"')",5000);
|
|
x++;
|
|
if (x == max) {
|
|
x = 0;
|
|
initInterval++;
|
|
if (initInterval == 5) {
|
|
ticker_request('../include/ajaxReqTickerMsgs.php', 'tickerHeader=1');
|
|
initInterval = 0;
|
|
};
|
|
};
|
|
msgLen = tl[x].length;
|
|
} else {
|
|
// setTimeout("ticker()",50);
|
|
setTimeout("ticker('"+elem_id+"')",50);
|
|
};
|
|
};
|
|
}
|
|
|
|
function switchTicker(mode) {
|
|
if (mode == 'on') {tickerActive = false;};
|
|
if (mode == 'off') {tickerActive = true;};
|
|
if (tickerActive) {
|
|
tickerActive = false;
|
|
myhide('tickerOut');
|
|
} else {
|
|
tickerActive = true;
|
|
myshow('tickerOut');
|
|
ticker('tickerOut');
|
|
};
|
|
}
|
|
|
|
|
|
// *** Ticker (END) ****************************************************
|
|
</script>
|
|
<script src="../include/lib_global.10.js" type="text/javascript"></script>
|
|
<script src="../include/lib_courier.js" type="text/javascript"></script>
|
|
<!-- BEGIN javascript -->
|
|
<script src="../jobs/job_options_{_hq_id_}.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
var MASK_MAXTOUR="{_mask_maxtour_}";
|
|
//-->
|
|
</script>
|
|
<script src="job_edit.28.js" type="text/javascript"></script>
|
|
<script src="../include/key_events_content.js" language="JavaScript1.2" type="text/javascript"></script>
|
|
<script for="document" event="onkeydown()" language="JScript" type="text/jscript">
|
|
<!--
|
|
{
|
|
if(window.event.altKey&&event.keyCode>=49&&event.keyCode<=57){
|
|
actionMapEvent(window.event,event.keyCode);
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
var isCurrentlySubmitting=false;
|
|
var job_options_isLoading=true;
|
|
var curCsc_id_payer="";
|
|
var significantPriceValues="2";
|
|
var is_afterwards=false;
|
|
var fixprice_was_zone=false;
|
|
function job_is_locked()
|
|
{
|
|
alert("Der Auftrag wird gerade von einem anderen Benutzer bearbeitet!");
|
|
parent.close();
|
|
return;
|
|
}
|
|
var statusMessage="{statusMessage}";
|
|
function displayStatusMessage(){
|
|
if(statusMessage!=""){
|
|
alert(statusMessage);
|
|
}
|
|
};
|
|
var hq_id="{_hq_id_}";
|
|
var cs_jbedit_cr="{_cs_jbedit_cr_}";
|
|
{_cs_jbedit_cr_list_}
|
|
var cs_jbedit_cs_filter="{_cs_jbedit_cs_filter_}";
|
|
{_cs_jbedit_filter_list_}
|
|
var cs_id="{_cs_id_}";
|
|
var csc_id_payer_cash="{_csc_id_payer_cash_}";
|
|
var cash_payer_select="{_cash_payer_select_}";
|
|
{_csc_id_extern_list_}
|
|
var cs_eid_list=new Array();
|
|
{_cr_id_order_list_}
|
|
{_when_}
|
|
var auto_refresh="{_auto_refresh_}";
|
|
var hq_workmode="{_hq_workmode_}";
|
|
var commission_no_on="{_commission_no_on_}";
|
|
var jb_id="{_jb_id_}";
|
|
var prev_jb_id="{_prev_jb_id_}"
|
|
var jb_copy="{_jb_copy_}";
|
|
var dbhistory="{_dbhistory_}";
|
|
var empModeCopyJob="{_empModeCopyJob_}";
|
|
var empModeLaterJob="{_empModeLaterJob_}";
|
|
var ask_defaultpayer_change="{_ask_defaultpayer_change_}";
|
|
var manual_disposition="{_manual_disposition_}";
|
|
var MASK_CR_PRICE_MODE="{_mask_cr_price_mode_}";
|
|
var discount_default=false;
|
|
var is_exported=false;
|
|
var cs_id_ec="{_cs_id_ec_}";
|
|
var csc_id_orderer_root_ec="{_csc_id_orderer_root_ec_}";
|
|
var csc_id_orderer_ec="{_csc_id_orderer_ec_}";
|
|
var csc_id_payer_val_save = "";
|
|
var self_service_discount = {_self_service_discount_};
|
|
|
|
function initForm()
|
|
{
|
|
var csc_id_orderer="{_csc_id_orderer_}";
|
|
if (typeof (parent.job_header.job_header_isLoading) == 'undefined' || parent.job_header.job_header_isLoading == true ||
|
|
typeof (parent.job_tour.job_tour_isLoading) == 'undefined' || parent.job_tour.job_tour_isLoading == true ||
|
|
typeof (parent.job_options.job_options_isLoading) == 'undefined' || parent.job_options.job_options_isLoading == true)
|
|
{
|
|
self.setTimeout('initForm()', 20);
|
|
return;
|
|
}
|
|
fillDateFields(1,"job_options","tourOptions","","tag","monat","jahr","stunde","minute","jb_permanent");
|
|
initFldList();
|
|
{_javascript_}
|
|
parent.job_tour.document.tourForm.currentPrice.value="";
|
|
if(addressValid)
|
|
{
|
|
initJobList();
|
|
//setJobList(0,jl_csc_id_payer,"true");
|
|
if(typeof(parent.job_tour.document.tourForm.jb_costsplit) != 'undefined')
|
|
parent.job_tour.document.tourForm.jb_costsplit.checked=false;
|
|
if(typeof(parent.job_tour.document.tourForm.jb_cash) != 'undefined')
|
|
parent.job_tour.document.tourForm.jb_cash.checked=false;
|
|
if(typeof(parent.job_tour.document.tourForm.accept_all_addresses) != 'undefined')
|
|
parent.job_tour.document.tourForm.accept_all_addresses.checked=false;
|
|
parent.job_tour.document.tourForm.jb_commission_no.value = "";
|
|
parent.job_options.document.tourOptions.jb_commission_no_hidden.value = "";
|
|
setCurTourNo(0);
|
|
moveToTour(0);
|
|
}
|
|
if(statusMessage!=""){
|
|
displayStatusMessage();
|
|
}else{
|
|
checkBrowser();
|
|
}
|
|
if(jb_id!="")
|
|
{
|
|
if(jb_id=="killMe")
|
|
{
|
|
parent.close();
|
|
return;
|
|
}
|
|
parent.job_tour.document.tourForm.duplicateJobButton.disabled=false;
|
|
is_afterwards=true;
|
|
if(typeof(parent.job_options.document.tourOptions.afterwards)!='undefined')parent.job_options.document.tourOptions.afterwards.disabled=true;
|
|
if(typeof(parent.job_options.document.tourOptions.jb_waitstorno)!='undefined')parent.job_options.document.tourOptions.jb_waitstorno.disabled=true;
|
|
if(typeof(parent.job_options.document.tourOptions.crSidList)!='undefined')parent.job_options.document.tourOptions.crSidList.disabled=true;
|
|
if(typeof(parent.job_options.document.tourOptions.cr_id_order)!='undefined')parent.job_options.document.tourOptions.cr_id_order.disabled=true;
|
|
self.setTimeout('getSavedTour('+jb_id+','+jb_copy+','+dbhistory+',false)',100);
|
|
}
|
|
if(empModeLaterJob=="1")
|
|
{
|
|
if(typeof(parent.job_tour.document.tourForm.jb_costsplit)!='undefined'){
|
|
parent.job_options.document.tourOptions.jb_globaljob.disabled=true;
|
|
parent.job_options.document.tourOptions.jb_globaljob.checked=false;
|
|
parent.job_options.document.tourOptions.jb_status_manual.disabled=true;
|
|
parent.job_options.document.tourOptions.jb_status_manual.checked=false;
|
|
parent.job_options.document.tourOptions.afterwards.disabled=false;
|
|
parent.job_options.document.tourOptions.afterwards.checked=true;
|
|
checkAfterwards();
|
|
}
|
|
if(prev_jb_id=="")
|
|
parent.job_tour.document.tourForm.getLastJobButton.disabled=true;
|
|
else
|
|
parent.job_tour.document.tourForm.getLastJobButton.disabled=false;
|
|
}else{
|
|
if(manual_disposition=="1"&&typeof(parent.job_options.document.tourOptions.jb_status_manual)!='undefined')
|
|
{
|
|
parent.job_options.document.tourOptions.jb_status_manual.disabled=false;
|
|
parent.job_options.document.tourOptions.jb_status_manual.checked=true;
|
|
}
|
|
}
|
|
parent.job_tour.document.tourForm.elements[von_fields[jl_tr_comp]].focus();
|
|
if (cash_payer_select=="1"&&jb_id==""&&(typeof(parent.job_tour.document.tourForm.jb_costsplit)!='undefined'))
|
|
{
|
|
parent.job_tour.document.tourForm.jb_costsplit.checked=true;
|
|
checkCostsplit(true);
|
|
}
|
|
{_csc_id_start_code_js_}
|
|
}
|
|
<!-- END javascript -->
|
|
function checkTimeFields(callerIdx)
|
|
{
|
|
var curDate=new Date();
|
|
var selHour=getSelectedNumVal(job_options,tourOptions,jb_waittime_hour);
|
|
var selMinute=getSelectedNumVal(job_options,tourOptions,jb_waittime_minute);
|
|
if(getSelectedVal(job_options,tourOptions,callerIdx)=="")
|
|
{
|
|
selHour="";
|
|
selMinute="";
|
|
}else{
|
|
if(selHour==""&&selHour.toString(10)!="0")
|
|
selHour=curDate.getHours();
|
|
if(selMinute==""&&selMinute.toString(10)!="0")
|
|
{
|
|
selMinute=curDate.getMinutes()+1;
|
|
while(selMinute%5>0)selMinute++;
|
|
if(selMinute==60)
|
|
{
|
|
selMinute=0;
|
|
if(++selHour>23)
|
|
selHour-=24;
|
|
}
|
|
}
|
|
}
|
|
setSelectedOption(job_options,tourOptions,jb_waittime_hour,selHour);
|
|
setSelectedOption(job_options,tourOptions,jb_waittime_minute,selMinute);
|
|
}
|
|
function mkTourname()
|
|
{
|
|
if(parent.job_options.document.tourOptions.jb_tourname.value!="")
|
|
parent.job_options.document.tourOptions.jb_tourname.value="";
|
|
else
|
|
parent.job_options.document.tourOptions.jb_tourname.value=parent.job_options.document.tourOptions.jb_tourname_hidden.value;
|
|
}
|
|
-->
|
|
</script>
|
|
<noscript>
|
|
<center>
|
|
<b><br>JavaScript ist nicht verfügbar. Bitte aktivieren Sie JavaScript<br><br>
|
|
in Ihrem Browser, damit diese Seite ordnungsgemäß funktioniert!</b><br><br>
|
|
</center>
|
|
</noscript>
|
|
</head>
|
|
<body onLoad="initForm()">
|
|
<table border=0 height=95% width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
|
|
<tr>
|
|
<td width=2%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=18%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=25%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=10%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=25%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=18%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
<td width=2%>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td colspan=5 valign=top>
|
|
<table border=0 height=95% width=100% align=center cellspacing=0 cellpadding=0 vspace=0
|
|
hspace=0>
|
|
<!-- BEGIN touroptions -->
|
|
<tr>
|
|
<form name="tourOptions" id="tourOptions" action="job_options.php" method="post"
|
|
onSubmit="return checkJob()">
|
|
<td align=left valign=top width=19%>
|
|
{CUSTOMER_COURIER_DISABLED_START}
|
|
Gewünschter <b>Kurier</b>:<br>
|
|
<input name="cr_id_order" type="text" size="8" maxlength="6" class="input"
|
|
tabindex="{_cr_id_order_tabindex_}" value="{_cr_id_order_}" onchange="checkCr_id_order()">
|
|
<input type="button" name="crSidList" value="..." tabindex="{_crSidList_tabindex_}"
|
|
title="Kurierliste (alt+{_crSidList_accesskey_})" accesskey="{_crSidList_accesskey_}"
|
|
onclick="mk_cr_id_list('','')">
|
|
{CUSTOMER_COURIER_DISABLED_END}
|
|
{CUSTOMER_FILTER_DISABLED_START}
|
|
<input type="button" name="jb_cr_filterButton" value="Filter"
|
|
tabindex="{_jb_cr_filter_tabindex_}" title="Rechnungstext (alt+{_jb_cr_filter_accesskey_})" accesskey="{_jb_cr_filter_accesskey_}" onclick="parent.frames[2].mkJb_cr_filter()">
|
|
{CUSTOMER_FILTER_DISABLED_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
<br>
|
|
<input type="checkbox" name="jb_waitstorno" value="1" tabindex="{_jb_waitstorno_tabindex_}" {_jb_waitstorno_disabled_}>
|
|
Storno wenn<br>nicht verfügbar<br>
|
|
<br>
|
|
{CUSTOMER_DISABLED_END}
|
|
{WAITTIME_DISABLED_START}
|
|
<b>Annahme</b> bis (Uhrzeit):<br>
|
|
<select name="jb_waittime_hour" class="input" tabindex="{_jb_waittime_hour_tabindex_}"
|
|
onchange="checkTimeFields(12)">
|
|
<option value=""></option>
|
|
<option value="00">00</option>
|
|
<option value="01">01</option>
|
|
<option value="02">02</option>
|
|
<option value="03">03</option>
|
|
<option value="04">04</option>
|
|
<option value="05">05</option>
|
|
<option value="06">06</option>
|
|
<option value="07">07</option>
|
|
<option value="08">08</option>
|
|
<option value="09">09</option>
|
|
<option value="10">10</option>
|
|
<option value="11">11</option>
|
|
<option value="12">12</option>
|
|
<option value="13">13</option>
|
|
<option value="14">14</option>
|
|
<option value="15">15</option>
|
|
<option value="16">16</option>
|
|
<option value="17">17</option>
|
|
<option value="18">18</option>
|
|
<option value="19">19</option>
|
|
<option value="20">20</option>
|
|
<option value="21">21</option>
|
|
<option value="22">22</option>
|
|
<option value="23">23</option>
|
|
</select>
|
|
<select name="jb_waittime_minute" class="input" tabindex="{_jb_waittime_minute_tabindex_}"
|
|
onchange="checkTimeFields(13)">
|
|
<option value=""></option>
|
|
<option value="00">00</option>
|
|
<option value="05">05</option>
|
|
<option value="10">10</option>
|
|
<option value="15">15</option>
|
|
<option value="20">20</option>
|
|
<option value="25">25</option>
|
|
<option value="30">30</option>
|
|
<option value="35">35</option>
|
|
<option value="40">40</option>
|
|
<option value="45">45</option>
|
|
<option value="50">50</option>
|
|
<option value="55">55</option>
|
|
</select><br>
|
|
{WAITTIME_DISABLED_END}
|
|
<br>
|
|
Gewünschter<br> <b>Fahrzeugtyp</b>:<br>
|
|
<select name="vht_id" class="input" tabindex="{_vht_id_tabindex_}" onchange="checkWeight(1)">
|
|
{_vht_id_options_}
|
|
</select>
|
|
</td>
|
|
<td align=left valign=top width=19%>
|
|
{RANKING_JB2CRVH_MEASURE_DISABLED_START}
|
|
<b>Maximalgewicht</b> eines<br>Transportgutes in kg:<br>
|
|
<input name="jb_weight" type="text" size="5" maxlength="5" class="input"
|
|
tabindex="{_jb_weight_tabindex_}" value="0" onchange="checkWeight(0)" value="{_jb_weight_}"><br>
|
|
<i>(Maximale Maße ggfs. in<br>Feld Bemerkung eintragen)</i><br>
|
|
{RANKING_JB2CRVH_MEASURE_DISABLED_END}
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_START}
|
|
<table border=0 align=left cellspacing=0 cellpadding=0 vspace=0 hspace=0>
|
|
<tr>
|
|
<td>
|
|
<table border=0 align=left cellspacing=0 cellpadding=0 vspace=0 hspace=0>
|
|
<tr>
|
|
<td colspan=2>
|
|
<b>Maximalgewicht:</b>
|
|
<input name="jb_weight" type="text" size="2" maxlength="5" class="input"
|
|
tabindex={_jb_weight_tabindex_} value="0" onchange="checkWeight(0)" value="{_jb_weight_}">kg
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<b>Länge:</b>
|
|
<input name="jb_crvh_length" type="text" size="2" maxlength="4" class="input"
|
|
tabindex={_jb_crvh_length_tabindex_} value="0" onchange="checkDimensions(0)" value="{_crvh_length_}">cm
|
|
<br><b>Breite:</b>
|
|
<input name="jb_crvh_width" type="text" size="2" maxlength="4" class="input"
|
|
tabindex={_jb_crvh_width_tabindex_} value="0" onchange="checkDimensions(1)" value="{_crvh_width_}">cm
|
|
</td>
|
|
<td>
|
|
<b>Höhe: </b>
|
|
<input name="jb_crvh_height" type="text" size="2" maxlength="4" class="input"
|
|
tabindex={_jb_crvh_height_tabindex_} value="0" onchange="checkDimensions(2)" value="{_crvh_height_}">cm
|
|
<br><b>Plätze:</b>
|
|
<input name="jb_crvh_position" type="text" size="2" maxlength="4" class="input"
|
|
tabindex={_jb_crvh_position_tabindex_} value="0" onchange="checkDimensions(3)" value="{_crvh_position_}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=2>
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
<b>Rhythmus</b> (nur Dauerauftrag):<br>
|
|
<select name="jb_permanent" class="input" tabindex="{_jb_permanent_tabindex_}" onchange="checkJb_permanent()" disabled>
|
|
<option value="" selected="selected"></option>
|
|
{_jb_permanent_options_}
|
|
</select><br>
|
|
{CUSTOMER_DISABLED_END}
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_START}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
<table border=0 align=left cellspacing=0 cellpadding=0 vspace=0 hspace=0>
|
|
<tr>
|
|
<td align=center>
|
|
Mo
|
|
</td>
|
|
<td align=center>
|
|
Di
|
|
</td>
|
|
<td align=center>
|
|
Mi
|
|
</td>
|
|
<td align=center>
|
|
Do
|
|
</td>
|
|
<td align=center>
|
|
Fr
|
|
</td>
|
|
<td align=center>
|
|
Sa
|
|
</td>
|
|
<td align=center>
|
|
So
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_0" value="0" tabindex="{_jb_permanent2_0_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_1" value="1" tabindex="{_jb_permanent2_1_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_2" value="2" tabindex="{_jb_permanent2_2_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_3" value="3" tabindex="{_jb_permanent2_3_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_4" value="4" tabindex="{_jb_permanent2_4_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_5" value="5" tabindex="{_jb_permanent2_5_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="jb_permanent2_6" value="6" tabindex="{_jb_permanent2_6_tabindex_}"
|
|
onclick="checkJb_permanent2()" disabled>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{CUSTOMER_DISABLED_END}
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_START}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{RANKING_JB2CRVH_MEASURE_ENABLED_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
</td>
|
|
{CUSTOMER_DISABLED_END}
|
|
<td align=left valign=top width=24%>
|
|
<b>Datum</b> (nur Vorbestellung/<br>Dauerauftrag/Nacherfassung):<br>
|
|
{DATESELECTFIELDS_DISABLED_START}
|
|
<select name="tag" class="input" tabindex="{_tag_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'tag', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
</select>
|
|
<select name="monat" class="input" tabindex="{_monat_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'monat', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
</select>
|
|
<select name="jahr" class="input" tabindex="{_jahr_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'jahr', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
</select>
|
|
{DATESELECTFIELDS_DISABLED_END}
|
|
{DATEINPUTFIELDS_DISABLED_START}
|
|
<input name="tag" type="text" size="2" maxlength="2" class="input" tabindex="{_tag_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'tag', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
<input name="monat" type="text" size="2" maxlength="2" class="input" tabindex="{_monat_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'monat', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
<input name="jahr" type="text" size="4" maxlength="4" class="input" tabindex="{_jahr_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'jahr', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
{DATEINPUTFIELDS_DISABLED_END}
|
|
<input name="dayOfWeek" type="text" value="" size="11" maxlength="11"
|
|
class="hideSmall" readonly><br>
|
|
<br>
|
|
<b>Uhrzeit</b> (nur Vorbestellung/<br>Dauerauftrag/Nacherfassung):<br>
|
|
{TIMESELECTFIELDS_DISABLED_START}
|
|
<select name="stunde" class="input" tabindex="{_stunde_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'stunde', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
</select>
|
|
<select name="minute" class="input" tabindex="{_minute_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'minute', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
</select>
|
|
{TIMESELECTFIELDS_DISABLED_END}
|
|
{TIMEINPUTFIELDS_DISABLED_START}
|
|
<input name="stunde" type="text" size="2" maxlength="2" class="input" tabindex="{_stunde_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'stunde', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
<input name="minute" type="text" size="2" maxlength="2" class="input" tabindex="{_minute_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'minute', 'tag', 'monat', 'jahr', 'stunde', 'minute', 'jb_permanent')">
|
|
{TIMEINPUTFIELDS_DISABLED_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
<br>
|
|
<b>Enddatum</b> (nur<br>Dauerauftrag):<br>
|
|
{CUSTOMER_DISABLED_END}
|
|
{DATESELECTFIELDS_DISABLED_START}
|
|
<select name="endetag" class="input" tabindex="{_endetag_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endetag', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
</select>
|
|
<select name="endemonat" class="input" tabindex="{_endemonat_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endemonat', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
</select>
|
|
<select name="endejahr" class="input" tabindex="{_endejahr_tabindex_}"
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endejahr', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
</select>
|
|
{DATESELECTFIELDS_DISABLED_END}
|
|
{DATEINPUTFIELDS_DISABLED_START}
|
|
{CUSTOMER_DISABLED_START}
|
|
<input name="endetag" type="text" size="2" maxlength="2" class="input" tabindex="{_endetag_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endetag', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
<input name="endemonat" type="text" size="2" maxlength="2" class="input" tabindex="{_endemonat_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endemonat', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
<input name="endejahr" type="text" size="4" maxlength="4" class="input" tabindex="{_endejahr_tabindex_}" value=""
|
|
onchange="fillDateFields(0, 'job_options', 'tourOptions', 'endejahr', 'endetag', 'endemonat', 'endejahr', '', '', '')">
|
|
{CUSTOMER_DISABLED_END}
|
|
{DATEINPUTFIELDS_DISABLED_END}
|
|
</td>
|
|
<td align=left valign=top width=19%>
|
|
<b>gespeicherte Touren</b><br>
|
|
(kopiert die ausgewählte<br>
|
|
Tour in dieses Formular):<br>
|
|
<select name="savedTour" class="input" tabindex="{_savedTour_tabindex_}" onchange="getSavedTour(0,false,true)"
|
|
{_savedTour_disabled_}>
|
|
<option value=""></option>
|
|
{_savedTour_options_}
|
|
</select><br>
|
|
<br>
|
|
{CUSTOMER_DISABLED_START}
|
|
<b>Tourenname</b> (speichert die<br>
|
|
Tour nach dem Senden unter<br>
|
|
diesem Namen in der Liste):<br>
|
|
<input name="jb_tourname" type="text" size="20" maxlength="50"
|
|
class="input" tabindex="{_jb_tourname_tabindex_}" value="{_jb_tourname_}"><br>
|
|
{CUSTOMER_DISABLED_END}
|
|
<input type="hidden" name="jb_tourname" value="">
|
|
<input type="hidden" name="jb_tourname_hidden" value="">
|
|
<input type="hidden" name="jb_tourname_hidden_vht_id" value="">
|
|
{CUSTOMER_DISABLED_START}
|
|
<input type="checkbox" name="jb_tourname_overwrite" value="1" tabindex="{_jb_tourname_overwrite_tabindex_}"
|
|
title="Gespeicherte Tour mit der aktuellen überschreiben" onclick="mkTourname()" disabled> <b>Gespeicherte Tour</b><br>überschreiben
|
|
{CUSTOMER_DISABLED_END}
|
|
<input type="hidden" name="csc_id_orderer" value="{_csc_id_orderer_}">
|
|
</td>
|
|
<td valign=top width=19%>
|
|
<table border=0 align=left cellspacing=0 cellpadding=0 vspace=0 hspace=0>
|
|
<tr>
|
|
{CUSTOMER_DISABLED_START}
|
|
<td>
|
|
<b>Festpreis</b> für den<br>gesamten Auftrag:
|
|
</td>
|
|
{SERVICEPRICE_DISABLED_START}
|
|
<td>
|
|
zusätzliche<br> <b>Servicezeit</b>:
|
|
</td>
|
|
{SERVICEPRICE_DISABLED_END}
|
|
</tr>
|
|
<tr><td>
|
|
<input name="jb_fixprice" type="text" size="8" maxlength="9"
|
|
class="input" tabindex="{_jb_fixprice_tabindex_}" onchange="checkFixprice()" value="{_jb_fixprice_}"> €
|
|
</td>
|
|
{SERVICEPRICE_DISABLED_START}
|
|
<td>
|
|
|
|
<input name="jb_serviceprice" type="text" size="8" maxlength="9"
|
|
class="input" tabindex="{_jb_serviceprice_tabindex_}" onchange="checkServiceprice()" value="{_jb_serviceprice_}"> €
|
|
</td>
|
|
{SERVICEPRICE_DISABLED_END}
|
|
</tr>
|
|
</table><br clear=all>
|
|
{DISCOUNT_DISABLED_START}
|
|
<input type="checkbox" name="jb_discount" value="1" tabindex="{_jb_discount_tabindex_}"
|
|
title="Kundenrabatt beim Fest- und Servicepreis berücksichtigen" disabled> <b>Rabatt</b> berücksichtigen
|
|
<input name="jb_discount_rate_text" type="text" value="" size="7" maxlength="7" class="hideSmall" readonly>
|
|
<input type="hidden" name="jb_discount_rate">
|
|
<br>
|
|
{DISCOUNT_DISABLED_END}
|
|
<b>Steuern</b>:
|
|
<input name="jb_sales_tax_rate" type="text" size="2" maxlength="2"
|
|
class="input" tabindex="{_jb_sales_tax_rate_tabindex_}" onchange="checkFixprice()" value="{_sales_tax_rate_value_}"> %
|
|
<select name="jb_sales_tax_rate_sign" class="input" tabindex="{_jb_sales_tax_rate_sign_tabindex_}" onchange="checkJb_sales_tax_rate_sign()">
|
|
{_jb_sales_tax_rate_sign_options_}
|
|
</select><br> <br>
|
|
{CUSTOMER_DISABLED_END}
|
|
<input type="hidden" name="jb_discount" value="0" disabled>
|
|
<input type="hidden" name="jb_discount_rate_text" value="">
|
|
<input type="hidden" name="jb_discount_rate">
|
|
<input type="hidden" name="jobList" value="">
|
|
<input type="hidden" name="jb_fixprice" value="">
|
|
<input type="hidden" name="jb_cr_price" value="">
|
|
<input type="hidden" name="jb_serviceprice" value="">
|
|
<input type="hidden" name="jb_cr_serviceprice" value="">
|
|
<input type="hidden" name="km_price_params" value="">
|
|
<input type="hidden" name="jb_commission_no_hidden" value="">
|
|
{CUSTOMER_JB_SALES_TAX_RATE}
|
|
{CUSTOMER_DISABLED_START}
|
|
<input type="checkbox" name="afterwards" value="1" tabindex="{_afterwards_tabindex_}"
|
|
onclick="checkAfterwards()" title="Nacherfassung (alt+{_afterwards_accesskey_})"
|
|
accesskey="{_afterwards_accesskey_}" {_afterwards_checked_}>
|
|
<b>Nacherfassung</b><br>
|
|
<input type="checkbox" name="jb_globaljob" value="1" tabindex="{_jb_globaljob_tabindex_}"
|
|
onclick="checkJb_globaljob()" title="An alle Kuriere (alt+{_jb_globaljob_accesskey_})"
|
|
accesskey="{_jb_globaljob_accesskey_}" {_jb_globaljob_checked_}>
|
|
<b>An alle Kuriere</b><br>
|
|
{CUSTOMER_DISABLED_END}
|
|
{CUSTOMER_MANUAL_DISPO_START}
|
|
<input type="checkbox" name="jb_status_manual" value="1" tabindex="{_jb_status_manual_tabindex_}"
|
|
title="Manuelle Disposition (alt+{_jb_status_manual_accesskey_})"
|
|
accesskey="{_jb_status_manual_accesskey_}" {_jb_status_manual_checked_}>
|
|
<b>Manuelle Disposition</b><br>
|
|
{CUSTOMER_MANUAL_DISPO_END}
|
|
{CUSTOMER_DISABLED_START}
|
|
<input type="checkbox" name="jb_incomplete" value="1" tabindex="{_jb_incomplete_tabindex_}"
|
|
title="Noch unvollständig (alt+{_jb_incomplete_accesskey_})"
|
|
accesskey="{_jb_incomplete_accesskey_}" {_jb_incomplete_checked_}>
|
|
<b>Noch unvollständig</b><br>
|
|
{CUSTOMER_DISABLED_END}
|
|
{CUSTOMER_MANUAL_DISPO_START}
|
|
<br>
|
|
{CUSTOMER_MANUAL_DISPO_END}
|
|
<input type="submit" name="toursubmit" size="2" value="Senden" tabindex="{_toursubmit_tabindex_}"
|
|
align=left title="Auftrag senden (alt+{_toursubmit_accesskey_})" accesskey="{_toursubmit_accesskey_}" class="submit" disabled>
|
|
<input type="hidden" name="request_token" value="{_request_token_}">
|
|
<input type="hidden" name="jb_id" value="{_ec_jb_id_}">
|
|
<input type="hidden" name="csc_id_payer" value="">
|
|
<input type="hidden" name="comp_payer" value="">
|
|
<input type="hidden" name="payer_is_default" value="">
|
|
<input type="hidden" name="jb_cash_hidden" value="false">
|
|
<input type="hidden" name="jb_freetext_1" value="">
|
|
<input type="hidden" name="jb_costsplit_hidden" value="false">
|
|
<input type="hidden" name="jb_permanent2_hidden" value="0000000">
|
|
<input type="hidden" name="jb_cr_filter" value="">
|
|
<input type="hidden" name="jb_cr_filter_opt" value="">
|
|
<input type="hidden" name="jb_status" value="">
|
|
<input type="hidden" name="accept_all_addresses" value="">
|
|
<input type="hidden" name="jb_id_org" value="">
|
|
<input type="hidden" name="jb_dispoinfo" value="">
|
|
<input type="hidden" name="jb_warnjahr" value="">
|
|
<input type="hidden" name="jb_warnmonat" value="">
|
|
<input type="hidden" name="jb_warntag" value="">
|
|
<input type="hidden" name="jb_warnstunde" value="">
|
|
<input type="hidden" name="jb_warnminute" value="">
|
|
<input type="hidden" name="jb_jam_waittime" value="">
|
|
<input type="hidden" name="jb_markup" value="">
|
|
<input type="hidden" name="cr_id_order_hidden" value="">
|
|
<input type="hidden" name="tourOptions_submit_disabled" value="">
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
<!-- END touroptions -->
|
|
</table>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=7>
|
|
<img src="../images/empty.gif" border=0 height=1>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
<script type="text/javascript">
|
|
<!--
|
|
job_options_isLoading=false;
|
|
-->
|
|
</script>
|