<?php
// $Id: finland_246_1.cif,v 1.3.2.1 2010-11-02 06:42:17 tr Exp $

function finland_install() {
  // VALUES = Country ID, Country Name, 2-digit Code, 3-digit Code, File Version
  db_query("INSERT INTO {uc_countries} VALUES (246, 'Finland', 'FI', 'FIN', 1)");
  
  // VALUES = %d for ID, Parent Country ID, Zone Abbreviation, Zone Name
  // FI has no postal zones in the Ubercart sense
  // db_query("INSERT INTO {uc_zones} VALUES (%d, 246, '', '')");

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