autofixes

This commit is contained in:
Dennis Eichhorn 2023-08-30 12:08:09 +00:00
parent 32a350f16f
commit ffc388e0e0
2 changed files with 1 additions and 2 deletions

View File

@ -446,7 +446,6 @@ final class ApiAttributeController extends Controller
public function apiClientAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
{
return;
// @todo: I don't think values can be deleted? Only Attributes
// However, It should be possible to remove UNUSED default values
// either here or other function?

View File

@ -101,7 +101,7 @@ echo $this->data['nav']->render(); ?>
</label>
<tbody>
<?php $count = 0; foreach ($clients as $key => $value) : ++$count;
$url = UriFactory::build('{/base}/sales/client/profile?{?}&id=' . $value->id);
$url = UriFactory::build('{/base}/sales/client/profile?{?}&id=' . $value->id);
?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a>