<?php

/**
 * First implement hook_install() using the name of the country as the base of
 * the function name.
 */
function puerto_rico_install() {
  db_query("INSERT INTO {uc_countries} (country_id, country_name, country_iso_code_2, country_iso_code_3, version) VALUES (630, 'Puerto Rico', 'PR', 'PRI', 1)");

  // No zones

  uc_set_address_format(
    630,
    "!company\r\n".
    "!first_name !last_name\r\n".
    "!street1\r\n".
    "!street2\r\n".
    "!city !zone_code !postal_code\r\n".
    "!country_name_if"
  );
}
