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

Fix: Bad syntax of class name

parent 60ad09db
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,9 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
/**
* \class Localtax
* \brief Put here description of your class
* Class to manage local tax
*/
class localtax extends CommonObject
class Localtax extends CommonObject
{
var $id;
var $ref;
......
......@@ -40,13 +40,13 @@ $result = restrictedArea($user, 'tax', '', '', 'charges');
/*
* Actions
* Actions
*/
//add payment of localtax
if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
{
$localtax = new localtax($db);
$localtax = new Localtax($db);
$db->begin();
......@@ -78,7 +78,7 @@ if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
//delete payment of localtax
if ($_GET["action"] == 'delete')
{
$localtax = new localtax($db);
$localtax = new Localtax($db);
$result=$localtax->fetch($_GET['id']);
if ($localtax->rappro == 0)
......@@ -131,7 +131,7 @@ $form = new Form($db);
if ($id)
{
$vatpayment = new localtax($db);
$vatpayment = new Localtax($db);
$result = $vatpayment->fetch($id);
if ($result <= 0)
{
......
......@@ -38,7 +38,7 @@ $result = restrictedArea($user, 'tax', '', '', 'charges');
llxHeader();
$localtax_static = new localtax($db);
$localtax_static = new Localtax($db);
print_fiche_titre($langs->transcountry("LT2Payments",$mysoc->country_code));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment