Skip to content

SudoSOS Back-end API / html/base.html / singleAmountHtml

Function: singleAmountHtml() ​

ts
function singleAmountHtml(description, amount): string;

A single-row amount table plus grand total, as used by transfer-style documents. Both values are escaped here, so callers pass them raw.

Parameters ​

ParameterType
descriptionstring
amountstring

Returns ​

string