lots of smaller improvements
This commit is contained in:
parent
c3b17fbb8b
commit
84f71ea056
13 changed files with 49 additions and 24 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue