Fix: Missing form init
This commit is contained in:
parent
76330ad04a
commit
0b0c9326b9
@ -25,6 +25,15 @@
|
|||||||
* \brief Include to show main page for cashdesk module
|
* \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)
|
// Get list of articles (in warehouse '$conf_fkentrepot' if defined and stock module enabled)
|
||||||
if ( GETPOST('filtre') ) {
|
if ( GETPOST('filtre') ) {
|
||||||
|
|
||||||
|
|||||||
@ -22,6 +22,8 @@ $langs->load("main");
|
|||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
$langs->load("cashdesk");
|
$langs->load("cashdesk");
|
||||||
|
|
||||||
|
// Object $form must de defined
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript" src="javascript/facturation1.js"></script>
|
<script type="text/javascript" src="javascript/facturation1.js"></script>
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
|
|
||||||
|
// Object $form must de defined
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<fieldset class="cadre_facturation"><legend class="titre1"><?php echo $langs->trans("Summary"); ?></legend>
|
<fieldset class="cadre_facturation"><legend class="titre1"><?php echo $langs->trans("Summary"); ?></legend>
|
||||||
|
|||||||
@ -21,6 +21,8 @@
|
|||||||
* \brief validation.php
|
* \brief validation.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$form=new Form($db);
|
||||||
|
|
||||||
// Affichage des templates
|
// Affichage des templates
|
||||||
require ('tpl/validation1.tpl.php');
|
require ('tpl/validation1.tpl.php');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user