承接 silvercommerce/tax-admin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silvercommerce/tax-admin

最新稳定版本:1.4.0

Composer 安装命令:

composer require silvercommerce/tax-admin

包简介

Module allowing creation of tax rates and categories in the CMS via SiteConfig

README 文档

README

Scrutinizer Code Quality Build Status

Adds ability to create and edit tax rates and categories in the CMS (via siteconfig).

This allows for flexible tax configurations (meaning that you can have tax rates for different countries, zones, etc).

You can then map these categories (or rates) to products, line items (in invoices) etc and use them in your tax calculations.

Dependancies

Assigning Taxes to Zones

By default this module integrates with the GeoZones module. This allows you to assign zones to TaxRate objects. You can then use TaxCategory::getValidRate() to return the most appropriate TaxRate for this category, based either on the provided locale and zone, of the system default. EG:

use SilverCommerce\TaxAdmin\Model\TaxCategory;

// Get the tax category you want
$cateogry = TaxCategory::get()->byID(1);

// Find if we have a valid rate for Gloucestershire in the UK (GB)
$tax_rate = $category->getValidTax("GB", "GLS");

统计信息

  • 总下载量: 4.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-11-22