vtenext/modules/SDK/examples/Ddt/PreSaveDdt.php
2021-04-28 20:10:26 +02:00

15 lines
423 B
PHP

<?php
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
if ($type == 'MassEditSave') {
$status = true;
$message = '';
} else {
if (in_array($values['salesorderid'],array('',0))) {
$confirm = true;
$message = 'Ordine di Vendita è vuoto! Vuoi procedere comunque?';
}
}
?>