3namespace Bitrix\Catalog\Controller;
5use Bitrix\Catalog\Access\ActionDictionary;
6use Bitrix\Catalog\VatTable;
39 $this->addError(
new Error(
'Error adding VAT'));
55 $existsResult = $this->
exists($id);
56 if (!$existsResult->isSuccess())
58 $this->addErrors($existsResult->getErrors());
66 $this->addError(
new Error(
'Error updating VAT'));
80 $existsResult = $this->
exists($id);
81 if (!$existsResult->isSuccess())
83 $this->addErrors($existsResult->getErrors());
91 $this->addError(
new Error(
'Error deleting VAT'));
132 if (!$this->accessController->check(ActionDictionary::ACTION_VAT_EDIT))
148 !$this->accessController->check(ActionDictionary::ACTION_CATALOG_READ)
149 && !$this->accessController->check(ActionDictionary::ACTION_VAT_EDIT)
getErrorModifyAccessDenied()
getErrorReadAccessDenied()
const VAT_ENTITY_NOT_EXISTS
checkModifyPermissionEntity()
checkReadPermissionEntity()
getErrorCodeEntityNotExists()
updateAction(int $id, array $fields)
static Update($id, $fields)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)