Skip to content

Commit

Permalink
Add eid to queries
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Aug 1, 2024
1 parent c9da7c9 commit b608d61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default [
"'contract-spending/' || publisher_key || '/' || order_id || '/' || budget_code AS cs_item_id, ",
"case when entity_name is null then supplier_name->>0 else entity_name end as \"ספק\", ",
"case when entity_id is null then null else ('org/' || entity_kind || '/' || entity_id) end as e_item_id, ",
"entity_id as \"מספר תאגיד\", ",
"purchase_method->>0 AS \"אופן רכישה\",",
"((publisher->>0) || '/' || (purchasing_unit->>0)) AS \"היחידה הרוכשת\", ",
"order_date AS \"תאריך הזמנה\",",
Expand Down Expand Up @@ -275,6 +276,7 @@ export default [
},
headers: [
"היחידה הרוכשת",
"מספר תאגיד",
"ספק:item_link(e_item_id)",
"תיאור:item_link(cs_item_id)",
"אופן רכישה",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default [
"'contract-spending/' || publisher_key || '/' || order_id || '/' || budget_code AS cs_item_id, ",
"case when entity_name is null then supplier_name->>0 else entity_name end as \"ספק\", ",
"case when entity_id is null then null else ('org/' || entity_kind || '/' || entity_id) end as e_item_id, ",
"entity_id as \"מספר תאגיד\", ",
"purchase_method->>0 AS \"אופן רכישה\",",
"((publisher->>0) || '/' || (purchasing_unit->>0)) AS \"היחידה הרוכשת\", ",
"order_date AS \"תאריך הזמנה\",",
Expand Down Expand Up @@ -275,6 +276,7 @@ export default [
},
headers: [
"היחידה הרוכשת",
"מספר תאגיד",
"ספק:item_link(e_item_id)",
"תיאור:item_link(cs_item_id)",
"אופן רכישה",
Expand Down

0 comments on commit b608d61

Please sign in to comment.