Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Severonik

Newbie
  
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Severonik's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. У меня формируются счет(картинка 1) При печати сразу, все норм, таблица полностью помещается на страницу(картинка 2) Но при выгрузке в Эксель и после попытки печати, пол таблицы отрезается и переходит на вторую страницу(картинка 3),решения проблемы не нашел. (горизонтальный лист не подходит)
  2. описание в файле Документ Microsoft Office Word.docx
  3. Пытаюсь написать свой модуль. Создаю свою модель в папке catalog\model\pricelist\tovar.php, контроллер в папке catalog\controller\pricelist\tovar.php и view в папке catalog\view\theme\default\template\pricelist\tovar.twig <?php class Modeltovartovar extends Model { public function getTovar() { $query = $this->db->query("SELECT c.*, d.*, p.*, cc.* FROM " . DB_PREFIX . "product_to_category c," . DB_PREFIX . "category_description cc" . DB_PREFIX . "product_description d," . DB_PREFIX . "product p WHERE c.product_id=d.product_id=p.product_id AND c.category_id=cc.category_id"); return $query->rows; } } <?php class Controllertovartovar extends Controller { public function tovarik() { $this->load->model('tovar/tovar'); $test = $this->model_tovar_tovar->getTovar(); $data['test'] = $test; } } Не могу понять передачу переменных в view и как отобразить страницу на сайте.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.