From e59fb97fad6cb35832d92f272483fcd60fa8f13e Mon Sep 17 00:00:00 2001 From: marina Date: Fri, 13 Dec 2024 13:23:33 +0300 Subject: [PATCH] =?utf8?q?ERP-259=20=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?utf8?q?=D1=82=D0=BA=D0=B0=20=D0=B2=D1=82=D0=BE=D1=80=D0=BE=D0=B3=D0=BE?= =?utf8?q?=20=D1=88=D0=B0=D0=B3=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4?= =?utf8?q?=D0=B0=D1=87=D0=B8=20=D1=81=D0=BC=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/WaybillIncoming.php | 2 +- erp24/records/WaybillWriteOffs.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/records/WaybillIncoming.php b/erp24/records/WaybillIncoming.php index 3ce7eefb..ee4fed1a 100644 --- a/erp24/records/WaybillIncoming.php +++ b/erp24/records/WaybillIncoming.php @@ -130,7 +130,7 @@ class WaybillIncoming extends \yii\db\ActiveRecord $model->save(); $model->updateAttributes([ - 'number' => 'ЕРП_ПС_' . date("Y-m-d_H-i") . '_' . $model->id + 'number' => 'ЕРП_ПН_' . date("Y-m-d_H-i") . '_' . $model->id ]); WaybillIncomingProducts::setData($model, $shiftTransfer); diff --git a/erp24/records/WaybillWriteOffs.php b/erp24/records/WaybillWriteOffs.php index 9b7a4f3b..aca0b304 100644 --- a/erp24/records/WaybillWriteOffs.php +++ b/erp24/records/WaybillWriteOffs.php @@ -129,7 +129,7 @@ class WaybillWriteOffs extends \yii\db\ActiveRecord $model->save(); $model->updateAttributes([ - 'number' => 'ЕРП_ПС_' . date("Y-m-d_H-i") . '_' . $model->id + 'number' => 'ЕРП_НС_' . date("Y-m-d_H-i") . '_' . $model->id ]); WaybillWriteOffsProducts::setData($model, $shiftTransfer); -- 2.39.5