Page 1 of 1

Add States / Provinces for specific countries

Posted: Sat Mar 10, 2007 1:01 pm
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.

Posted: Sat Mar 10, 2007 1:30 pm
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.

Posted: Sat Mar 10, 2007 4:08 pm
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'
),