if(var=="VOUCHERID"||var=="BARCODE")return vouc.voucherid();
if(var=="PRICE")return vouc.priceString();
if(var=="VALUE")return vouc.valueString();
+ if(var=="VALIDDATE")return vouc.validDate();
return "";
}
WTransaction::setLogPrefix("Main-T");
MSInterface*ms=new MSInterface(sc.currentProfileId());
ms->loginSession(sc.currentUsername(), sc.currentSessionId());
+ ms->initialize();
MOverview *mo=new MOverview(sc.currentProfileId());
mo->showRestored();
}else{
"ARTIST\tHenry the Drycleaner\tstring\n"
"PRICECATEGORY\tExpensive\tstring\n"
"PRICECATEGORYABBR\texp\tstring\n"
-"VALUE\t12.00\tmoney");
+"VALUE\t12.00\tmoney\n"
+"VALIDDATE\t2023-12-31\tdate"
+);
void MTicketEditor::loadExampleData()
{