mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-18 08:16:42 +02:00
Number sold and limited run
This commit is contained in:
parent
d605bd9ef4
commit
8e82095135
2 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,8 @@ Item {
|
|||
property string itemHref;
|
||||
property int displayedItemCount;
|
||||
property int itemEdition;
|
||||
property int numberSold;
|
||||
property int limitedRun;
|
||||
|
||||
property string originalStatusText;
|
||||
property string originalStatusColor;
|
||||
|
@ -222,6 +224,8 @@ Item {
|
|||
"PENDING..."
|
||||
} else if (root.purchaseStatus === "invalidated") {
|
||||
"INVALIDATED"
|
||||
} else if (root.numberSold !== -1) {
|
||||
("Sales: " + root.numberSold + "/" + (root.limitedRun === -1 ? "INFTY" : root.limitedRun))
|
||||
} else {
|
||||
""
|
||||
}
|
||||
|
|
|
@ -430,6 +430,8 @@ Rectangle {
|
|||
purchaseStatus: status;
|
||||
purchaseStatusChanged: statusChanged;
|
||||
itemEdition: model.edition_number;
|
||||
numberSold: model.number_sold;
|
||||
limitedRun: model.limited_run;
|
||||
displayedItemCount: model.displayedItemCount;
|
||||
anchors.topMargin: 12;
|
||||
anchors.bottomMargin: 12;
|
||||
|
|
Loading…
Reference in a new issue