14 lines
391 B
Python
14 lines
391 B
Python
from plans.taxation import TaxationPolicy
|
|
from django.conf import settings
|
|
|
|
|
|
class SaudiTaxationPolicy(TaxationPolicy):
|
|
def get_default_tax(self):
|
|
return getattr(settings, 'PLANS_TAX', None)
|
|
|
|
def get_issuer_country_code(self):
|
|
return getattr(settings, 'PLANS_TAX_COUNTRY', None)
|
|
|
|
def get_tax_rate(self, tax_id, country_code, request=None):
|
|
|
|
return 0, True |