Clicking the sendInvite button triggers a post request to the server to send a bidding invite via mail.

This commit is contained in:
2026-02-19 20:54:24 +01:00
parent 06589e5a09
commit 064da850c4
13 changed files with 76 additions and 12 deletions

View File

@ -46,6 +46,8 @@ class TableModel : public QAbstractTableModel {
bool updateItem(const ModelItemValues& itemValues);
void setOnlineCredentials(const QString& mail, const QString& uuid, const QString& token);
QJsonDocument getMailInviteJsonDoc(const QString& mail, const QString& serverUrl) const;
void updateBiddings(const QList<bidding> biddings);
public slots:
@ -111,6 +113,7 @@ class TableModel : public QAbstractTableModel {
qreal totalSharesWithBiddings(const UserRoles biddingRole) const;
QModelIndex getIndexByRoleValue(const QString& valueString, const int role) const;
QMap<int, QVariant> getItemValues(const bidding bid);
};
#endif // TABLEMODEL_H