What you ask
Search Acme
finance
2
-
@devboxes accounting needs the purchase order number in the invoice CSV, can you add it?
-
#69 adds a po_number column at the end of the invoice CSV, so existing imports keep working. Invoices with a purchase order show the purchase order number in the new column. The tests pass.
Opened #69
What devboxes does
-
Find the export
- devboxes finds the code behind the export and the tests that cover it.
-
Find where the field is stored
- Next, it works out where the field comes from and what happens when it's empty.
-
Add the column last
- The new column goes last, and every existing column stays as it was.
- A test covers the header and both the filled and the empty case.
-
-
Install dependencies
-
Test
-
Lint
-
-
Fix
- The tests pass.
-
Test again
-
Lint again
-
-
-
Publish
-
Review
What you get back
Add the purchase order number to the invoice CSV #69
devboxes Bot reviewed 2 minutes ago View reviewed changes
All checks have passed
3 successful checks
- CI / Lint (pull_request) Details
- CI / Typecheck (pull_request) Details
- CI / Tests (pull_request) Details
This branch has no conflicts with the base branch
Merging can be performed automatically.
You can also merge this with the command line.
Files changed 2
-
src/invoices/csv-export.ts+4 −1 -
test/invoice-csv.test.ts+18 −2
Good for
Startups
devboxes Bot left a comment Author
po_number is the last column, so existing imports read the same columns as before.