mahnwesen initial

This commit is contained in:
OpenXE
2023-06-08 15:35:46 +02:00
parent 73725a31bb
commit 1f6caa8632
4 changed files with 590 additions and 63 deletions
+12
View File
@@ -36096,6 +36096,18 @@ function Firmendaten($field,$projekt="")
}
}
/*
* Recalculate payment status and skonto
* using module rechnung
*/
public function rechnung_zahlstatus_berechnen() {
$rechnung = $this->app->loadModule('rechnung', false);
if($rechnung !== null && method_exists($rechnung, 'rechnung_zahlstatus_berechnen')) {
return $rechnung->rechnung_zahlstatus_berechnen();
}
}
public function ANABREGSNeuberechnen($id,$art,$force=false)
{
if($id <= 0 || empty($art))