WELCOME to ivan-freeside@sisd.com

Ivan Kohler ivan at sisd.com
Thu May 28 10:23:02 PDT 1998


-----BEGIN PGP SIGNED MESSAGE-----

Yes, I could sorely use some internationalization help.  I very much would
like to make the US-specific parts one choice among many.

If you have the luxury of wiping your freeside database, you can edit
dbdef.pm, changing the various lengths (and also the data in there which
is US states).  Then run fs-setup again.

If not, you'll need to make sure that dbdef.pm mirrors the changes you
make to the actual tables.

You'll also need to find these lines in site_perl/cust_main:

  $recref->{'state'} =~ /^(\w{2})$/ or return "Illegal state";
  $recref->{'state'} = $1;

and change the {2} to whatever length you need, for example {2,10} for
2-10 characters.

On Thu, 28 May 1998, Roger Mangraviti wrote:

> How do I change the field length for state and change the zip field
> lenght? In Australia, New South Wales is nsw and the postcodes are also
> different (4 digits). 
> 
> TIA
> 
> --
> -----------------------------------------------------------------
>                         Why not Adap-2-Us?
> -----------------------------------------------------------------
>  Roger Mangraviti   Ph: +61 2 9746 1492
>  Systems Integrator/Network Admin. Fax: +61 2 9793 7350
>  Adap-2-Us
>  Email: rem at atu.com.au   http://www.atu.com.au
> -----------------------------------------------------------------
>  "I tried an internal modem, but it hurt too much when I walked"
> -----------------------------------------------------------------
> 
> 
> 

- -- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key
Silicon Interactive Software Design - http://www.sisd.com/
Open source billing and administration for ISPs - http://www.sisd.com/freeside
"But it's alright, to smile back at me" -Blind Melon

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBNW2ddb7OPBeQJv09AQGadQP/QfLN/S598M3G34EEnZ5OJEdc3JLcQZLV
8e/Yy/C9MgDTWFvjdqBb9f7WT8P4QSE3V+wfyRrd5Md332wOtNoYxcR9Ahm739Cy
n+kD+OJ2Tb5QJRX8/j/uKZAB3zs6TpcQHDoKnA0lYaTSYnXfIWrz+bw2ftgT7hXg
1ztOPkL0azw=
=oggq
-----END PGP SIGNATURE-----




More information about the freeside-users mailing list