commerce_eu_vat_mt.module in Commerce European Union VAT 7
Same filename and directory in other branches
Code for the Commerce EU VAT MT Rates. @see
File
countries/commerce_eu_vat_mt/commerce_eu_vat_mt.moduleView source
<?php
/**
* @file
* Code for the Commerce EU VAT MT Rates.
* @see
*/
/**
* Implements hook_commerce_tax_rate_info().
*/
function commerce_eu_vat_mt_commerce_tax_rate_info() {
$items = array(
'eu_vat_mt_reduced_05' => array(
'title' => t('MT Reduced (!r)', array(
'!r' => '5%',
)),
'display_title' => t('5% VAT', array(), array(
'context' => 'commerce_eu_vat_mt',
)),
'description' => t('Malta Reduced Rate VAT at !r', array(
'!r' => '5%',
)),
'rate' => '.05',
'type' => 'eu_vat',
'default_rules_component' => TRUE,
'admin_list' => TRUE,
),
'eu_vat_mt_intermediate_07' => array(
'title' => t('MT Intermediate (!r)', array(
'!r' => '7%',
)),
'display_title' => t('7% VAT', array(), array(
'context' => 'commerce_eu_vat_mt',
)),
'description' => t('Malta Intermediate Rate VAT at !r', array(
'!r' => '7%',
)),
'rate' => '.07',
'type' => 'eu_vat',
'default_rules_component' => TRUE,
'admin_list' => TRUE,
),
'eu_vat_mt_standard_18' => array(
'title' => t('MT Standard (!r)', array(
'!r' => '18%',
)),
'display_title' => t('18% VAT', array(), array(
'context' => 'commerce_eu_vat_mt',
)),
'description' => t('Malta Standard Rate VAT at !r', array(
'!r' => '18%',
)),
'rate' => '.18',
'type' => 'eu_vat',
'default_rules_component' => TRUE,
'admin_list' => TRUE,
),
);
return $items;
}
Functions
Name![]() |
Description |
---|---|
commerce_eu_vat_mt_commerce_tax_rate_info | Implements hook_commerce_tax_rate_info(). |