Add States / Provinces for specific countries

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
MichaelGoddard
Posts: 4
Joined: Thu Mar 08, 2007 2:25 pm
Location: Barbados

Add States / Provinces for specific countries

Post by MichaelGoddard »

I need to add States / Provinces (technically in my case Parishes) for specific Countries. I have seen a few references to this but does anyone have a step by step? I cannot find any tables in the database that hold this info.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

classes/modules/company/CompanyFactory.class.php

Search for:

$province_options

If you let us know which parishes you add we can include them in the next version of TimeTrex.
MichaelGoddard
Posts: 4
Joined: Thu Mar 08, 2007 2:25 pm
Location: Barbados

Post by MichaelGoddard »

Thanks a bunch. Here are the codes for Barbados (BB). I have entered the code and it works like a charm!

'BB' => array(
'M' => 'St. Michael',
'X' => 'Christ Church',
'G' => 'St. George',
'J' => 'St. John',
'P' => 'St. Philip',
'O' => 'St. Joseph',
'L' => 'St. Lucy',
'S' => 'St. James',
'T' => 'St. Thomas',
'A' => 'St. Andrew',
'E' => 'St.Peter'
),
Locked