Commit 3cdeda294894c955567881b70665bebf027a0a19
1 parent
644ed08e
add local config
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/DealerController.php
| ... | ... | @@ -1674,9 +1674,12 @@ class DealerController extends \controllers\ControllerBase |
| 1674 | 1674 | |
| 1675 | 1675 | private function getGroups($items) { |
| 1676 | 1676 | $groups = []; |
| 1677 | - | |
| 1677 | + print_r($items); | |
| 1678 | + die(); | |
| 1678 | 1679 | foreach($items as $i) { |
| 1679 | - | |
| 1680 | + print_r($i['subtype_alias']); | |
| 1681 | + print_r($this->models->getItems()->getTitleByAlias($this->lang_id, $i['subtype_alias'])); | |
| 1682 | + die(); | |
| 1680 | 1683 | $title = $this->models->getItems()->getTitleByAlias($this->lang_id, $i['subtype_alias'])[0]; |
| 1681 | 1684 | $hasMatch = false; |
| 1682 | 1685 | foreach($groups as $k => $g) { | ... | ... |
src/app/frontend/views/dealer/onlineOrderHistory.php
| ... | ... | @@ -19,6 +19,9 @@ |
| 19 | 19 | </td> |
| 20 | 20 | <td align="center" id="right_border"><?= $o['created_date'] ?></td> |
| 21 | 21 | <td align="center" class="status_price"><span id="price_sum"><?= $o['price'] ?></span> грн.</td> |
| 22 | +<!-- <td id="greytd" align="center">--> | |
| 23 | +<!-- <iframe style="border: 0" width="20px" height="20px" src="--><?//= $this->seoUrl->setUrl($this->url->get([ 'for' => 'print_order' ]).$o['id']) ?><!--"></iframe>--> | |
| 24 | +<!-- </td>--> | |
| 22 | 25 | </tr> |
| 23 | 26 | <?php endforeach; ?> |
| 24 | 27 | </table> | ... | ... |