Documentation

CRM_Financial_Form_SalesTaxTrait

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Methods

assignSalesTaxMetadataToTemplate()  : mixed
Assign information to the template required for sales tax purposes.
assignSalesTaxRates()  : mixed
Assign sales tax rates to the template.
assignSalesTaxTermToTemplate()  : mixed
Assign the sales tax term to the template.
getSalesTaxTerm()  : string
Return the string to be assigned to the template for sales tax - e.g GST, VAT.
getTaxRateForFinancialType()  : string
getTaxRatesForFinancialTypes()  : array<string|int, mixed>
Get sales tax rates.

Methods

assignSalesTaxMetadataToTemplate()

Assign information to the template required for sales tax purposes.

public assignSalesTaxMetadataToTemplate() : mixed

assignSalesTaxRates()

Assign sales tax rates to the template.

public assignSalesTaxRates() : mixed

assignSalesTaxTermToTemplate()

Assign the sales tax term to the template.

public assignSalesTaxTermToTemplate() : mixed

since 5.69 will be removed around 5.80

getSalesTaxTerm()

Return the string to be assigned to the template for sales tax - e.g GST, VAT.

public getSalesTaxTerm() : string
Return values
string

getTaxRateForFinancialType()

public getTaxRateForFinancialType(int $financialTypeID) : string
Parameters
$financialTypeID : int
Return values
string

getTaxRatesForFinancialTypes()

Get sales tax rates.

public getTaxRatesForFinancialTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results