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"?>
|
||||
<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">
|
||||
<ValisTellimuseId>${orderId}</ValisTellimuseId>
|
||||
${getClientInstitution()}
|
||||
|
||||
@@ -9,11 +9,8 @@ export const getPais = (
|
||||
sender: string,
|
||||
recipient: string,
|
||||
orderId: number,
|
||||
packageName = "OL",
|
||||
packageName: string,
|
||||
) => {
|
||||
if (isProd) {
|
||||
// return correct data
|
||||
}
|
||||
return `<Pais>
|
||||
<Pakett versioon="20">${packageName}</Pakett>
|
||||
<Saatja>${sender}</Saatja>
|
||||
|
||||
Reference in New Issue
Block a user