Created
November 20, 2018 12:52
-
-
Save trueqap/380238afa71b151d13e57dda1af11505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wc_szamlazz_xml','wc_szamlazz_xml_aam',10,2); | |
function wc_szamlazz_xml_aam($xml,$order) { | |
//Minden tétel AAM legyen | |
foreach($xml->tetelek->tetel as $tetel) { | |
$tetel->afakulcs = 'AAM'; | |
} | |
//Megjegyzés kiegészítés | |
$xml->fejlec->megjegyzes .= ' A számla nem tartalmaz ÁFÁ-t és nem jogosít annak visszaigénylésére sem.'; | |
return $xml; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment