| | |
| | | * End Form configuration |
| | | ******************************************/ |
| | | |
| | | // Checking module permissions |
| | | if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) { |
| | | header("Location: ../index.php"); |
| | | exit; |
| | | } |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('client'); |
| | | |
| | | $app->uses('listform_actions'); |
| | | |
| | | $app->listform_actions->SQLOrderBy = 'ORDER BY company_name, contact_name, client_id'; |
| | | $app->listform_actions->SQLExtWhere = "limit_client = 0"; |
| | | $app->listform_actions->onLoad(); |
| | | |
| | | |