From: marina Date: Mon, 26 Aug 2024 12:57:42 +0000 (+0300) Subject: ERP-85 Реализовать обмен данных с 1С Бухгалтерия X-Git-Tag: 1.4~22^2~14 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=977dc671f8754d991c486220d9402cbff50f0f39;p=erp24_rep%2Fyii-erp24%2F.git ERP-85 Реализовать обмен данных с 1С Бухгалтерия --- diff --git a/erp24/services/MotivationServiceBuh.php b/erp24/services/MotivationServiceBuh.php index b10a5349..3bc463aa 100644 --- a/erp24/services/MotivationServiceBuh.php +++ b/erp24/services/MotivationServiceBuh.php @@ -25,7 +25,7 @@ class MotivationServiceBuh $end = $data['end_time']; $year = date('Y', strtotime($end)); $month = date('m', strtotime($end)); - $inn = preg_replace('/^.*_/', '', $data['request_id']); + $inn = $data['inn']; $week = null; $validate = self::validateWeek($start, $end);