1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-31 18:17:28 +01:00

Fix messaggi infos, warnings, errors non visibili in controller

This commit is contained in:
Luca 2018-03-22 23:21:22 +01:00
parent da21993917
commit cfc6ed976a
2 changed files with 6 additions and 4 deletions

View File

@ -55,6 +55,8 @@ echo '
</body> </body>
</html>'; </html>';
unset($_SESSION['infos']); if ($id_record OR basename($_SERVER["PHP_SELF"])=='controller.php'){
unset($_SESSION['errors']); unset($_SESSION['infos']);
unset($_SESSION['warnings']); unset($_SESSION['errors']);
unset($_SESSION['warnings']);
}

View File

@ -18,7 +18,7 @@ include_once __DIR__.'/../../core.php';
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
{[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "value": "", "icon-after": "<i class=\"fa fa-usd\"></i>" ]} {[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "value": "", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
</div> </div>
</div> </div>