snowpackdata / website

Code to manage the snowpack website
0 stars 0 forks source link

[BUG] Invoice file generation loop over adjustments #33

Closed nathanaelrobinson closed 6 months ago

nathanaelrobinson commented 6 months ago

We typically need to iterate over the adjustments to sum them up when inserting into the PDF, however I was iterating over the entries list and then trying to access the adjustments at the same index. This caused an index out of range error. This has been resolved.