Commit 3c47dcf3 authored by jordan.dalby's avatar jordan.dalby

Changed receipt items from ID to name

parent 91580b43
......@@ -129,7 +129,7 @@ public class BookConfirmation extends AppCompatActivity
if (amt == 0)
continue;
writer.write(item.displayName + " x" + bookPacket.cafe.quantities.get(item) + " " + NumberFormat.getCurrencyInstance(locale).format((item.cost * amt)) + "\n");
writer.write(getString(item.displayName) + " x" + bookPacket.cafe.quantities.get(item) + " " + NumberFormat.getCurrencyInstance(locale).format((item.cost * amt)) + "\n");
}
writer.write(getString(R.string.souvenirsPurchased) + "\n:\n");
......@@ -139,7 +139,7 @@ public class BookConfirmation extends AppCompatActivity
if (amt == 0)
continue;
writer.write(item.displayName + " x" + bookPacket.souvenir.quantities.get(item) + " " + NumberFormat.getCurrencyInstance(locale).format((item.cost * amt)) + "\n");
writer.write(getString(item.displayName) + " x" + bookPacket.souvenir.quantities.get(item) + " " + NumberFormat.getCurrencyInstance(locale).format((item.cost * amt)) + "\n");
}
writer.write("\n\n" + getString(R.string.totalCost) + ": " + NumberFormat.getCurrencyInstance(locale).format(bookPacket.getTotalCost()) + "\n");
......
......@@ -24,9 +24,4 @@ public class LoginUser
return name;
}
public String getPass()
{
return pass;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment