From: marina Date: Tue, 27 Aug 2024 10:44:18 +0000 (+0300) Subject: ERP-85 Реализовать обмен данных с 1С Бухгалтерия X-Git-Tag: 1.4~22^2~5 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=13ed92c6635fe847e1ca63bb3e4db5cd0d9379e6;p=erp24_rep%2Fyii-erp24%2F.git ERP-85 Реализовать обмен данных с 1С Бухгалтерия --- diff --git a/erp24/migrations/m240719_063451_create_table_motivation.php b/erp24/migrations/m240719_063451_create_table_motivation.php index fa7c467e..67e23283 100755 --- a/erp24/migrations/m240719_063451_create_table_motivation.php +++ b/erp24/migrations/m240719_063451_create_table_motivation.php @@ -16,7 +16,6 @@ class m240719_063451_create_table_motivation extends Migration */ public function safeUp() { - return; $this->createTable(self::TABLE_NAME, [ 'id' => $this->primaryKey(), 'store_id' => $this->integer()->notNull()->comment('ID магазина'), diff --git a/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php b/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php index 8ce1ff17..9b1244bd 100644 --- a/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php +++ b/erp24/migrations/m240722_054604_create_motivation_costs_items_table.php @@ -12,7 +12,6 @@ class m240722_054604_create_motivation_costs_items_table extends Migration */ public function safeUp() { - return; $this->execute('SET search_path TO erp24'); // Создаем тип ENUM diff --git a/erp24/migrations/m240729_081512_create_table_incoming_item.php b/erp24/migrations/m240729_081512_create_table_incoming_item.php index f5a097e5..8f18ace4 100755 --- a/erp24/migrations/m240729_081512_create_table_incoming_item.php +++ b/erp24/migrations/m240729_081512_create_table_incoming_item.php @@ -14,7 +14,6 @@ class m240729_081512_create_table_incoming_item extends Migration */ public function safeUp() { - return; $this->createTable(self::TABLE_NAME, [ 'id' => $this->primaryKey(), 'incoming_id' => $this->string(36)->notNull()->comment('ID из таблицы incoming'), diff --git a/erp24/migrations/m240805_071431_create_api_cron_buh_table.php b/erp24/migrations/m240805_071431_create_api_cron_buh_table.php index 551d6eac..0bb353bd 100644 --- a/erp24/migrations/m240805_071431_create_api_cron_buh_table.php +++ b/erp24/migrations/m240805_071431_create_api_cron_buh_table.php @@ -12,7 +12,6 @@ class m240805_071431_create_api_cron_buh_table extends Migration */ public function safeUp() { - return; $this->createTable('{{%erp24.api_cron_buh}}', [ 'id' => $this->primaryKey(), 'date' => $this->dateTime()->notNull(), diff --git a/erp24/migrations/m240809_115844_insert_forecast_into_motivation_value_group.php b/erp24/migrations/m240809_115844_insert_forecast_into_motivation_value_group.php index 6127410a..9498eb1b 100755 --- a/erp24/migrations/m240809_115844_insert_forecast_into_motivation_value_group.php +++ b/erp24/migrations/m240809_115844_insert_forecast_into_motivation_value_group.php @@ -13,7 +13,6 @@ class m240809_115844_insert_forecast_into_motivation_value_group extends Migrati */ public function safeUp() { - return; $this->insert(self::TABLE_NAME, [ 'id' => 9, 'name' => 'Прогноз', diff --git a/erp24/migrations/m240815_081804_add_new_column_to_api_cron_buh.php b/erp24/migrations/m240815_081804_add_new_column_to_api_cron_buh.php index c0a71635..2ab67604 100644 --- a/erp24/migrations/m240815_081804_add_new_column_to_api_cron_buh.php +++ b/erp24/migrations/m240815_081804_add_new_column_to_api_cron_buh.php @@ -12,7 +12,6 @@ class m240815_081804_add_new_column_to_api_cron_buh extends Migration */ public function safeUp() { - return; $this->dropColumn('api_cron_buh', 'request_id'); $this->addColumn('api_cron_buh', 'request_id', $this->string(36)->unique()->comment('ID запроса')); $this->addColumn('api_cron_buh', 'inn', $this->bigInteger()->comment('ИНН')); diff --git a/erp24/migrations/m240820_150742_create_table_motivation_buh.php b/erp24/migrations/m240820_150742_create_table_motivation_buh.php index 42436e91..acde2699 100755 --- a/erp24/migrations/m240820_150742_create_table_motivation_buh.php +++ b/erp24/migrations/m240820_150742_create_table_motivation_buh.php @@ -15,7 +15,6 @@ class m240820_150742_create_table_motivation_buh extends Migration */ public function safeUp() { - return; $this->createTable(self::TABLE_NAME, [ 'id' => $this->primaryKey(), 'inn' => $this->integer()->notNull()->comment('ИНН фирмы источника данных'), diff --git a/erp24/migrations/m240821_114356_create_table_store_guid_buh.php b/erp24/migrations/m240821_114356_create_table_store_guid_buh.php index ea518842..96b06bf7 100755 --- a/erp24/migrations/m240821_114356_create_table_store_guid_buh.php +++ b/erp24/migrations/m240821_114356_create_table_store_guid_buh.php @@ -14,7 +14,6 @@ class m240821_114356_create_table_store_guid_buh extends Migration */ public function safeUp() { - return true; $this->createTable(self::TABLE_NAME, [ 'id' => $this->primaryKey(), 'store_id' => $this->integer()->notNull()->comment('store id'),