Some doc stuff

This commit is contained in:
2023-08-22 13:14:56 +02:00
parent 2108ef2418
commit d9114d21c7
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ VALUES
(%(barcode)s, %(name)s, %(group_id)s, %(location_id)s, %(tax_group_id)s, %(sales_units)s, %(net_unit_price)s)
RETURNING item_id INTO new_item_id;
-- Delete any old snacks with the same barcode in the given location
-- Delete (i.e. mark as inactive) any old snacks with the same barcode in the given location
PERFORM garfield.snack_delete(snack_id)
FROM garfield.snacks
WHERE snack_barcode = %(barcode)s