Enabled $outputTourarticle = ""; if ($constJbpBookingEnabled == "1" && $job_id != "") : $outputTourarticle = getOutputJobTratArticleData($job_id); endif; // Display jobcalculator entries // ATTENTION: Presently same parameter MASK_JOBDETAILS_JBP_BOOKING_ENABLED like for payment !!!! $constJbpBookingEnabled = getParameterValue("0", "MASK_JOBDETAILS_JBP_BOOKING_ENABLED", $hq_id); // [= "1"] <=> Enabled $outputJobcalculator = ""; if ($constJbpBookingEnabled == "1" && $job_id != "") : $outputJobcalculator = getOutputJobCalculatorData($job_id); endif; // --- INVOICE TEXT --------------- /* if ($job_id != "") : if ($f_act == "changeInvoiceText") : updateStmt($dbh_jb, "jb_id", $job_id, array("jb_invtext", $f_jb_invtext_new), "(hq_id = '" . $hq_id . "')"); endif; endif; */ $f_jb_invtext = getFieldValueFromId($dbh_jb, "jb_id", $job_id, "jb_invtext"); $jbStatus = getFieldValueFromId($dbh_jb, "jb_id", $job_id, "jb_status"); $jobinvoicetext = "

" . getLngt("(Vorläufiger) Rechnungstext") . ":
"; $jobinvoicetext .= "
\n"; // $jobinvoicetext .= "\n"; // --- DISPLAY PHOTOS FROM MOBILE --------------- $outputPhotos = ""; if ($globalParUseRelatedCustomer == "1" && $job_id != "") : // [1] B2B $filenameArray = getImagesFromB2bObjects($job_id, "../temp/photos/", "jb"); $filenameArrayLen = count($filenameArray); // [2] GDC $tmpPhotoFilenames = getFieldValueFromClause("genericdatacontainer", "gdc_content", "gdc_obj_type = 'jb' AND gdc_obj_id = '" . $job_id . "' AND gdc_gen_fieldname = 'mobile_photos'"); // Display photos if ($tmpPhotoFilenames != "" || $filenameArrayLen > 0) : $tmpArrayLen = 0; if ($tmpPhotoFilenames != "") : $tmpPhotoFilenames = str_replace("|", "-,-", $tmpPhotoFilenames); if (!(strpos($tmpPhotoFilenames, "-,-") === FALSE)) : $tmpArray = spliti("-,-",$tmpPhotoFilenames); else : $tmpArray = array($tmpPhotoFilenames); endif; $tmpArrayLen = count($tmpArray); endif; if ($tmpArrayLen > 0 || $filenameArrayLen > 0) : $systemPath = ".."; $tmpImgHeight = 100; $tmpImgWidth = 133; $outputPhotos .= ""; // $outputPhotos .= "\n"; $outputPhotos .= "\n"; $outputPhotos .= ""; // GDC for ($i = 0; $i < $tmpArrayLen; $i++) { $outputPhotos .= ""; if ((($i + 1) % 4) == 0 && $i < ($tmpArrayLen - 1)) : $outputPhotos .= ""; endif; } // B2B for ($i = 0; $i < $filenameArrayLen; $i++) { $outputPhotos .= ""; if ((($i + 1) % 4) == 0 && $i < ($tmpArrayLen - 1)) : $outputPhotos .= ""; endif; } $outputPhotos .= ""; $outputPhotos .= "
" . getLngt("Fotos der Endgeräte des Abnahmeprotokolls") . "
" . getLngt("Fotos der Endgeräte") . "
"; $outputPhotos .= ""; $outputPhotos .= "
"; $outputPhotos .= ""; $outputPhotos .= "


"; endif; endif; endif; // Check for documents associated to the job if ($job_id != "") : // Get path for courier documents (type "JB") if (mcIsSet($importPath) == "") : $importPath = getFieldValueFromId("mandator","md_id",$md_id,"md_doc_path"); endif; $importPath = getPathForObjectData($importPath, "JB"); // Get number of documents for the current customer $jbNumOfFiles = getNumOfFilesByFilterInFolder($importPath, $job_id . "_", "1"); endif; ?> <?php echo getLngt("AUFTRAG") . ": " . $job_id; ?>
:
     
     


          
"; $maskJobLabelSize = getParameterValue("0", "MASK_JB_LABEL_SIZE", $hq_id); if ($maskJobLabelSize == "") : $maskJobLabelSize = getParameterValue("0", "MASK_JB_LABEL_SIZE", "0"); endif; if ($maskJobLabelSize == "") : $maskJobLabelSize = "label60x40"; endif; echo defineButtonType10(getLngt("Etiketten"), "label", "openJob2Invoice('302','','&pdfPageSize=" . $maskJobLabelSize . "');", "170"); echo defineButtonType10(getLngt("Etiketten Retoure"), "label", "openJob2Invoice('303','','&pdfPageSize=" . $maskJobLabelSize . "');", "170"); ?>


"; echo defineButtonType10(getLngt("Abnahmeprotokoll"), "action_acceptance protocol", "openJob2AcceptanceProtocol();", "170"); echo "
"; endif; endif; ?>
TOUR: