Skip to content
Snippets Groups Projects
Commit c1a6b14b authored by wactbprot's avatar wactbprot
Browse files

+Kunde

parent d3304e17
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ erzeugt auf der Value-Seite Objecte der Form: ...@@ -150,7 +150,7 @@ erzeugt auf der Value-Seite Objecte der Form:
<pre> <pre>
{"id":"910fd907311a80c24cee9ad18a07bf58", {"id":"910fd907311a80c24cee9ad18a07bf58",
"title":"<b>CE3:</b> 7745_0001", "title":"<b>Kunde@Standard:</b> Sign",
"start":"2013-08-29 02:00", "start":"2013-08-29 02:00",
"end":"2013-09-05 02:00"} "end":"2013-09-05 02:00"}
</pre> </pre>
......
...@@ -4,7 +4,9 @@ function(doc) { ...@@ -4,7 +4,9 @@ function(doc) {
if(doc.Calibration){ if(doc.Calibration){
var dc = doc.Calibration; var dc = doc.Calibration;
if(dc.Presettings){ if(dc.Presettings){
var dcp = dc.Presettings; var dcp = dc.Presettings,
dcpc = dcp.Customer,
customer = dcpc ? dcpc.Name : "?";
if(dcp.Date){ if(dcp.Date){
if(share.isArray(dcp.Date)){ if(share.isArray(dcp.Date)){
...@@ -27,7 +29,8 @@ function(doc) { ...@@ -27,7 +29,8 @@ function(doc) {
var keyObj = [dc.Standard, dateObj.Value], var keyObj = [dc.Standard, dateObj.Value],
startDate = share.vlDateString(dateObj.Value), startDate = share.vlDateString(dateObj.Value),
valObj = { id : doc._id, valObj = { id : doc._id,
title : "<b>" + dc.Standard + ":</b> " + dc.Sign, title : "<b>" + customer + "@" + dc.Standard + ":</b> " +
dc.Sign,
start : startDate start : startDate
}; };
if(dateObj.Duration){ if(dateObj.Duration){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment