Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 12, 2024
1 parent 6dc2cbe commit 558ab1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function apiFileCreate(RequestAbstract $request, ResponseAbstract $respon
fileNames: $request->getDataList('filenames'),
files: $request->files,
account: $request->header->account,
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/SupplierManagement/Suppliers/' . ($request->getData('supplier') ?? '0'),
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/SupplierManagement/Suppliers/' . ($request->getData('ref') ?? '0'),
virtualPath: '/Modules/SupplierManagement/Suppliers/' . ($request->getData('ref') ?? '0'),
pathSettings: PathSettings::FILE_PATH,
tag: $request->getDataInt('tag'),
Expand Down
6 changes: 3 additions & 3 deletions Theme/Backend/supplier-view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@
</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 = PurchaseBillMapper::getSupplierItem($supplier->id, SmartDateTime::startOfYear($this->data['business_start']), new SmartDateTime('now')); ?>
<div class="row">
Expand Down Expand Up @@ -1134,13 +1134,13 @@
</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('supplier-note', 'notes', $supplier->notes, '{/api}supplier/note?csrf={$CSRF}', (string) $supplier->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">
Expand Down

0 comments on commit 558ab1f

Please sign in to comment.