Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilte Leichnam committed Nov 2, 2017
1 parent d17ef8d commit de3a3f2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
20 changes: 1 addition & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,4 @@

Поддерживаемые версии: 6.0.

## Установка

Скачать [архив](https://github.com/Komtet/komtet-kassa-diafan/releases).

Содержимое директории `src` распаковать в директорию, где расположен ваш сайт.

В `modules/shop/inc/shop.inc.order.php` в методе `set_status($order, $status)` после строки:
```php
DB::query("UPDATE {shop_order} SET `status`='%d', status_id=%d, count_minus='%d' WHERE id=%d", $status["status"], $status["id"], $count_minus, $order["id"]);
```

добавить:

```php
$this->diafan->_komtetkassa->print_check($order['id']);
```

В админке включить модуль "КОМТЕТ Касса", после чего в левом меню появится пункт "КОМТЕТ Касса".
Перейти к настройкам модуля и заполнить необходимые поля.
[Инструкция по установке](./docs/install.md)
Binary file added docs/images/01-add-theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/02-modules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/03-kassa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/04-kassa-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Установка

Скачать [архив](https://github.com/Komtet/komtet-kassa-diafan/releases).

В разделе "Темы и дизайн" добавить новую тему:

![add-theme](./images/01-add-theme.png)

В разделе "Модули и БД" установить модуль:

![modules](./images/02-modules.png)

Перейти к настройкам модуля:

![kassa](./images/03-kassa.png)

И заполнить необходимые поля:

![kassa-settings](./images/04-kassa-settings.png)

0 comments on commit de3a3f2

Please sign in to comment.