adapt to changes in woc
authorKonrad Rosenbaum <konrad@silmor.de>
Sat, 18 Feb 2012 14:25:11 +0000 (15:25 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sat, 18 Feb 2012 14:25:11 +0000 (15:25 +0100)
24 files changed:
elam
pack
src/dialogs/customerdlg.cpp
src/dialogs/eventedit.cpp
src/dialogs/eventsummary.cpp
src/dialogs/orderauditdlg.cpp
src/dialogs/orderwin.cpp
src/dialogs/payedit.cpp
src/dialogs/pricecatdlg.cpp
src/dialogs/shipping.cpp
src/iface/msinterface.cpp
src/main.cpp
src/mwin/acltabs.cpp
src/mwin/carttab.cpp
src/mwin/entrancetab.cpp
src/mwin/eventstab.cpp
src/mwin/orderstab.cpp
src/mwin/overview.cpp
src/templates/templates.cpp
src/wext/customer.cpp
src/wext/event.cpp
src/wext/order.cpp
src/wext/ticket.cpp
wob/classes/cart.wolf

diff --git a/elam b/elam
index f0c1627..4750ca4 160000 (submodule)
--- a/elam
+++ b/elam
@@ -1 +1 @@
-Subproject commit f0c16272d5ec1cb313175ede04afb135c1472702
+Subproject commit 4750ca4eedb881a9f5625ef0133d6e2c91be78dd
diff --git a/pack b/pack
index f2a3ae9..124750d 160000 (submodule)
--- a/pack
+++ b/pack
@@ -1 +1 @@
-Subproject commit f2a3ae94fd26f7789ccfd33036512f513ba0c32a
+Subproject commit 124750d5e19a642f69f28a3299380bb95ba3d089
index 328f83d..64939c0 100644 (file)
 
 #include "customerdlg.h"
 #include "msinterface.h"
+#include "misc.h"
+
+#include "MTGetAllCustomerNames"
+#include "MTGetCustomer"
+#include "MTDeleteCustomer"
+#include "MTChangeCustomer"
+#include "MTChangeCustomerMail"
+#include "MTCreateCustomer"
+#include "MTResetCustomerPassword"
+#include "MTGetAllContactTypes"
+#include "MTCreateContactType"
+#include "MTCreateCountry"
+#include "MTGetAllCountries"
+#include "MTGetAddress"
 
 #include <QBoxLayout>
 #include <QCheckBox>
index 0163995..b55151e 100644 (file)
 
 #include "msinterface.h"
 #include "MTGetEvent"
+#include "MTCreateEvent"
+#include "MTChangeEvent"
+#include "MTGetAllRooms"
+#include "MTCreateRoom"
+#include "MTGetAllArtists"
+#include "MTCreateArtist"
+
 #include "centbox.h"
 #include "pricecatdlg.h"
 #include "formula.h"
 #include "flagedit.h"
+#include "misc.h"
 
 MEventEditor::MEventEditor(QWidget*pw,qint64 id)
        :QDialog(pw)
index be77d22..e40d2b7 100644 (file)
@@ -15,6 +15,8 @@
 #include "odtrender.h"
 #include "msinterface.h"
 
+#include "MTGetEventSummary"
+
 #include <QBoxLayout>
 #include <QDomDocument>
 #include <QDomElement>
index 78a17b8..88c575f 100644 (file)
 #include "main.h"
 
 #include "msinterface.h"
+#include "MTGetTicketAudit"
+#include "MTGetVoucherAudit"
+#include "MTGetOrderAudit"
+#include "MTGetUserAudit"
+#include "MTGetOrder"
 
 #include <DPtr>
 #include <QBoxLayout>
index fe16a96..522cc44 100644 (file)
 #include "ticketrender.h"
 
 #include "MOEvent"
+#include "MTGetEventList"
+#include "MTOrderAddComment"
+#include "MTOrderChangeComments"
+#include "MTOrderChangeShipping"
+#include "MTOrderMarkShipped"
+#include "MTOrderPay"
+#include "MTOrderRefund"
+#include "MTUseVoucher"
+#include "MTChangeTicketPrice"
+#include "MTChangeTicketPriceCategory"
+#include "MTReturnTicketVoucher"
+#include "MTCancelOrder"
+#include "MTReservationToOrder"
+#include "MTChangeOrderAddress"
+#include "MTGetAllShipping"
+#include "MTGetEvent"
 
 #include <QApplication>
 #include <QBoxLayout>
index b561e5b..9d74d7b 100644 (file)
 #include "flagedit.h"
 
 #include "msinterface.h"
+#include "MTSetPaymentType"
+#include "MTDeletePaymentType"
+#include "MTSetDefaultPaymentType"
+#include "MTGetPaymentTypes"
 
 #include <QApplication>
 #include <QDebug>
index 42d7eda..688186e 100644 (file)
 #include "msinterface.h"
 #include "flagedit.h"
 
+#include "MTGetAllPriceCategories"
+#include "MTCreatePriceCategory"
+#include "MTChangePriceCategory"
+
 #include <QBoxLayout>
 #include <QFormLayout>
 #include <QLabel>
index 24585d9..da02cdf 100644 (file)
 #include "flagedit.h"
 
 #include "MOShipping"
+#include "MTGetAllShipping"
+#include "MTChangeShipping"
+#include "MTCreateShipping"
+#include "MTDeleteShipping"
 
 #include "msinterface.h"
 
index 54bbd80..0980564 100644 (file)
 #include "main.h"
 #include "sslexception.h"
 #include "templates.h"
+#include "misc.h"
+
+#include "MTGetMyRights"
+#include "MTGetMyRoles"
+#include "MTServerInfo"
+#include "MTLogout"
+#include "MTGetLanguage"
+
+#include <WException>
 
 #include <QDateTime>
 #include <QDebug>
index 69ca6c7..72b66af 100644 (file)
@@ -37,6 +37,7 @@
 #include "login.h"
 #include "msinterface.h"
 #include "elam.h"
+#include "misc.h"
 
 QString choseLanguage(bool warn)
 {
index d2124f5..410f4d7 100644 (file)
 
 #include "acltabs.h"
 
+#include "MOHost"
+#include "MOUser"
+#include "MTChangePassword"
+#include "MTCreateRole"
+#include "MTCreateUser"
+#include "MTCreateUser"
+#include "MTDeleteFlag"
+#include "MTDeleteHost"
+#include "MTDeleteRole"
+#include "MTDeleteUser"
+#include "MTGetAllHostNames"
+#include "MTGetAllHosts"
+#include "MTGetAllRightNames"
+#include "MTGetAllRoles"
+#include "MTGetAllUsers"
+#include "MTGetRole"
+#include "MTGetUser"
+#include "MTGetUserHosts"
+#include "MTGetUserRoles"
+#include "MTGetValidFlags"
+#include "MTSetFlag"
+#include "MTSetHost"
+#include "MTSetRoleDescription"
+#include "MTSetRoleFlags"
+#include "MTSetRoleRights"
+#include "MTSetUserDescription"
+#include "MTSetUserFlags"
+#include "MTSetUserHosts"
+#include "MTSetUserRoles"
+
 #include <QBoxLayout>
 #include <QCryptographicHash>
 #include <QDebug>
index ca81712..333a5b7 100644 (file)
 
 #include "carttab.h"
 
+#include "MTGetAllShipping"
+#include "MTGetEvent"
+#include "MTGetValidVoucherPrices"
+#include "MTCreateOrder"
+#include "MTCreateReservation"
+
 #include <QApplication>
 #include <QBoxLayout>
 #include <QComboBox>
index 4377fd4..3e4dd74 100644 (file)
 
 #include "entrancetab.h"
 
+#include "MTUseTicket"
+#include "MTGetEntranceEvents"
+#include "MTGetOrderByBarcode"
+
 #include <QBoxLayout>
 #include <QComboBox>
 #include <QLabel>
index 8ba0e67..2ecf623 100644 (file)
 
 #include "eventstab.h"
 
+#include "MTGetAllEvents"
+#include "MTGetEvent"
+#include "MTCancelEvent"
+
 #include <TimeStamp>
 
 #include <QApplication>
index f5146a6..d10d092 100644 (file)
 
 #include <TimeStamp>
 
+#include "MTGetOrder"
+#include "MTGetOrderList"
+#include "MTGetMyOrders"
+#include "MTGetOrderByBarcode"
+#include "MTGetOrdersByCustomer"
+#include "MTGetOrdersByEvents"
+#include "MTGetOrdersByUser"
+#include "MTGetAllUsers"
+
 #include <QBoxLayout>
 #include <QCheckBox>
 #include <QComboBox>
index 6494db0..92ab620 100644 (file)
 #include <QTabWidget>
 #include <QFormLayout>
 #include <QDateTimeEdit>
+
 #include <labeldlg.h>
 
+#include "MTChangeMyPassword"
+#include "MTReturnTicketVoucher"
+#include "MTDeductVoucher"
+#include "MTEmptyVoucher"
+#include "MTBackup"
+#include "MTGetAllUsers"
+
 MOverview::MOverview(QString pk)
        :MTabWin(pk)
 {
index 5f1f1bb..911d53e 100644 (file)
 #include "templates.h"
 #include "msinterface.h"
 
+#include "MTGetTemplateList"
+#include "MTGetTemplate"
+#include "MTSetTemplate"
+#include "MTDeleteTemplate"
+#include "MTSetTemplateDescription"
+#include "MTSetTemplateFlags"
+
 #include <QCoreApplication>
 #include <QDateTime>
 #include <QDir>
index 5b00e85..727ab10 100644 (file)
@@ -15,6 +15,8 @@
 #include "msinterface.h"
 #include <QScriptEngine>
 
+#include "MTGetCustomer"
+
 static int mymeta=
        qRegisterMetaType<MOCustomer>()+
        qRegisterMetaType<QList<MOCustomer> >()+
index ce9f356..5a13425 100644 (file)
@@ -18,6 +18,9 @@
 #include <QScriptEngine>
 
 #include "msinterface.h"
+#include "MTGetEvent"
+
+#include "misc.h"
 
 static int mymeta=
        qRegisterMetaType<MOEvent>()+
index 1a4c3aa..424bbbe 100644 (file)
@@ -14,6 +14,8 @@
 #include "MOOrderInfo"
 #include "MORole"
 
+#include "MTGetOrder"
+
 #include "msinterface.h"
 #include <QScriptEngine>
 
index f7616fd..0683f47 100644 (file)
@@ -14,6 +14,7 @@
 #include "MOVoucher"
 #include "msinterface.h"
 #include <QScriptEngine>
+#include "MTGetEvent"
 
 static int mymeta=
        qRegisterMetaType<MOTicket>()+
index 0c47b0a..a15dee2 100644 (file)
@@ -10,6 +10,7 @@
        <Class name="CartTicket">
                <Doc>Encapsulates tickets for a specific event in a specific price category as they are stored in the cart. One instance of CartTicket can contain several tickets. This class is used by the client to tell the server about new orders and by the Web UI to actually store its cart.</Doc>
                <Enum name="TicketValidationState">
+                       <Doc>Used when checking orders: tells us whether a ticket can be sold or not.</Doc>
                        <Value name="Ok">The tickets can be sold</Value>
                        <Value name="EventOver">The event is already over</Value>
                        <Value name="TooLate">The event is not yet over, but normal sale is no longer possible, you need the CreateOrder:LateSale privilege</Value>