Closed gurkan-baykan closed 5 years ago
$xml = new \Bulut\eFaturaUBL\XMLHelper($invoice);
$rand = rand(1000,9999); $destination = 'temp/'.$rand.'.zip'; $zip = new ZipArchive; if($zip->open($destination,ZIPARCHIVE::CREATE) !== true) { return false; } $zip->addFromString($uuid.'.xml',$xml); /*faulty row*/ $zip->close();
$xml değişkeni boş geliyor lütfen kontrol edin.
Buraya objeyi değil UBL xml vermelisiniz.
nasıl veriliyor biraz yardımcı olabilir misiniz
konu hakkında Foribadan destek alabilirsiniz.
$xml = new \Bulut\eFaturaUBL\XMLHelper($invoice);