diff options
author | Nic Eigel <nic@eigel.ch> | 2024-06-24 01:50:38 +0200 |
---|---|---|
committer | Nic Eigel <nic@eigel.ch> | 2024-06-24 01:50:38 +0200 |
commit | 0b90a34e7c7c5d9bcca9a2ebe74df9fdfafc6577 (patch) | |
tree | 6a1818c24f8fcad09d1756d96e171d32a1f9c0f7 /packages/auditor-backoffice-ui/src/utils/amount.ts | |
parent | bf94287904c08f2c62acbb5b52c2cc0d1fcb964b (diff) | |
download | wallet-core-0b90a34e7c7c5d9bcca9a2ebe74df9fdfafc6577.tar.xz |
real-time-auditor
Diffstat (limited to 'packages/auditor-backoffice-ui/src/utils/amount.ts')
-rw-r--r-- | packages/auditor-backoffice-ui/src/utils/amount.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/auditor-backoffice-ui/src/utils/amount.ts b/packages/auditor-backoffice-ui/src/utils/amount.ts index fda997619..0796087ac 100644 --- a/packages/auditor-backoffice-ui/src/utils/amount.ts +++ b/packages/auditor-backoffice-ui/src/utils/amount.ts @@ -12,13 +12,13 @@ You should have received a copy of the GNU General Public License along with GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - */ + *//* import { amountFractionalBase, AmountJson, Amounts, } from "@gnu-taler/taler-util"; -import { MerchantBackend } from "../declaration.js"; +import { AuditorBackend } from "../declaration.js"; /** * merge refund with the same description and a difference less than one minute @@ -26,7 +26,7 @@ import { MerchantBackend } from "../declaration.js"; * @param cur new refund to add to the list * @returns list with the new refund, may be merged with the last */ -export function mergeRefunds( +/*export function mergeRefunds( prev: MerchantBackend.Orders.RefundDetails[], cur: MerchantBackend.Orders.RefundDetails, ): MerchantBackend.Orders.RefundDetails[] { @@ -69,3 +69,4 @@ export function rate(a: AmountJson, b: AmountJson): number { function toFloat(amount: AmountJson): number { return amount.value + amount.fraction / amountFractionalBase; } +*/
\ No newline at end of file |