|
|
@ -152,7 +152,7 @@ QByteArray ReceiptGenerator::generate()
|
|
|
|
QString name = item->name();
|
|
|
|
QString name = item->name();
|
|
|
|
QString price = QString::number(item->price().toDouble(), 'f', 2);
|
|
|
|
QString price = QString::number(item->price().toDouble(), 'f', 2);
|
|
|
|
|
|
|
|
|
|
|
|
hasDoubleItem = name == shopSettings->doublePrintItem();
|
|
|
|
hasDoubleItem = hasDoubleItem || name == shopSettings->doublePrintItem();
|
|
|
|
|
|
|
|
|
|
|
|
int numSpaces = 0;
|
|
|
|
int numSpaces = 0;
|
|
|
|
name = count + "x " + name;
|
|
|
|
name = count + "x " + name;
|
|
|
|