lots of smaller improvements

This commit is contained in:
Martin Brodbeck 2018-07-30 14:43:02 +02:00
parent c3b17fbb8b
commit 84f71ea056
13 changed files with 49 additions and 24 deletions

View file

@ -108,7 +108,7 @@ QVariant SaleModel::data(const QModelIndex& index, int role) const
Article* article = static_cast<Article*>(index.internalPointer());
switch (index.column()) {
case 0:
return article->getArticleNo();
return article->getCompleteArticleNo().c_str();
case 1:
return article->getPriceAsString().c_str();
case 2: