noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
check the VAT Number with VIES, More...
Go to the source code of this file.
Variables | |
$array | |
$country = substr($vatnr, 0, 2) | |
$curl = curl_init(VATCHECK_URL . "/check-vat-number") | |
$http = new \HttpInput() | |
$json = curl_exec($curl) | |
if(empty($json)) | $obj = json_decode($json) |
$p_domid = $http->get("p_domid") | |
catch(\Exception $e) | $vatnr = strtoupper($vatnr) |
if(isset( $obj->actionSucceed) &&$obj->actionSucceed==false) if($obj->valid==true) | else |
$obj | html =_('non valide') |
try | |
check the VAT Number with VIES,
Definition in file ajax_check_vatnumber.php.
$array |
Definition at line 40 of file ajax_check_vatnumber.php.
$country = substr($vatnr, 0, 2) |
Definition at line 38 of file ajax_check_vatnumber.php.
Referenced by Database\apply_patch().
$curl = curl_init(VATCHECK_URL . "/check-vat-number") |
Definition at line 52 of file ajax_check_vatnumber.php.
$http = new \HttpInput() |
Definition at line 28 of file ajax_check_vatnumber.php.
$json = curl_exec($curl) |
Definition at line 61 of file ajax_check_vatnumber.php.
Referenced by Acc_Ledger_Search\build_search_filter().
if (empty( $json)) $obj = json_decode($json) |
Definition at line 72 of file ajax_check_vatnumber.php.
$p_domid = $http->get("p_domid") |
Definition at line 32 of file ajax_check_vatnumber.php.
Referenced by Icon_Action\longer(), and Icon_Action\show_note().
$vatnr = strtoupper($vatnr) |
Definition at line 37 of file ajax_check_vatnumber.php.
Definition at line 92 of file ajax_check_vatnumber.php.
$obj html =_('non valide') |
Definition at line 94 of file ajax_check_vatnumber.php.
try |
Definition at line 30 of file ajax_check_vatnumber.php.