Added support for saving receipts.

This commit is contained in:
2016-05-29 18:31:46 +02:00
parent 9707ec7c66
commit facaf98cf0
14 changed files with 128 additions and 32 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ public:
return ret;
}
void save(QSharedPointer<T> entity) {
virtual void save(QSharedPointer<T> entity) {
if (!checkPermission(PERM_ADD)) {
return;
}
@@ -93,7 +93,7 @@ public:
emit dataChanged();
}
void update(QSharedPointer<T> entity) {
virtual void update(QSharedPointer<T> entity) {
if (!checkPermission(PERM_EDIT)) {
return;
}