bugfix XML-Rechnung Smarty

This commit is contained in:
OpenXE 2024-12-11 12:18:22 +01:00
parent 4642d05bd8
commit 79b0313be5

View File

@ -1378,7 +1378,7 @@ class Rechnung extends GenRechnung
$smarty = new Smarty;
$directory = $this->app->erp->GetTMP().'/smarty/templates';
$smarty->setCompileDir($directory);
$smarty->assign('rechnung', $output);
$smarty->assign('rechnung', $result);
$output = $smarty->fetch('string:'.$template);
}
}