This commit is contained in:
Starbeamrainbowlabs 2024-07-22 18:52:54 +01:00
parent 4498199492
commit aabbaa2eca
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ const prompt = `The input is a receipt, invoice or parking/bus ticket. The user
date (string): the date the item was purchased, formatted as an iso date. If not present, set this value to null. If there are both an invoice date and an order date available, pick the order date.
item_name (string): The name of the item purchased. Where there are multiple items, summarise them with a single name. Shorten excessively long product names.
item_name (string): The name of the item purchased. Where there are multiple items, summarise them with a single name. Summarise excessively long product names.
paid (number): The total amount that was paid

View file

@ -134,7 +134,7 @@ function handle_add_row(event) {
function rewrite_indices() {
const els = [...document.querySelectorAll(".index")];
for(const i in els) {
els[i].textContent = `${i}`;
els[i].textContent = `${i+1}`;
}
}