TD-574: Fix condition (#30)

This commit is contained in:
ndiezel0 2023-05-19 17:56:57 +03:00 committed by GitHub
parent 486616e7ae
commit 1c71d1743b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ test({currency_is, V1}, #{currency := V2}, _) ->
test({cost_in, V}, #{cost := C}, _) ->
pm_cash_range:is_inside(C, V) =:= within;
test({cost_is_multiple_of, V}, #{cost := C}, _) ->
test_cash_is_multiple_of(V, C);
test_cash_is_multiple_of(C, V);
test({payment_tool, C}, #{payment_tool := V}, Rev) ->
pm_payment_tool:test_condition(C, V, Rev);
test({shop_location_is, V}, #{shop := S}, _) ->