-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OAM-71: update movimentos de stock report (#59)
* OAM-71: update movimentos de stock report * OAM-71: correct adapter
- Loading branch information
1 parent
0ee1c75
commit 7161a27
Showing
3 changed files
with
92 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...urces/db/migration/20240610091650223__update_angola_stock_movement_per_product_report.sql
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
...40610092122360__add_geographic_zone_filer_to_angola_stock_movement_per_product_report.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
INSERT INTO | ||
reports.template_parameters ( | ||
id, | ||
datatype, | ||
defaultvalue, | ||
description, | ||
displayname, | ||
displayproperty, | ||
name, | ||
required, | ||
selectexpression, | ||
selectproperty, | ||
templateid, | ||
selectmethod, | ||
selectbody | ||
) | ||
VALUES | ||
( | ||
'f6e83d7e-2641-4081-a128-439aa31c69e1', | ||
'java.lang.String', | ||
null, | ||
null, | ||
'Zona Geográfica', | ||
'name', | ||
'district', | ||
false, | ||
/ api / geographicZones, | ||
name, | ||
'a565bb23-1d39-4a9a-8717-a7ff46706243', | ||
'GET', | ||
null | ||
); | ||
|
||
UPDATE | ||
reports.template_parameters | ||
SET | ||
"datatype" = 'java.lang.String', | ||
defaultvalue = NULL, | ||
description = NULL, | ||
displayname = 'Instituição', | ||
displayproperty = 'name', | ||
"name" = 'facility', | ||
required = false, | ||
selectexpression = '/api/facilities', | ||
selectproperty = 'name', | ||
templateid = 'a565bb23-1d39-4a9a-8717-a7ff46706243', | ||
selectmethod = 'GET', | ||
selectbody = NULL | ||
WHERE | ||
id = '35dd6fbd-e22c-4d7d-ac08-d6193e77aa96'; |