Skip to content
Snippets Groups Projects
Commit 6cc79456 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon: Committed by Sebastian Pongratz
Browse files

[Projekt: xRM-Sales][TicketNr.: 1086774][Besuchsplanung > Main > Wochenplan >...

[Projekt: xRM-Sales][TicketNr.: 1086774][Besuchsplanung > Main > Wochenplan > Main: Das Icon in der Main View wird nicht korrekt angezeigt]
parent 345699a2
No related branches found
No related tags found
No related merge requests found
import("system.datetime");
import("system.vars");
import("system.db");
import("system.result");
import("Sql_lib");
var week;
if(vars.get("$param.EntryWeek_param"))
{
var week = vars.get("$param.EntryWeek_param");
week = vars.get("$param.EntryWeek_param");
}
else if(vars.get("$field.ENTRYDATE"))
{
week = datetime.toLocaleDate(vars.get("$field.ENTRYDATE"), "w");
}
if(week)
{
if(week.length == 1)
{
week = "0" + week;
}
result.string("TEXT:" + week);
}
}
\ No newline at end of file
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