Skip to content
Snippets Groups Projects
Commit 2fb72e72 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Enhancement in ecm module

parent e40543db
No related branches found
No related tags found
No related merge requests found
Showing
with 666 additions and 665 deletions
......@@ -25,6 +25,7 @@
require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
require_once(DOL_DOCUMENT_ROOT."/html.formproduct.class.php");
if (!$user->admin)
accessforbidden();
......@@ -49,6 +50,7 @@ if ($_POST["action"] == 'set')
*/
$form=new Form($db);
$formproduct=new FormProduct($db);
llxHeader();
......@@ -85,9 +87,8 @@ if ($conf->global->MAIN_MODULE_STOCK)
{
$var=!$var;
print '<tr '.$bc[$var].'><td>'.$langs->trans("CashDeskIdWareHouse").'</td>';
print '<td colspan="2"><select class="flat" name="level">';
//$conf->global->CASHDESK_ID_WAREHOUSE
print '</select>';
print '<td colspan="2">';
$formproduct->selectWarehouses($conf->global->CASHDESK_ID_WAREHOUSE,'CASHDESK_ID_WAREHOUSE');
print '</td></tr>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment