]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-265] кнопка обновления текущего дня 2
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 20 Dec 2024 18:06:45 +0000 (21:06 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 20 Dec 2024 18:06:45 +0000 (21:06 +0300)
erp24/modul/orders/delivery.php

index 1a15eec0b06cb4a17ac0aecc5d08db6a980a1812..202a1e73a6ccbbfa98e685a414a2c0ac4592ab9b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 $action = $_GET['action'] ?? null;
-if ($action) {
+if ($action && $action == 'amoUpdateToday') {
     $host = '';
     if (str_contains($_SERVER['HTTP_HOST'], 'localhost')) {
         $host = 'http://localhost:4444';