mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 01:05:21 +00:00
TD-574: Fix condition (#30)
This commit is contained in:
parent
486616e7ae
commit
1c71d1743b
@ -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}, _) ->
|
||||
|
Loading…
Reference in New Issue
Block a user