From: marina Date: Thu, 19 Dec 2024 07:42:58 +0000 (+0300) Subject: ERP-256 Сделать отправку документов Пересортица в 1с X-Git-Tag: 1.7~137^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=2644f247b56fbe7b4da9f7045a73ec7a455a9785;p=erp24_rep%2Fyii-erp24%2F.git ERP-256 Сделать отправку документов Пересортица в 1с --- diff --git a/erp24/records/ReplacementInvoice.php b/erp24/records/ReplacementInvoice.php index 6db5c212..7b5629fe 100644 --- a/erp24/records/ReplacementInvoice.php +++ b/erp24/records/ReplacementInvoice.php @@ -67,9 +67,10 @@ class ReplacementInvoice extends \yii\db\ActiveRecord return [ [['guid', 'created_admin_id', 'store_id', 'store_guid', 'date', 'created_at'], 'required'], [['status', 'created_admin_id', 'updated_admin_id', 'confirm_admin_id', 'store_id'], 'default', 'value' => null], - [['status', 'created_admin_id', 'updated_admin_id', 'confirm_admin_id', 'store_id', 'quantity', 'summ', 'summ_self_cost', 'shift_transfer_id'], 'integer'], + [['status', 'created_admin_id', 'updated_admin_id', 'confirm_admin_id', 'store_id','shift_transfer_id'], 'integer'], [['date', 'created_at', 'updated_at', 'send_at'], 'safe'], [['comment'], 'string'], + [['summ', 'summ_self_cost', 'quantity'], 'number'], [['guid', 'store_guid', 'number', 'number_1c'], 'string', 'max' => 100], [['guid'], 'unique'], ];