Giter Club home page Giter Club logo

belgium's Introduction

cards.iwwa.belgium

Extension with some tools for Belgium

This extension depends on:

It offers the following goodies:

Automatically assign province and preferred language

With this extension enabled, if you create or update a Belgian address, the province is determined based on the postal code. If the address belongs to a contact that doesn't have a preferred language, a preferred language is set based on the province. (This mainly applies when a contact was created using the API, otherwise CiviCRM will use the default language from the settings, I presume.)

This determination is not 100% correct, but I accept pull requests, as always.

Some typical Belgian configuration

This extension changes some settings of your CiviCRM extension. The idea is to apply some sensible settings for Belgian CiviCRM instances:

  • date format (d/m/y)
  • currency (EUR)
  • default country (Belgium)
  • ; as field separator (to please Belgian Excel, argh)
  • address format and mailing format

The extension also changes the default language to nl_NL, but this change is only useful for the Dutch speaking part of Belgium. This is still a bug, there should be a way to choose a language (Dutch, French, German, English). Maybe using a setting.

PostalCode.get API

The extension provides a nice API: PostalCode.get. Some examples using drush:

drush cvapi PostalCode.get postal_code=2240
drush cvapi PostalCode.get municipality=Zandhoven

This will only work if you install the be.chiro.civi.queryapitools extension as well (v.1.1 or later).

belgium_postal_code table

The extension adds a table belgium_postal_code to the database that might be useful for your custom searches and reports.

belgium's People

Contributors

johanv avatar jo0st avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.