Make current inventory quantity non-clickable
This commit is contained in:
1 parent
4e477d9034
commit
48f8cc6890
1 file changed
+4
-1
@@ -282,7 +282,10 @@ function auth_render_lager_table(string $title, array $rows, array $columns, str
|
||||
|
||||
$html[] = '<div class="' . $rowClass . '" role="row" data-component-part="large-table-row" data-lager-row="true" data-lager-id="' . $id . '">';
|
||||
$html[] = '<div class="sg-large-table__cell" role="cell"><a class="sg-hyperlink" href="#" aria-haspopup="dialog" aria-expanded="false" data-lager-drawer-open="true"' . $nameData . $valueData . $typeData . $detailData . '>' . auth_escape_html($name) . '</a></div>';
|
||||
$html[] = '<div class="sg-large-table__cell" role="cell"><a class="sg-hyperlink" href="#" aria-haspopup="dialog" aria-expanded="false" data-lager-drawer-open="true"' . $nameData . $valueData . $typeData . $detailData . '>' . auth_escape_html($value) . '</a></div>';
|
||||
$valueCell = $tableKey === 'products'
|
||||
? '<div class="sg-large-table__cell" role="cell">' . auth_escape_html($value) . '</div>'
|
||||
: '<div class="sg-large-table__cell" role="cell"><a class="sg-hyperlink" href="#" aria-haspopup="dialog" aria-expanded="false" data-lager-drawer-open="true"' . $nameData . $valueData . $typeData . $detailData . '>' . auth_escape_html($value) . '</a></div>';
|
||||
$html[] = $valueCell;
|
||||
if ($tableKey === 'products') {
|
||||
$forecastClass = $currentForecast['warning']
|
||||
? ' sg-strong lager-forecast-warning'
|
||||
|
||||
Reference in new issue
Block a user