use of de.metas.ui.web.pattribute.json.JSONASILayout in project metasfresh-webui-api by metasfresh.
the class ASIRestController method getLayout.
@GetMapping("/{asiDocId}/layout")
public JSONASILayout getLayout(@PathVariable("asiDocId") final String asiDocIdStr) {
userSession.assertLoggedIn();
final DocumentId asiDocId = DocumentId.of(asiDocIdStr);
final ASILayout asiLayout = asiRepo.getLayout(asiDocId);
return JSONASILayout.of(asiLayout, newJsonOpts());
}
Aggregations