Forráskód Böngészése

use store code for display instead of store name

Pi 3 éve
szülő
commit
4fc8ffae8b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      grocery_transactions.sh

+ 1 - 1
grocery_transactions.sh

@@ -62,7 +62,7 @@ BEGIN;
 $(cat - )
 SELECT
   date_part('day',ts)||'/'||date_part('month',ts)||' '||date_part('hour',ts)::int%12 AS ts,
-  substr(store,1,4) AS shop,
+  code AS shop,
   substr(description,1,32) AS description,
   quantity AS volume,
   substr(unit,1,4) AS unit,