@@ -252,10 +252,10 @@ discard block |
||
252 | 252 | private function prepareItemlist($aItemlist) |
253 | 253 | { |
254 | 254 | $aList = [ |
255 | - ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon',], |
|
256 | - ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false,], |
|
257 | - ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false,], |
|
258 | - ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'],], |
|
255 | + ['title' => HardcodedText::get('itemadmin_list_active'), 'key' => 'itemindex', 'width' => 30, 'linked' => false, 'callback' => 'renderItemStatusIcon', ], |
|
256 | + ['title' => HardcodedText::get('itemadmin_list_itemno'), 'key' => 'itemno', 'width' => 100, 'linked' => false, ], |
|
257 | + ['title' => HardcodedText::get('itemadmin_list_name'), 'key' => 'name', 'width' => 350, 'linked' => false, ], |
|
258 | + ['title' => HardcodedText::get('itemadmin_list_edit'), 'key' => 'itemno', 'width' => 30, 'linked' => true, 'ltarget' => '/_admin/itemadmin.html', 'lkeyname' => 'itemno', 'lgetvars' => ['action' => 'showitem'], ], |
|
259 | 259 | ]; |
260 | 260 | $aData = []; |
261 | 261 | foreach ($aItemlist['data'] as $aValue) { |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | private function prepareItem($aItemdata) |
321 | 321 | { |
322 | 322 | $aData = [ |
323 | - 'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata['base']['itm_no']]),], |
|
323 | + 'form' => ['action' => Tools::makeLinkHRefWithAddedGetVars('/_admin/itemadmin.html', ['action' => 'showitem', 'itemno' => $aItemdata['base']['itm_no']]), ], |
|
324 | 324 | 'id' => $aItemdata['base']['itm_id'], |
325 | 325 | 'itemno' => $aItemdata['base']['itm_no'], |
326 | 326 | 'name' => $aItemdata['base']['itm_name'], |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | $aGroups = $this->getItemgroups(''); |
352 | 352 | $aData['groupoptions'][] = ''; |
353 | 353 | foreach ($aGroups as $aValue) { |
354 | - $aData['groupoptions'][] = $aValue['itmg_id'] . '|' . $aValue['itmg_no'] . ' - ' . $aValue['itmg_name']; |
|
354 | + $aData['groupoptions'][] = $aValue['itmg_id'].'|'.$aValue['itmg_no'].' - '.$aValue['itmg_name']; |
|
355 | 355 | } |
356 | 356 | unset($aGroups); |
357 | 357 |