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

Fix: Missing translation and missing comments

parent 97e6accc
Branches
Tags
No related merge requests found
...@@ -29,8 +29,9 @@ require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php'; ...@@ -29,8 +29,9 @@ require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
$langs->load("other"); $langs->load("other");
$langs->load("compta");
$year=$_GET["year"]; $year=GETPOST("year","int");
if ($year == 0) if ($year == 0)
{ {
$year_current = strftime("%Y",time()); $year_current = strftime("%Y",time());
...@@ -51,7 +52,14 @@ $modetax = $conf->global->TAX_MODE; ...@@ -51,7 +52,14 @@ $modetax = $conf->global->TAX_MODE;
if (isset($_GET["modetax"])) $modetax=$_GET["modetax"]; if (isset($_GET["modetax"])) $modetax=$_GET["modetax"];
/**
* pt
*
* @param DoliDB $db Database handler
* @param string $sql SQL Request
* @param date $date Date
* @return void
*/
function pt ($db, $sql, $date) function pt ($db, $sql, $date)
{ {
global $conf, $bc,$langs; global $conf, $bc,$langs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment