You are here

commerce_eu_vat_lt.module in Commerce European Union VAT 7.2

Same filename and directory in other branches
  1. 7 countries/commerce_eu_vat_lt/commerce_eu_vat_lt.module

Code for the Commerce EU VAT LT Rates.

File

countries/commerce_eu_vat_lt/commerce_eu_vat_lt.module
View source
<?php

/**
 * @file
 * Code for the Commerce EU VAT LT Rates.
 */

/**
 * Impliments hook_commerce_vat_country_info_alter().
 */
function commerce_eu_vat_lt_commerce_vat_country_info_alter(&$vat_countries) {
  $vat_countries['LT']['default_field'] = TRUE;
}

/**
 * Implements hook_commerce_vat_rate_info().
 */
function commerce_eu_vat_lt_commerce_vat_rate_info() {
  $items = array(
    'lt_reduced' => array(
      'country' => 'LT',
      'eu' => TRUE,
      'title' => t('LT Reduced'),
      'rates' => array(
        '05_2001' => array(
          'name' => '05_2001',
          'rate' => 0.05,
          'start' => '20010101',
        ),
      ),
    ),
    'lt_intermediate' => array(
      'country' => 'LT',
      'eu' => TRUE,
      'title' => t('LT Intermediate'),
      'rates' => array(
        '09_2001' => array(
          'name' => '09_2001',
          'rate' => 0.09,
          'start' => '20010101',
        ),
      ),
    ),
    'lt_standard' => array(
      'country' => 'LT',
      'eu' => TRUE,
      'title' => t('LT Standard'),
      'rates' => array(
        '21_2009' => array(
          'name' => '21_2009',
          'rate' => 0.21,
          'start' => '20090901',
        ),
      ),
    ),
  );
  return $items;
}