feat(MED-161): no need for default value as it's only used in one place
This commit is contained in:
@@ -177,7 +177,7 @@ export async function composeOrderXML({
|
|||||||
|
|
||||||
return `<?xml version="1.0" encoding="UTF-8"?>
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Saadetis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TellimusLOINC.xsd">
|
<Saadetis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TellimusLOINC.xsd">
|
||||||
${getPais(USER, RECIPIENT, orderId)}
|
${getPais(USER, RECIPIENT, orderId, "OL")}
|
||||||
<Tellimus cito="EI">
|
<Tellimus cito="EI">
|
||||||
<ValisTellimuseId>${orderId}</ValisTellimuseId>
|
<ValisTellimuseId>${orderId}</ValisTellimuseId>
|
||||||
${getClientInstitution()}
|
${getClientInstitution()}
|
||||||
|
|||||||
@@ -9,11 +9,8 @@ export const getPais = (
|
|||||||
sender: string,
|
sender: string,
|
||||||
recipient: string,
|
recipient: string,
|
||||||
orderId: number,
|
orderId: number,
|
||||||
packageName = "OL",
|
packageName: string,
|
||||||
) => {
|
) => {
|
||||||
if (isProd) {
|
|
||||||
// return correct data
|
|
||||||
}
|
|
||||||
return `<Pais>
|
return `<Pais>
|
||||||
<Pakett versioon="20">${packageName}</Pakett>
|
<Pakett versioon="20">${packageName}</Pakett>
|
||||||
<Saatja>${sender}</Saatja>
|
<Saatja>${sender}</Saatja>
|
||||||
|
|||||||
Reference in New Issue
Block a user