receipts/js
Dustin e2b14ecf10 receipt-form: Omit empty uploaded file
If there is no file to be uploaded, then we must not send the value of
the `photo` file input.  Doing so causes two files to be uploaded, the
first one being a zero-byte file with no name, and the second one being
the one we captured from the camera.  The server only uses the first
uploaded file if there are multiple, so the correct file is never used.
2025-03-09 21:04:15 -05:00
..
icons js: Initial UI implementation 2025-03-08 11:11:42 -06:00
.gitignore js: Initial UI implementation 2025-03-08 11:11:42 -06:00
alert.ts Store receipts in the database 2025-03-09 19:55:08 -05:00
build.js Store receipts in the database 2025-03-09 19:55:08 -05:00
camera.ts Store receipts in the database 2025-03-09 19:55:08 -05:00
common.css Store receipts in the database 2025-03-09 19:55:08 -05:00
common.ts js: Initial UI implementation 2025-03-08 11:11:42 -06:00
package-lock.json ui: Remove photo cropper element 2025-03-08 20:20:29 -06:00
package.json ui: Remove photo cropper element 2025-03-08 20:20:29 -06:00
receipt-form.ts receipt-form: Omit empty uploaded file 2025-03-09 21:04:15 -05:00
receipt-list.ts Store receipts in the database 2025-03-09 19:55:08 -05:00
receipt.ts Store receipts in the database 2025-03-09 19:55:08 -05:00
shoelace.ts Store receipts in the database 2025-03-09 19:55:08 -05:00
transaction.css ui: Request higher video resolution from camera 2025-03-08 20:41:40 -06:00
transaction.ts ui: Request higher video resolution from camera 2025-03-08 20:41:40 -06:00