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 2024-10-12 00:29:39 +00:00
parent 8c91601827
commit 83ed6d73f1
2 changed files with 4 additions and 4 deletions

View File

@ -628,7 +628,7 @@ final class ApiController extends Controller
fileNames: $request->getDataList('filenames'),
files: $request->files,
account: $request->header->account,
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/ClientManagement/Clients/' . ($request->getData('client') ?? '0'),
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/ClientManagement/Clients/' . ($request->getData('ref') ?? '0'),
virtualPath: '/Modules/ClientManagement/Clients/' . ($request->getData('ref') ?? '0'),
pathSettings: PathSettings::FILE_PATH,
tag: $request->getDataInt('tag'),

View File

@ -1123,7 +1123,7 @@ echo $this->data['nav']->render();
</div>
</div>
<input type="radio" id="c-tab-10" name="tabular-2" checked>
<input type="radio" id="c-tab-10" name="tabular-2">
<div class="tab col-simple">
<?php $billElements = SalesBillMapper::getClientItem($client->id, SmartDateTime::startOfYear($this->data['business_start']), new SmartDateTime('now')); ?>
<div class="row">
@ -1292,13 +1292,13 @@ echo $this->data['nav']->render();
</div>
</div>
<input type="radio" id="c-tab-7" name="tabular-2" checked>
<input type="radio" id="c-tab-7" name="tabular-2">
<div class="tab col-simple">
<?= $this->data['note']->render('client-note', 'notes', $client->notes, '{/api}client/note?csrf={$CSRF}', (string) $client->id); ?>
</div>
<?php if (!empty($logs)) : ?>
<input type="radio" id="c-tab-17" name="tabular-2" checked>
<input type="radio" id="c-tab-17" name="tabular-2">
<div class="tab">
<div class="row">
<div class="col-xs-12">