some fixes

This commit is contained in:
2025-07-10 08:04:15 +00:00
parent 34fe281e2c
commit e37b4dd963
14 changed files with 121 additions and 93 deletions

View File

@@ -202,7 +202,7 @@ function createCostDocumentFromInvoice($record)
$doc->doc_symbol = $inv->document_no;
$doc->revision = 1;
$doc->category_id = 'revision_note';
$doc->category_id = 'invoice';
$doc->status = '2';
$doc->transaction_type = '1';
$doc->document_type = 'k';