8 0 0 100 100 #CDD9FD 0 0 100 10 hansetrans.png 3 25 100 7 #CDD9FD 2.5% black Bitte melden Sie sich an: 3 33 94 13 Benutzername ltgray 2% black 3 48 94 13 Passwort ltgray 2% black true 0 0 100 100 #CDD9FD 0 0 100 10 hansetrans.png 0 0 100 100 #CDD9FD 0 0 100 8 hansetrans.png 2 10 96 75 #EEEEEE 2% black yellow var appointmentData; var appointmentId; appointmentData = new ASSOAppointmentDataHolder("APL"); appointmentId = appointmentData.getAppointmentIdForDayAndIndex(year, month, day, row); globalData.putData("appointmentid", appointmentId); viewManager.pushView("20004"); var appointmentDataHolder; appointmentDataHolder = new ASSOAppointmentDataHolder("APL"); appointmentDataHolder.loadCalendarForMonth(year, month); //viewManager.showMessage("calendar data reloaded"); var appointmentDataHolder; appointmentDataHolder = new ASSOAppointmentDataHolder("APL"); appointmentDataHolder.loadCalendarForMonth(year, month); //viewManager.showMessage("calendar data reloaded"); globalData.putData("calendar_selectedday", day); 0 0 100 100 #CDD9FD 0 0 100 8 hansetrans.png 3 9 45 6 #DDDDDD 2.25% black 33 9 45 6 #EEEEEE 2.25% black 52 9 45 6 #DDDDDD 2.25% black 81 9 16 6 #EEEEEE 2.25% black 47 9 5 6 #CDD9FD 2.25% black - 3 16 94 5 #DDDDDD 2.25% black 3 21 94 5 #EEEEEE 2.25% black 3 26 94 5 #DDDDDD 2.25% black 3 31 94 5 #EEEEEE 2.25% black 3 37 94 5 #DDDDDD 2.25% black 3 43 94 11 #EEEEEE 1 3 56 80 5 #DDDDDD 2.25% black EID Kein Kunde vorhanden 3 61 80 5 #DDDDDD 2.25% black 1 3 66 80 5 #DDDDDD 2.25% black 1 3 73 96 15 #EEEEEE 2.25% black 0 0 100 100 #CDD9FD 2 1 100 7 transparent 2.25% black Start var otherPicker; datepicker.setText(day + "." + month + "." + year); otherPicker = new ASSODatePicker("3"); otherPicker.setDay(day); otherPicker.setMonth(month); otherPicker.setYear(year); otherPicker.setText(day + "." + month + "." + year); 1 6 30 7 ltgray 2% black 7.11.2011 var otherPicker; timepicker.setText(util.strpad(hour, 2) + ":" + util.strpad(minute, 2)); otherPicker = new ASSOTimePicker("4"); otherPicker.setHour(hour); otherPicker.setMinute(minute); otherPicker.setText(util.strpad(hour, 2) + ":" + util.strpad(minute, 2)); 30 6 20 7 ltgray 2% black 13:30 52 1 100 7 transparent 2.25% black Ende datepicker.setText(day + "." + month + "." + year); 51 6 30 7 ltgray 2% black 2. timepicker.setText(util.strpad(hour, 2) + ":" + util.strpad(minute, 2)); 80 6 20 7 ltgray 2% black 14:30 2 14 96 9 white 2.25% black 2 23 96 9 white 2.25% black 2 32 96 9 white 2.25% black 2 41 96 9 white 2.25% black 2 58 96 20 ltgray Text 2% black 2 79 63 8 ltgray 2.25% black Kundensuchbegriff 0 0 100 100 #CDD9FD 5 2 100 7 #CDD9FD 2.25% black Bitte Kunden auswählen: 3 20 94 75 #EEEEEE 1 var customerList; var sortedList; customerList = new ASSOCustomerList("customerlist"); if (row == 0) { globalData.removeData("customer_name"); viewManager.showMessage(fromYear + fromMonth + fromDay); globalData.removeData("customer_eid"); globalData.removeData("current_customer"); globalData.putData("remove_customer", true); } else { globalData.putData("customer_name", customerList.getCustomerNameByIndex(row - 1)); globalData.putData("customer_eid", customerList.getCustomerEIDByIndex(row - 1)); globalData.removeData("remove_customer"); } viewManager.popView(); 0 0 100 100 #CDD9FD 5 2 100 7 transparent 2.25% black Bitte Teilnehmer auswählen: 5 8 90 80 white 0 0 100 100 #CDD9FD 2 1 100 7 transparent 2.25% black Von datepicker.setText(util.strpad(day,2) + "." + util.strpad(month,2) + "." + year); 1 6 30 7 ltgray 2% black 7.11.2011 timepicker.setText(util.strpad(hour,2) + ":" + util.strpad(minute,2)); 30 6 20 7 ltgray 2% black 13:30 52 1 100 7 transparent 2.25% black Bis datepicker.setText(day + "." + month + "." + year); 51 6 30 7 ltgray 2% black 2. timepicker.setText(util.strpad(hour, 2) + ":" + util.strpad(minute, 2)); 80 6 20 7 ltgray 2% black 14:30 2 13 96 9 white 2.25% black 2 22 63 8 ltgray 2.25% black Kundensuchbegriff 2 51 96 38 #CDD9FD 1 var sortedList; sortedList = new ASSOSortedList("5"); sortedList.clearRows(); var reports; var sortedList; var report; viewManager.persistData(); reports = new ASSOReportsDataHolder("reports"); report = new ASSOReport("reports", reports.getReportIdByIndex(row)); globalData.putData("current_report", report); viewManager.pushView("20009"); 0 0 100 100 #CDD9FD 2 2 96 7 transparent 2.25% black Bericht: 2 10 96 7 #DDDDDD 2.25% black Datum 2 17 96 7 #EEEEEE 2.25% black Ersteller 2 24 96 10 #DDDDDD 2.25% black Bericht vertraulich false 2 34 96 55 #EEEEEE 2.25% black 0 0 100 100 #CDD9FD 2 3 100 7 transparent 2.25% black Reportdetails ändern: 2 9 30 6 #DDDDDD 2.25% black 30 9 25 6 #EEEEEE 2.25% black 2 15 100 7 #EEEEEE 2.25% black Ersteller 2 22 100 10 #DDDDDD 2.25% black Ist vertraulich 2 31 100 21 #EEEEEE 2.25% black Text 3 0 0 100 100 #CDD9FD 2 1 100 7 transparent 2.25% black 1 6 98 9 white 2.25% black 2 15 96 7 #EEEEEE 2.25% black Ersteller 2 22 96 10 #DDDDDD 2.25% black Ist vertraulich 2 31 96 21 #EEEEEE 2.25% black Text 3 0 0 100 100 #CDD9FD 2 1 100 7 transparent 2.25% black Kundensuche 2 9 63 8 ltgray 2.25% black Kundensuchbegriff 3 20 94 75 #EEEEEE 1 var sortedList; sortedList = new ASSOSortedList("2"); sortedList.clearRows(); var customerList; var sortedList; customerList = new ASSOCustomerList("customerlist"); globalData.putData("customer_eid", customerList.getCustomerEIDByIndex(row)); viewManager.pushView("20013"); 0 0 100 100 #CDD9FD 0) { textview.setText(customerSpecial.getComp2()); } textview = new ASSOText("6"); textview.setText(customerSpecial.getStreet() + " " + customerSpecial.getHouseNumber()); textview = new ASSOText("7"); textview.setText(customerSpecial.getZIP() + " " + customerSpecial.getCity()); textview = new ASSOText("8"); textview.setText("Telefon: " + customerSpecial.getPhone()); if (customerSpecial.getPhone2() != null) { textview = new ASSOText("9"); textview.setText(customerSpecial.getPhone2()); } ]]> 2 1 100 7 transparent 2.25% black Kundendetails: 2 10 96 7 #DDDDDD 2.25% black 2 17 96 7 #EEEEEE 2.25% black 2 24 96 7 #DDDDDD 2.25% black 2 31 96 7 #EEEEEE 2.25% black 2 38 96 7 #EEEEEE 2.25% black 2 45 96 7 #EEEEEE 2.25% black 2 52 96 7 #EEEEEE 2.25% black 2 59 96 7 #EEEEEE 2.25% black 0 0 100 100 #CDD9FD if (globalData.dataAvailable("customer_eid") == "true" || globalData.dataAvailable("current_customer") == "true") { var day; var month; var year; var fromdate; var todate; var customerStatistic; var textview; day = util.getCurrentDay(); month = util.getCurrentMonth(); year = util.getCurrentYear(); // Aufruf 1 fromdate = year + "-01-01"; todate = year + "-" + util.strpad(month,2) + "-" + util.strpad(day, 2); message = new ASSOMessage(); message.setId("getCsStatistic"); if (globalData.dataAvailable("customer_eid") == "true") { message.addNode("csid", globalData.getData("customer_eid")); } else { var customer; customer = globalData.getData("current_customer"); message.addNode("cseid", customer.getEID()); } message.addNode("fromdaterange", fromdate); message.addNode("todaterange", todate); // senden der nachricht result = messageManager.send(message); customerStatistic = new ASSOCustomerStatistic("customer_statistic_1"); customerStatistic.fromXML(result); textview = new ASSOText("1"); textview.setText(customerStatistic.getValue() + "€"); // Aufruf 2 fromdate = (year - 1)+ "-01-01"; todate = (year - 1) + "-" + util.strpad(month,2) + "-" + util.strpad(day, 2); message = new ASSOMessage(); message.setId("getCsStatistic"); if (globalData.dataAvailable("customer_eid") == "true") { message.addNode("csid", globalData.getData("customer_eid")); } else { var customer; customer = globalData.getData("current_customer"); message.addNode("cseid", customer.getEID()); } message.addNode("fromdaterange", fromdate); message.addNode("todaterange", todate); // senden der nachricht result = messageManager.send(message); customerStatistic = new ASSOCustomerStatistic("customer_statistic_2"); customerStatistic.fromXML(result); textview = new ASSOText("2"); textview.setText(customerStatistic.getValue() + "€"); // Aufruf 3 fromdate = (year - 1) + "-01-01"; todate = (year - 1) + "-12-31"; message = new ASSOMessage(); message.setId("getCsStatistic"); if (globalData.dataAvailable("customer_eid") == "true") { message.addNode("csid", globalData.getData("customer_eid")); } else { var customer; customer = globalData.getData("current_customer"); message.addNode("cseid", customer.getEID()); } message.addNode("fromdaterange", fromdate); message.addNode("todaterange", todate); // senden der nachricht result = messageManager.send(message); customerStatistic = new ASSOCustomerStatistic("customer_statistic_3"); customerStatistic.fromXML(result); textview = new ASSOText("3"); textview.setText(customerStatistic.getValue() + "€"); } else { viewManager.showMessage("sdlf"); } 2 5 96 10 transparent 2.25% black center Umsatzstatistik 2 15 96 10 transparent 2% center black Umsatz im laufenden Jahr bis heute: 2 19 96 10 transparent 2.25% center black 2 25 96 10 transparent 2% center black Umsatz im letzen Jahr in demselben Zeitraum: 2 33 96 10 transparent 2.25% center black 2 40 96 10 transparent center 2% black Gesamtumsatz im letzen Jahr: 2 44 96 10 transparent center 2.25% black