uc_tax_ca is a custom module that we have created for calculating Sales Tax of California. It consists a default csv file to calculate the Sales Tax.

Scope:
1. Drupal Module to calculate California Sales Tax by ZIP code from a CSV file with admin panel control.
2. Admin Panel Feature:
Default tax rate -> Set your default tax rate when the user not for California state.
Wholesale roles, to exclude from tax -> Exclude a particular user type from sales tax.
Taxed product types -> Select Product types to apply California state sales taxes.
Upload CSV -> Upload a CSV file for calculate tax rate from this file. Please follow the format below:
CSV columns: z2t_ID, ZipCode, SalesTaxRate, RateState, ReportingCodeState, RateCounty, ReportingCodeCounty, RateCity, ReportingCodeCity, RateSpecialDistrict, ReportingCodeSpecialDistrict, City, PostOffice, State, County, PrimaryRecord

3. User END:
California Sales Tax are calculated when the user enters pincode in california range and selected State is California.
If user is not from California and no default tax rates are defined, Sales Tax will not added
If default tax rate is defined and User not from California, default Sales Tax will added.
When no ZIP code found in the range of CSV files, default Sales Tax will added.

CommentFileSizeAuthor
uc_tax_ca.zip60.33 KBsubhojitmukherjee

Comments

sanchi.girotra’s picture

Status: Needs review » Needs work

Please follow standards mentioned here - http://drupal.org/node/1011698
Do mention the GIT Repo path, project page link and version.

Manual review
.info file

  • Remove $id$ from first line, no more required.
  • remove these lines too
  • version = "6.x-1.9"
  • core = "6.x"
  • project = "uc_tax_ca"
  • datestamp = "1341921600"

Remove license.txt, will be add by Drupal itself.

.module file

  • "Implementation of hook_menu()", should be Implements hook_menu().
  • please add this in hook_init - "ini_set('max_execution_time', 0);"
  • "move_uploaded_file" ?? use drupal's in-built function - file_save_upload().

Please use Coder module to review your module first. Also use ventral.org

subhojitmukherjee’s picture

Thanks for your comments.

klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.