diff --git a/include/document-rounding.php b/include/document-rounding.php new file mode 100644 index 000000000..51a0525cf --- /dev/null +++ b/include/document-rounding.php @@ -0,0 +1,244 @@ + '.tr('Arrotondamento non disponibile.').''; + return; +} + +$document = null; +$isInvoice = false; +$blockedReasons = []; +$vatLocked = false; +$accountId = null; + +switch ((string) $module->directory) { + case 'preventivi': + $document = Preventivo::find($id_record); + if (!$document || !empty($document->stato->is_bloccato)) { + echo '