VAT remove unneedeed chat

This commit is contained in:
sparkyx 2025-12-22 11:05:38 +01:00
parent 4fcacdfc03
commit ecab8c2acc

View file

@ -35,7 +35,7 @@ try {
record_log($e);
return;
}
$vatnr = strtoupper($vatnr);
$vatnr = str_replace([" ",".","-"],"",strtoupper($vatnr??""));
$country = substr($vatnr, 0, 2);
$vatnr = preg_replace("/[[:^digit:]]/", '', $vatnr);
$array = array(