fix: shipping cost is money type
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 3 Jan 2009 19:26:03 +0000 (19:26 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 3 Jan 2009 19:26:03 +0000 (19:26 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@237 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/eventsummary.cpp

index 1b7b166..4b4e2fc 100644 (file)
@@ -329,7 +329,7 @@ void MEventSummary::getLoopVariable(QString loopname,int iteration,QString varna
                if(varname=="SHIPPING")value=orders[oid].shipping().description();else
                if(varname=="SHIPPINGCOST"){
                        value=orders[oid].shipping().price();
-                       av=MOdtRenderer::IntVar;
+                       av=MOdtRenderer::MoneyVar;
                }else{
                        QList<MTicket>ticks=orders[oid].tickets();
                        QList<MTicket>eticks;