Function DisplayAgentSaleValue
Outputs the agent sale value
DisplayAgentSaleValue([PROPERTY_CODE],[TYPE],[OTHER_FEES],[VAT_CALC],[ADD_VAT_TEXT],[STRIP_PENCE])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | string | required | n/a | PROPERTY_CODE | The property code |
2 | integer | optional | 0 | TYPE | The type of calculation (see AgentSaleValue for valid values) |
3 | integer | optional | 0 | OTHER_FEES | The other fees (see AgentSaleValue for valid values) |
4 | integer | optional | 0 | VAT_CALC | The VAT calculation type (see AgentSaleValue for valid values) |
5 | boolean | optional | false | ADD_VAT_TEXT | Whether or not to include the VAT text |
6 | boolean | optional | false | STRIP_PENCE | Whether to strip off the pence |
Returns
The agent sale value for display
Examples
Example to display the agent sale value
{{DisplayAgentSaleValue(ALIAS.PROPCODE)}}