diff --git a/src/gui/salemodel.cpp b/src/gui/salemodel.cpp index 8d7f8e0..689c6ad 100644 --- a/src/gui/salemodel.cpp +++ b/src/gui/salemodel.cpp @@ -108,7 +108,7 @@ QVariant SaleModel::data(const QModelIndex& index, int role) const Article* article = static_cast(index.internalPointer()); switch (index.column()) { case 0: - return article->getCompleteArticleNo().c_str(); + return (std::string("Verk. ") + std::to_string(article->getSeller()->getSellerNo()) + " (" + article->getCompleteArticleNo() + ")").c_str(); case 1: return article->getPriceAsString().c_str(); case 2: @@ -146,7 +146,7 @@ QVariant SaleModel::headerData(int section, Qt::Orientation orientation, int rol if (orientation == Qt::Horizontal) { switch (section) { case 0: - return "Zeit / Art.Nr."; + return "Zeit / Verk.Nr. (Art.Nr)"; case 1: return "Preis"; default: