rctab.routers.accounting.approvals

Set and fetch approvals for subscriptions.

Functions

check_approval(approval)

Checks whether approval is valid.

check_negative_approval(approval, ...)

Checks whether a negative approval is valid.

check_positive_approval(approval, ...)

Checks whether a non-negative approval is valid.

get_subscription_approvals(subscription[, _])

Returns a list approvals for a subscription.

post_approval(approval[, user])

Creates a new approval.