Guest User

Untitled

a guest
Apr 30th, 2020
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.0.10.0
  8. * @ Author : DeZender
  9. * @ Release on : 09.04.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class ModelToolNeoSeoExchange1c extends NeoSeoModel
  15. {
  16. public function addOrderTo1C($order_id)
  17. {
  18. $order = $this->checkOrderTo1C($order_id);
  19.  
  20. if ($order) {
  21. return false;
  22. }
  23.  
  24. $this->db->query('INSERT INTO ' . DB_PREFIX . 'order_to_1c (`order_id`) VALUES (' . (integer) $order_id . ')');
  25. return true;
  26. }
  27.  
  28. public function deleteOrderTo1C($order_id)
  29. {
  30. $this->db->query('DELETE FROM ' . DB_PREFIX . 'order_to_1c WHERE `order_id` = \'' . (integer) $order_id . '\'');
  31. return true;
  32. }
  33.  
  34. public function setAutoTagOrder($order_id, $order_status_id)
  35. {
  36. $set_auto_tag_order = $this->config->get($this->_moduleSysName . '_set_auto_tag_order');
  37. .....................................................................
  38. ..............................................
  39. .....................
Add Comment
Please, Sign In to add comment