Fix: Missing form init

This commit is contained in:
Laurent Destailleur 2014-05-11 18:55:18 +02:00
parent 76330ad04a
commit 0b0c9326b9
4 changed files with 15 additions and 0 deletions

View File

@ -25,6 +25,15 @@
* \brief Include to show main page for cashdesk module
*/
/*
* View
*/
$form=new Form($db);
// Get list of articles (in warehouse '$conf_fkentrepot' if defined and stock module enabled)
if ( GETPOST('filtre') ) {

View File

@ -22,6 +22,8 @@ $langs->load("main");
$langs->load("bills");
$langs->load("cashdesk");
// Object $form must de defined
?>
<script type="text/javascript" src="javascript/facturation1.js"></script>

View File

@ -18,6 +18,8 @@
$langs->load("main");
// Object $form must de defined
?>
<fieldset class="cadre_facturation"><legend class="titre1"><?php echo $langs->trans("Summary"); ?></legend>

View File

@ -21,6 +21,8 @@
* \brief validation.php
*/
$form=new Form($db);
// Affichage des templates
require ('tpl/validation1.tpl.php');