Compare commits

..

No commits in common. "ff7c93617241774212df935c6fe5c39b30d0bb76" and "e3142c34298fd18279af95f768f99ec14112c718" have entirely different histories.

2 changed files with 0 additions and 9 deletions

View File

@ -114,13 +114,6 @@ PostalPoint uses the Jimp library version 1.6 for creating and manipulating imag
* `Jimp()`: The [JavaScript Image Manipulation Program](https://jimp-dev.github.io/jimp/). Access like so: `const {Jimp} = global.apis.graphics.Jimp();`.
* `async loadFont(filename)`: Replacement for [Jimp's loadFont](https://jimp-dev.github.io/jimp/api/jimp/functions/loadfont/), which gets very confused about our JS environment and ends up crashing everything.
#### I18N
`global.apis.i18n.`:
* `country()`: Returns the 2-character country code that PostalPoint is running in (examples: "US", "CA").
* `currency()`: Returns the 3-character currency code (examples: "usd", "cad").
#### Kiosk
`global.apis.kiosk.`:

View File

@ -34,8 +34,6 @@ async function purchase(rateid) {
rate.retail_rate, 1, rate.cost_rate, 0
);
receiptitem.barcode = tracking;
receiptitem.carrier = "Carrier Name";
receiptitem.service = "Service Name";
return {
label: label,