Files
votianng/html/jobs2/job_tour.tpl.htm
2026-03-29 10:34:57 +02:00

1453 lines
53 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="de">
<head>
<title>votian: Auftragserfassung - Dateneingabe</title>
<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 = '&nbsp;&nbsp;&nbsp;' + 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>
<style>
.cmp_remark
{ border: 0; width: 40em; height: 20em; background: rgba(0, 0, 0, 0); font-size: 9pt }
.cmp_remark_payer
{ border: 0; width: 40em; height: 20em; background: rgba(0, 0, 0, 0); font-size: 9pt }
.cmp_remark_small
{ border: 0; width: 40em; height: 10em; background: rgba(0, 0, 0, 0); font-size: 9pt }
.cmp_remark_payer_small
{ border: 0; width: 40em; height: 10em; background: rgba(0, 0, 0, 0); font-size: 9pt }
</style>
<script src="../include/lib_global.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 job_tour_isLoading=true;
var is_customer="{_is_customer_}";
var cmp_remark_style="cmp_remark";
var cmp_remark_payer_style="cmp_remark_payer";
if (screen.height < 1080){
cmp_remark_style="cmp_remark_small";
cmp_remark_payer_style="cmp_remark_payer_small";
}
-->
</script>
<script src="../include/maps.googleapis.com_maps_api_js_places.php" async defer></script>
<script>
let autocomplete1;
let autocomplete2;
function initAutocomplete1(i) {
if (typeof google == 'undefined') {
if (i < 10)
self.setTimeout('initAutocomplete1(' + (i+1) + ')', 100);
return;
}
autocomplete1 = new google.maps.places.Autocomplete(
document.getElementById('von_autocomplete'),
{
types: ['address'],
// componentRestrictions: {'country': ['DE']},
fields: ["geometry", "address_components", "types"]
});
// autocomplete.setFields('address_components');
autocomplete1.addListener('place_changed', fillInAddress1);
initAutocomplete2();
}
function initAutocomplete2() {
autocomplete2 = new google.maps.places.Autocomplete(
document.getElementById('nach_autocomplete'),
{
types: ['address'],
// componentRestrictions: {'country': ['DE']},
fields: ["geometry", "address_components", "types"]
});
// autocomplete.setFields('address_components');
autocomplete2.addListener('place_changed', fillInAddress2);
}
// JQuery.Request (GET)
function ajaxRequestGetAsync(url, data) {
$.ajax({
type: "GET",
url: url,
data: data,
async: true,
cache: false,
success: function(msg){eval(msg);}
});
}
function fillInAddress1() {
fillInAddress(1);
}
function fillInAddress2() {
fillInAddress(2);
}
function fillInAddress(side) {
// Get the place details from the autocomplete object.
let place;
if (side == 1)
place = autocomplete1.getPlace();
if (side == 2)
place = autocomplete2.getPlace();
if (!place.geometry)
return;
//console.log(place.types);
let accuracy = 0;
const sufficient_types = ["intersection", "street_address", "premise", "subpremise"];
const sufficient_types_accuracy = [7, 8, 9, 9];
let type_index = -1;
for (const type of place.types) {
type_index = sufficient_types.indexOf(type);
if (type_index > -1) {
if (accuracy < sufficient_types_accuracy[type_index])
accuracy = sufficient_types_accuracy[type_index];
}
}
// let address1 = "";
// let postcode = "";
let route = "";
let street_number = "";
let country = "";
let postal_code = ""
let locality = "";
let lat = 0;
let lng = 0;
if (type_index > -1) {
//console.log(place.geometry.location.lat());
//console.log(place.geometry.location.lng());
lat = place.geometry.location.lat();
lng = place.geometry.location.lng();
}
// Get each component of the address from the place details,
// and then fill-in the corresponding field on the form.
// place.address_components are google.maps.GeocoderAddressComponent objects
// which are documented at http://goo.gle/3l5i5Mr
for (const component of place.address_components) {
let postal_code_dirty = false;
// @ts-ignore remove once typings fixed
//console.log(component);
for (const componentType of component.types) {
//console.log(componentType);
switch (componentType) {
case "route": {
route = component.short_name;
if (side == 1)
document.getElementsByName('von_ad_street')[0].value = component.short_name;
if (side == 2)
document.getElementsByName('nach_ad_street')[0].value = component.short_name;
break;
}
case "street_number": {
street_number = component.short_name;
if (side == 1)
document.getElementsByName('von_tr_hsno')[0].value = component.short_name;
if (side == 2)
document.getElementsByName('nach_tr_hsno')[0].value = component.short_name;
break;
}
case "country": {
country = component.short_name;
if (side == 1)
document.getElementsByName('von_ad_country')[0].value = component.short_name;
if (side == 2)
document.getElementsByName('nach_ad_country')[0].value = component.short_name;
break;
}
case "postal_code": {
//console.log(postal_code_dirty);
if (!postal_code_dirty) {
postal_code = component.short_name;
if (side == 1)
document.getElementsByName('von_ad_zipcode')[0].value = component.short_name;
if (side == 2)
document.getElementsByName('nach_ad_zipcode')[0].value = component.short_name;
}
break;
}
// Bei unvollständigen Eingaben (Straße ohne Hausnummer) wird manchmal nur die ersten beiden Ziffern der PLZ zurückgegeben, erkennbar an "postal_code_prefix"
case "postal_code_prefix": {
//console.log("postal_code_prefix");
postal_code_dirty = true;
postal_code = "";
if (side == 1)
document.getElementsByName('von_ad_zipcode')[0].value = "";
if (side == 2)
document.getElementsByName('nach_ad_zipcode')[0].value = "";
//console.log(postal_code_dirty);
break;
}
case "locality": {
locality = component.long_name;
if (side == 1)
document.getElementsByName('von_ad_city')[0].value = component.short_name;
if (side == 2)
document.getElementsByName('nach_ad_city')[0].value = component.short_name;
break;
}
}
}
}
// After filling the form with address components from the Autocomplete
// prediction, set cursor focus on the second address line to encourage
// entry of subpremise information such as apartment, unit, or floor number.
parent.frames[2].saveFormFields();
if (side == 1)
document.getElementsByName('von_tr_remark')[0].focus();
if (side == 2)
document.getElementsByName('nach_tr_remark')[0].focus();
if (accuracy > 6) {
ajaxRequestGetAsync('../include/ajaxReqKmPrice.php', "mode=coords&a=" + route + ";" + street_number + ";" + postal_code + ";" + locality + ";" + country + ";" + lat + ";" + lng + ";" + accuracy);
}
}
self.setTimeout('initAutocomplete1(0)', 100);
</script>
<noscript>
<center>
<b><br>JavaScript ist nicht verf&uuml;gbar. Bitte aktivieren Sie JavaScript<br><br>
in Ihrem Browser, damit diese Seite ordnungsgem&auml;&szlig; funktioniert!</b><br><br>
</center>
</noscript>
</head>
<body>
<table border=0 width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<form name="tourNoForm" action="dummy.htm">
</tr>
<td width=2%>
&nbsp;
</td>
<td width=10% align=center>
<img name="start_gif" src="../images/start.gif" height=25 border=0 alt="Start">
</td>
<td width=18% align=center>
&nbsp;
</td>
<td width=15% align=center>
&nbsp;
</td>
<td width=10% align=center valign=bottom>
<div class=headline2a>
Etappe&nbsp;<input name="tourNoVal" type="text" value="1"
size="1" maxlength="1" class="hideBiga" readonly>
</div>
</td>
<td width=15% align=center>
&nbsp;
</td>
<td width=18% align=center>
&nbsp;
</td>
<td width=10% align=center>
<img name="goal_gif" src="../images/goal.gif" height=25 border=0 alt="Ziel">
</td>
<td width=2%>
&nbsp;
</td>
</tr>
</form>
<tr>
<!-- BEGIN touroptions -->
<form name="tourForm" action="dummy.htm">
<td>
&nbsp;
</td>
<td colspan=3 align=right>
<input type="button" name="vonFirmaButton" value="..."
tabindex="{_vonFirmaButton_tabindex_}" title="Suchen: von Firma (alt+{_vonFirmaButton_accesskey_})" accesskey="{_vonFirmaButton_accesskey_}" onclick="parent.frames[2].searchCsCsc(0)">
<input name="von_cs_comp" type="text" value="" size="21" maxlength="50" class="input"
tabindex="{_von_cs_comp_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="von_tr_person" type="text" value="" size="20" maxlength="50" class="input"
tabindex="{_von_tr_person_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input type="hidden" name="von_csc_id" value="">
</td>
<td align=center>
Firma, Person
</td>
<td colspan=3 align=left>
<input name="nach_cs_comp" type="text" value="" size="21" maxlength="50" class="input"
tabindex="{_nach_cs_comp_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="nach_tr_person" type="text" value="" size="20" maxlength="50" class="input"
tabindex="{_nach_tr_person_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input type="button" name="nachFirmaButton" value="..."
tabindex="{_nachFirmaButton_tabindex_}" title="Suchen: nach Firma (alt+{_nachFirmaButton_accesskey_})" accesskey="{_nachFirmaButton_accesskey_}" onclick="parent.frames[2].searchCsCsc(1)">
<input type="hidden" name="nach_csc_id" value="">
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td colspan=3 align=right>
<input type="button" name="vonAdressButton" value="..."
tabindex="{_vonAdressButton_tabindex_}" title="Suchen: von Adresse (alt+{_vonAdressButton_accesskey_})" accesskey="{_vonAdressButton_accesskey_}" onclick="parent.frames[2].searchAddress(0);">
<input name="von_ad_street" id="von_autocomplete" type="text" value="" size="38" maxlength="50" class="input"
tabindex="{_von_ad_street_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="von_tr_hsno" type="text" value="" size="3" maxlength="10" class="input"
tabindex="{_von_tr_hsno_tabindex_}" onchange="parent.frames[2].saveFormFields()">
</td>
<td align=center>
Stra&szlig;e, Nr.
</td>
<td colspan=3 align=left>
<input name="nach_ad_street" id="nach_autocomplete" type="text" value="" size="38" maxlength="50" class="input"
tabindex="{_nach_ad_street_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="nach_tr_hsno" type="text" value="" size="3" maxlength="10" class="input"
tabindex="{_nach_tr_hsno_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input type="button" name="nachAdressButton" value="..."
tabindex="{_nachAdressButton_tabindex_}" title="Suchen: nach Adresse (alt+{_nachAdressButton_accesskey_})" accesskey="{_nachAdressButton_accesskey_}" onclick="parent.frames[2].searchAddress(1);">
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td colspan=3 align=right>
{CUSTOMER_DISABLED_START}
<input type="button" name="von_tr_mediationarea_id_Button" value="Rg.-Plz"
tabindex="{_von_tr_mediationarea_id_tabindex_}" title="Abrechnungs-PLZ eingeben" onclick="parent.frames[2].mk_tr_mediationarea_id(0)">
<input type="hidden" name="von_tr_mediationarea_id" value="{_von_tr_mediationarea_id_}">
{CUSTOMER_DISABLED_END}
<!--
<input type="hidden" name="von_ad_country">
-->
<select class="input" name="von_ad_country" tabindex="{_von_ad_country_tabindex_}"
onchange="parent.frames[2].saveFormFields()" {_ad_country_disabled_}>
{_von_ad_country_options_}
</select>
<input name="von_ad_zipcode" type="text" value="" size="7" maxlength="10" class="input"
tabindex="{_von_ad_zipcode_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="von_ad_city" type="text" value="" size="26" maxlength="50" class="input"
tabindex="{_von_ad_city_tabindex_}" onchange="parent.frames[2].saveFormFields()">
</td>
<td align=center>
PLZ, Ort
</td>
<td colspan=3 align=left>
<!--
<input type="hidden" name="nach_ad_country">
-->
<select class="input" name="nach_ad_country" tabindex="{_nach_ad_country_tabindex_}"
onchange="parent.frames[2].saveFormFields()" {_ad_country_disabled_}>
{_nach_ad_country_options_}
</select>
<input name="nach_ad_zipcode" type="text" value="" size="7" maxlength="10" class="input"
tabindex="{_nach_ad_zipcode_tabindex_}" onchange="parent.frames[2].saveFormFields()">
<input name="nach_ad_city" type="text" value="" size="26" maxlength="50" class="input"
tabindex="{_nach_ad_city_tabindex_}" onchange="parent.frames[2].saveFormFields()">
{CUSTOMER_DISABLED_START}
<input type="button" name="nach_tr_mediationarea_id_Button" value="Rg.-Plz"
tabindex="{_nach_tr_mediationarea_id_tabindex_}" title="Abrechnungs-PLZ eingeben" onclick="parent.frames[2].mk_tr_mediationarea_id(1)">
<input type="hidden" name="nach_tr_mediationarea_id" value="{_nach_tr_mediationarea_id_}">
{CUSTOMER_DISABLED_END}
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan=4 align=right>
<input type="button" name="_von_tr_remark_Button" value="..."
tabindex="{_von_tr_remark_Button_tabindex_}" title="Bemerkung (alt+{_von_tr_remark_Button_accesskey_})" accesskey="{_von_tr_remark_Button_accesskey_}" onclick="parent.frames[2].mk_tr_remark_Text(0)">
<input type="checkbox" name="hide_von_tr_remark" value="1"
tabindex="{_hide_von_tr_remark_tabindex_}" onclick="parent.frames[2].saveFormFields()">
<textarea name="von_tr_remark" class="input" tabindex="{_von_tr_remark_tabindex_}" cols="43" rows="3"
onchange="parent.frames[2].saveFormFields()"></textarea>
</td>
<td align=center>
Bemerkung
</td>
<td colspan=4 align=left>
<textarea name="nach_tr_remark" class="input" tabindex="{_nach_tr_remark_tabindex_}"
cols="43" rows="3" onchange="parent.frames[2].saveFormFields()"></textarea>
<input type="checkbox" name="hide_nach_tr_remark" value="1"
tabindex="{_hide_nach_tr_remark_tabindex_}" onclick="parent.frames[2].saveFormFields()">
<input type="button" name="_nach_tr_remark_Button" value="..."
tabindex="{_nach_tr_remark_Button_tabindex_}" title="Bemerkung (alt+{_nach_tr_remark_Button_accesskey_})" accesskey="{_nach_tr_remark_Button_accesskey_}" onclick="parent.frames[2].mk_tr_remark_Text(1)">
</td>
</tr>
<tr>
<td colspan=4 align=right>
<input name="von_tr_commission_no" type="text" value="<?php echo $_von_tr_commission_no_;?>" size="30" maxlength="30" class="input" tabindex="<?php echo $_von_tr_commission_no_tabindex_;?>" onchange="parent.frames[2].saveFormFields()">
</td>
<td align=center>
Ko.-Nr.
</td>
<td align=left>
<input name="nach_tr_commission_no" type="text" value="<?php echo $_nach_tr_commission_no_;?>" size="30" maxlength="30" class="input" tabindex="<?php echo $_nach_tr_commission_no_tabindex_;?>" onchange="parent.frames[2].saveFormFields()">
</td>
<td align=right>
<div id="div_jb_commission_no" style="display: none; margin:0; padding:0; border: 0px solid green;">
Rg.-Ko.-Nr.:
<input name="jb_commission_no" type="text" size="20" maxlength="50" class="input" tabindex="<?php echo $_jb_commission_no_tabindex_;?>" title="Erscheint als Kommission auf der Rechnung" onchange="parent.frames[2].check_jb_commission_no()">
</div>
</td>
<td colspan=2 align=left>
&nbsp;
</td>
</tr>
<tr id="tr_tracking_row" style="visibility:collapse">
<td colspan=4 align=right id="tr_tracking_von" style="visibility:collapse">
<input name="von_tr_tracking" type="text" value="<?php echo $_von_tr_tracking_;?>" size="43" maxlength="60" class="input" tabindex="<?php echo $_von_tr_tracking_tabindex_;?>" onchange="parent.frames[2].saveFormFields()">
</td>
<td align=center>
Tracking-eMail
</td>
<td colspan=4 align=left id="tr_tracking_nach" style="visibility:collapse">
<input name="nach_tr_tracking" type="text" value="<?php echo $_nach_tr_tracking_;?>" size="43" maxlength="60" class="input" tabindex="<?php echo $_nach_tr_tracking_tabindex_;?>" onchange="parent.frames[2].saveFormFields()">
</td>
</tr>
<tr>
<td>
<span class="verysmall">&nbsp;</span>
</td>
<td align=center>
<button name="prevButton" type="button" value="zur&uuml;ck" style="height: 20px;"
tabindex="{_prevButton_tabindex_}" onClick="parent.frames[2].prevTour()" title="zur&uuml;ck (alt+{_prevButton_accesskey_})" accesskey="{_prevButton_accesskey_}" disabled>
<img name="prev_gif" src="../images/prev_dis.gif" height="10" width="26" border="0">
</button>
</td>
<td align=center>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button name="waste1Button" type="button" value="l&ouml;schen" style="height: 20px;"
tabindex="{_waste1Button_tabindex_}" onClick="parent.frames[2].delTour(0)" title="links l&ouml;schen (alt+{_waste1Button_accesskey_})" accesskey="{_waste1Button_accesskey_}">
<img name="waste_left_gif" src="../images/waste.png" border=0 height=16 width=16>
</button>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td align=right>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="checkbox" name="tr_ware_from_von" value="1"
tabindex="{_tr_ware_from_von_tabindex_}" onclick="parent.frames[2].saveFormFields()">An
<input type="checkbox" name="tr_ware_to_von" value="1"
tabindex="{_tr_ware_to_von_tabindex_}" onclick="parent.frames[2].saveFormFields()">Ab
</td>
<td align=center>
<span class="verysmall"><br></span>
<button name="switchButton" type="button" value="vertauschen" style="height: 20px;"
tabindex="{_switchButton_tabindex_}" onClick="parent.frames[2].switchJobList()" title="vertauschen (alt+{_switchButton_accesskey_})" accesskey="{_switchButton_accesskey_}">
<img name="switch_gif" src="../images/switch.gif" height="10" width="26" border="0">
</button>
</td>
<td align=left>
<input type="checkbox" name="tr_ware_from_nach" value="1"
tabindex="{_tr_ware_from_nach_tabindex_}" onclick="parent.frames[2].saveFormFields()">An
<input type="checkbox" name="tr_ware_to_nach" value="1"
tabindex="{_tr_ware_to_nach_tabindex_}" onclick="parent.frames[2].saveFormFields()">Ab
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td align=center>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button name="waste2Button" type="button" value="l&ouml;schen" style="height: 20px;"
tabindex="{_waste2Button_tabindex_}" onClick="parent.frames[2].delTour(1)" title="rechts l&ouml;schen (alt+{_waste2Button_accesskey_})" accesskey="{_waste2Button_accesskey_}">
<img name="waste_right_gif" src="../images/waste.png" border=0 height=16 width=16>
</button>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td align=center>
<button name="nextButton" type="button" value="vor" style="height: 20px;"
tabindex="{_nextButton_tabindex_}" onClick="parent.frames[2].nextTour()" title="vor (alt+{_nextButton_accesskey_})" accesskey="{_nextButton_accesskey_}">
<img name="next_gif" src="../images/next.gif" height=10 width=26 border=0>
</button>
</td>
<td>
<span class="verysmall">&nbsp;</span>
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td colspan=7>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td height=10>
&nbsp;
</td>
<td align=left valign=top colspan=2>
{MASK_CUST_ALL_ADDR_DISABLED_START}
<input type="checkbox" name="accept_all_addresses" value="1" tabindex="{_accept_all_addresses_tabindex_}"
onclick="parent.frames[2].checkAccept_all_addresses()" title="Adressen&nbsp;ungepr&uuml;ft&nbsp;&uuml;bernehmen (alt+{_accept_all_addresses_accesskey_})"
accesskey="{_accept_all_addresses_accesskey_}" {_accept_all_addresses_checked_}>&nbsp;
Adressen&nbsp;ungepr&uuml;ft&nbsp;&uuml;bernehmen<br>
{MASK_CUST_ALL_ADDR_DISABLED_END}
&nbsp;<br>
<input type="button" name="searchOldJobButton" value="Suche Job(s)"
tabindex="{_searchOldJobButton_tabindex_}" title="Suchen: nach Jobs" onclick="parent.frames[2].searchJbList()">
&nbsp;
<input type="button" name="duplicateJobButton" value="Kopieren"
tabindex="{_duplicateJobButton_tabindex_}" title="Auftrag kopieren (alt+{_duplicateJobButton_accesskey_})" accesskey="{_duplicateJobButton_accesskey_}" onclick="parent.frames[2].duplicateJob()" disabled>
{EMP_MODE_LATERJOB_START}
&nbsp;
<input type="button" name="getLastJobButton" value="Letzter Auftrag"
tabindex="{_duplicateJobButton_tabindex_}" title="Letzten Auftrag kopieren" onclick="parent.frames[2].getLastJob()">
{EMP_MODE_LATERJOB_END}
</td>
<td colspan=3>
<table border=0 width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<tr>
<td align=right width=35%>
{MASK_CUST_SET_PAYER_DISABLED_START}
<input type="radio" name="payer_from" value="von" class="input"
tabindex="{_payer_from_tabindex_}" onclick="parent.frames[2].checkPayer(0)">
{MASK_CUST_SET_PAYER_DISABLED_END}
</td>
<td align=center width=30%>
{MASK_CUST_SET_PAYER_DISABLED_START}
{PAYER_TEXT}
{MASK_CUST_SET_PAYER_DISABLED_END}
</td>
<td align=left width=35%>
{MASK_CUST_SET_PAYER_DISABLED_START}
<input type="radio" name="payer_to" value="nach" class="input"
tabindex="{_payer_to_tabindex_}" onclick="parent.frames[2].checkPayer(1)">
{MASK_CUST_SET_PAYER_DISABLED_END}
</td>
</tr>
<tr>
<td colspan=3 align=center><br>
{MASK_CUST_SET_PAYER_DISABLED_START}
<input type="radio" name="jb_cash" value="1"
tabindex="{_jb_cash_tabindex_}" title="Barzahlung (alt+{_jb_cash_accesskey_})" accesskey="{_jb_cash_accesskey_}" onclick="parent.frames[2].checkCash(true)">
Barzahlung
<input type="radio" name="jb_costsplit" value="1"
tabindex="{_jb_costsplit_tabindex_}" title="{COSTSPLIT_TITLE} (alt+{_jb_costsplit_accesskey_})" accesskey="{_jb_costsplit_accesskey_}" onclick="parent.frames[2].checkCostsplit(true)">
{COSTSPLIT_TEXT}&nbsp;
{MASK_CUST_SET_PAYER_DISABLED_END}
<input type="button" name="jb_freetextButton" value="Text"
tabindex="{_jb_freetextButton_tabindex_}" title="Rechnungstext (alt+{_jb_freetextButton_accesskey_})" accesskey="{_jb_freetextButton_accesskey_}" onclick="parent.frames[2].mkRechnungsText()">
{MASK_CUSTOMER_PRICEQUERY_DISABLED_START}
&nbsp;&nbsp;&nbsp;
<input type="button" name="jb_priceQueryButton" value="Preisanfrage"
tabindex="" title="Rechnungstext (alt+)" accesskey="" onclick="parent.frames[2].mkPriceQuery()">
{MASK_CUSTOMER_PRICEQUERY_DISABLED_END}
{JB_DISPOINFO_DISABLED_START}
&nbsp;&nbsp;&nbsp;
<input type="button" name="jb_dispoInfoButton" value="Dispo Info"
tabindex="" title="Dispo Info" accesskey="" onclick="parent.frames[2].mkDispoInfo()">
{JB_DISPOINFO_DISABLED_END}
</td>
</tr>
</table>
</td>
<td align=left valign=top colspan=2>
<table border = 1 align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<tr><td valign=center>
<table border=0 width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<tr><td valign=center align=left>
&nbsp;{STANDARD_PRICE_HIDDEN_START}Standardpreis:{STANDARD_PRICE_HIDDEN_END}
</td><td valign=center align=right>
&nbsp;<input name="currentPrice" type="text" value="" size="23" maxlength="23" class="hideRed" {_currentPrice_hidden_} readonly>
</td></tr>
<tr id="tr_zoneprice" style="visibility:collapse"><td valign=top align=left>
&nbsp;<i><a href="javascript:parent.frames[2].openDistanceprice('zone');">PZM-Preis:</a></i><br>
</td><td valign=center align=left>
<div id="div_zoneprice"></div>
</td></tr>
</table>
</td></tr>
<tr><td>
<table border=0 width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<tr><td valign=center align=left>
&nbsp;Rechnung an:<br>
<input name="nameOfPayer" type="text" value="" size="25" maxlength="25" class="hideRed" readonly>
{THIRDPAYER_DISABLED_START}
<input type="button" name="bezahlerFirmaButton" value="..."
tabindex="{_bezahlerFirmaButton_tabindex_}" title="Suchen: Drittzahler (alt+{_bezahlerFirmaButton_accesskey_})" accesskey="{_bezahlerFirmaButton_accesskey_}" onclick="parent.frames[2].searchCsCsc(2)">
{THIRDPAYER_DISABLED_END}
</td></tr>
</table>
</td></tr>
</table>
</td>
<td height=10>
&nbsp;
</td>
</form>
</tr>
<tr>
<td>
&nbsp;
</td>
<td colspan=7>
<table border=0 width=100% align=center cellspacing=0 cellpadding=0 vspace=0 hspace=0>
<td align=center valign=top width=33%>
<div id="von_cmp_remark_div" style="border-style:none;{MASK_CUSTOMER_SHOW_REMARK_DISABLED}">&nbsp;</div>
</td>
<td align=center valign=top width=34%>
<div id="dritt_cmp_remark_div" style="border-style:none;{MASK_CUSTOMER_SHOW_REMARK_DISABLED}">&nbsp;</div>
</td>
<td align=center valign=top width=33%>
<div id="nach_cmp_remark_div" style="border-style:none;{MASK_CUSTOMER_SHOW_REMARK_DISABLED}">&nbsp;</div>
</td>
</table>
</td>
&nbsp;
<td>
</td>
</tr>
</table>
<!-- END touroptions -->
</body>
</html>
<script type="text/javascript">
<!--
job_tour_isLoading=false;
-->
</script>