UBL21: INVOICE Info : add vatex
This commit is contained in:
parent
c12dbb001b
commit
163400769c
2 changed files with 8 additions and 4 deletions
|
|
@ -205,10 +205,13 @@ class XMLCreditNote_Reader extends XML_Reader
|
|||
$row ['name'] =$xml->xpath("//cac:CreditNoteLine/cac:Item/cbc:Name")[$e]."";
|
||||
else
|
||||
$row['name']="";
|
||||
/**
|
||||
* @TODODNY
|
||||
* Implémenter les allowances
|
||||
*/
|
||||
|
||||
if ( isset ($xml->xpath("//cbc:TaxExemptionReasonCode")[$e]))
|
||||
{
|
||||
$row['vatex']=$xml->xpath("//cbc:TaxExemptionReasonCode")[$e];
|
||||
}else {
|
||||
$row['vatex']="";
|
||||
}
|
||||
$result[] = $row;
|
||||
}
|
||||
return $result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue