Skip to content

Commit

Permalink
Fix missing $form
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 22, 2017
1 parent 4a310f3 commit 9be342b
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 9 deletions.
4 changes: 2 additions & 2 deletions htdocs/accountancy/admin/fiscalyear_card.php
Expand Up @@ -145,12 +145,12 @@
* View
*/

$form = new Form($db);

$title = $langs->trans("Fiscalyear") . " - " . $langs->trans("Card");
$helpurl = "";
llxHeader("",$title,$helpurl);

$form = new Form($db);

if ($action == 'create')
{
print load_fiche_titre($langs->trans("NewFiscalYear"));
Expand Down
2 changes: 2 additions & 0 deletions htdocs/compta/facture/info.php
Expand Up @@ -39,6 +39,8 @@
* View
*/

$form = new Form($db);

$title = $langs->trans('InvoiceCustomer') . " - " . $langs->trans('Info');
$helpurl = "EN:Customers_Invoices|FR:Factures_Clients|ES:Facturas_a_clientes";
llxHeader('', $title, $helpurl);
Expand Down
2 changes: 2 additions & 0 deletions htdocs/compta/sociales/info.php
Expand Up @@ -60,6 +60,8 @@
* View
*/

$form = new Form($db);

if (! empty($conf->projet->enabled)) { $formproject = new FormProjets($db); }

$title = $langs->trans("SocialContribution") . ' - ' . $langs->trans("Info");
Expand Down
6 changes: 4 additions & 2 deletions htdocs/contrat/info.php
Expand Up @@ -39,8 +39,10 @@


/*
* View
*/
* View
*/

$form = new Form($db);

llxHeader('',$langs->trans("Contract"),"");

Expand Down
2 changes: 2 additions & 0 deletions htdocs/fichinter/info.php
Expand Up @@ -52,6 +52,8 @@
* View
*/

$form = new Form($db);

llxHeader('',$langs->trans("Intervention"));

$object->fetch_thirdparty();
Expand Down
2 changes: 2 additions & 0 deletions htdocs/fourn/facture/info.php
Expand Up @@ -46,6 +46,8 @@
* View
*/

$form = new Form($db);

$title = $langs->trans('SupplierInvoice') . " - " . $langs->trans('Info');
$helpurl = "EN:Module_Suppliers_Invoices|FR:Module_Fournisseurs_Factures|ES:Módulo_Facturas_de_proveedores";
llxHeader('', $title, $helpurl);
Expand Down
2 changes: 2 additions & 0 deletions htdocs/loan/info.php
Expand Up @@ -43,6 +43,8 @@
* View
*/

$form = new Form($db);

$title = $langs->trans("Loan") . ' - ' . $langs->trans("Info");
$help_url = 'EN:Module_Loan|FR:Module_Emprunt';
llxHeader("",$title,$help_url);
Expand Down
12 changes: 7 additions & 5 deletions htdocs/supplier_proposal/info.php
Expand Up @@ -43,6 +43,8 @@
* View
*/

$form = new Form($db);

llxHeader('',$langs->trans('CommRequest'),'EN:Ask_Price_Supplier|FR:Demande_de_prix_fournisseur');

$object = new SupplierProposal($db);
Expand All @@ -57,8 +59,8 @@

// Supplier proposal card
$linkback = '<a href="' . DOL_URL_ROOT . '/supplier_proposal/list.php' . (! empty($socid) ? '?socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';


$morehtmlref='<div class="refidno">';
// Ref supplier
//$morehtmlref.=$form->editfieldkey("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, $user->rights->fournisseur->commande->creer, 'string', '', 0, 1);
Expand Down Expand Up @@ -99,11 +101,11 @@
}
}
$morehtmlref.='</div>';


dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);


print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';

Expand Down

0 comments on commit 9be342b

Please sign in to comment.