Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TaxCodeReference = "1002 Company Regulations"
- local function GetTax(item)
- local Tax
- if item == "sales" then
- Tax = 0.05
- elseif item == "property" then
- Tax = 0
- elseif item == "income" then
- Tax = 0
- elseif item == "other" then
- Tax = 0
- end
- return Tax
- end
- local function GetCode()
- return TaxCodeReference
- end
- return { GetTax = GetTax, GetCode = GetCode }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement