vtenext/modules/Employees/EditView.php
2021-04-28 20:10:26 +02:00

19 lines
532 B
PHP

<?php
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
require_once 'modules/VteCore/EditView.php'; //crmv@30447
// crmv@64542
global $currentModule;
$templates = array(
'inventory' => 'Inventory/InventoryEditView.tpl',
'standard' => 'salesEditView.tpl',
);
$templateMode = isInventoryModule($currentModule) ? 'inventory' : 'standard';
$smarty->display($templates[$templateMode]);