refactored material track code for front end
This commit is contained in:
committed by
Stieber Daniel (CSC FI SPS MESLEO)
parent
c36cf5fedc
commit
d7d8fc0289
@ -189,7 +189,13 @@ UpdateHALItem:
|
||||
|
||||
Begin Case
|
||||
Case ReportID = 'materialtrack'
|
||||
Error_Services('Add', 'Unsupported report')
|
||||
Body = HTTP_Services('GetHTTPPostString')
|
||||
If (Body NE '') then
|
||||
// The POST string will have been encoded so use percent (URL) decoding.
|
||||
RepJSON = HTTP_Services('DecodePercentString', Body)
|
||||
Report_Services('UpdateMaterialTrackData', RepJSON)
|
||||
end
|
||||
|
||||
Case ReportID = 'dailyperformance'
|
||||
ReportDate = Http_Services('GetQueryField', 'reportDate')
|
||||
// The resource will have been put into the POST string.
|
||||
@ -225,3 +231,4 @@ API reports.GET
|
||||
HTTP_Resource_Services('LoremIpsum')
|
||||
|
||||
end api
|
||||
|
||||
|
Reference in New Issue
Block a user