New EU Country as of 1.7.2013


https://forum.kartris.com/Topic2180.aspx
Print Topic | Close Window

By askomit - Wed 3 Jul 2013
Hi, can you add new EU country. Croatia (Hrvatska).

Can you add us in Kartris Smile as EU country. If there is anything you need additionaly for adding us. Just ask. Below is function for checking oib/tax id....

In Croatia there is OIB and Tax number... Tax number basicly get companies that work also with companies from outside Croatia..

Only difference between Tax number and Oib is in prefix...

My company's OIB is : 57277786898

Tax number is: HR57277786898

This function checks if OIB is in correct format so, only thing needed is if there are letters in this number, to strip HR and check with this function if its correct format

Public Shared Function OIB_Validacija(ByVal oib As String) As Boolean
If oib.Length <> 11 Then
Return False
End If

Dim znamenka As Integer, zbroj As Integer, medjuOstatak As Integer,
ostatak As Integer, umnozak As Integer
ostatak = 10

For charIndex As Integer = 0 To oib.Length - 2
znamenka = Convert.ToInt32(oib(charIndex).ToString())


zbroj = znamenka + ostatak

medjuOstatak = zbroj Mod 10
If medjuOstatak = 0 Then
medjuOstatak = 10
End If


umnozak = medjuOstatak * 2
ostatak = umnozak Mod 11
Next

Dim kontrolniBroj As Integer = 11 - ostatak

If Convert.ToInt32(oib(oib.Length - 1).ToString()) = kontrolniBroj
Then
Return True
Else
Return False
End If
End Function

By Paul - Thu 4 Jul 2013
We have added Croatia to the VAT number function in checkout.aspx.vb within the codeplex repository already. We've also updated the .sql setup script so that Croatia is in the EU shipping zone, and has ChargeTax=true as default.

Not sure we will put in any support for OIB, although you obviously can. I think in time most Croatian companies will become familiar with using the VAT number, as it is we show the country code, so it should be clear just to enter the number, e.g.

HR _____________
By askomit - Thu 4 Jul 2013
well

VAT number = HR + OIB

so this can be used to check if correct Tax number has been entered Smile

Tnx Smile
By Mart - Thu 4 Jul 2013
Welcome to the EU!
By Anonymous - Fri 9 Aug 2013
Microsoft stands by its Cheap Christian Louboutin Shoes prediction that this year game will top the $125 million in launchday Christian Louboutin Men sales recorded by 2. People unfamiliar with the franchise, the games louis vuitton belt Christian Louboutin Cheap replica for sale are firstperson shooters. For the most part, a player sees the Cheap Christian Louboutin game from the character perspective, with little more than the barrel of a gun in front of them.