many bug fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2025-03-11 03:09:20 +00:00
parent cfd11cec45
commit 0647f6da2b

View File

@ -181,7 +181,7 @@ final class ApiPurchaseController extends Controller
$mediaRequest->setData('media', \json_encode($file));
}
$mediaRequest->setData('bill', $bill->id);
$mediaRequest->setData('ref', $bill->id);
$mediaRequest->setData('tag', $tag->id);
$mediaRequest->setData('parse_content', true, true);
$this->app->moduleManager->get('Billing', 'ApiBill')->apiMediaAddToBill($mediaRequest, $mediaResponse, $data);