Skip to content

Commit

Permalink
Добавлены сущности для получения материалов и производимой продукции …
Browse files Browse the repository at this point in the history
…в технической карте
  • Loading branch information
made-22 committed May 29, 2020
1 parent afc4777 commit 8c0ae7b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/Entities/Documents/Processings/ProcessingPlanMaterial.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace MoySklad\Entities\Documents\Processings;


class ProcessingPlanMaterial extends AbstractProcessing {
public static $entityName = 'processingplanmaterial';
}
8 changes: 8 additions & 0 deletions src/Entities/Documents/Processings/ProcessingPlanProduct.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace MoySklad\Entities\Documents\Processings;


class ProcessingPlanProduct extends AbstractProcessing {
public static $entityName = 'processingplanresult';
}
6 changes: 5 additions & 1 deletion src/Registers/EntityRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
use MoySklad\Entities\Documents\PriceLists\PriceList;
use MoySklad\Entities\Documents\PriceLists\PriceListRow;
use MoySklad\Entities\Documents\Processings\ProcessingPlanFolder;
use MoySklad\Entities\Documents\Processings\ProcessingPlanMaterial;
use MoySklad\Entities\Documents\Processings\ProcessingPlanProduct;
use MoySklad\Entities\Documents\Templates\CustomTemplate;
use MoySklad\Entities\Products\Components\AbstractComponent;
use MoySklad\Entities\Products\Components\BundleComponent;
Expand Down Expand Up @@ -175,7 +177,9 @@ class EntityRegistry extends AbstractSingleton{
PriceList::class,
PriceListRow::class,
Audit::class,
AuditEvent::class
AuditEvent::class,
ProcessingPlanMaterial::class,
ProcessingPlanProduct::class,
];
public $entityNames = [];

Expand Down

0 comments on commit 8c0ae7b

Please sign in to comment.