From 4a899cd856425563175256b67d39e59f44a19ca9 Mon Sep 17 00:00:00 2001 From: aspangaro <alexandre.spangaro@gmail.com> Date: Wed, 15 Jul 2015 19:13:23 +0200 Subject: [PATCH] Typo --- htdocs/compta/tva/quarter_report.php | 19 +++++++++---------- htdocs/core/ajax/bankconciliate.php | 4 ++-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/htdocs/compta/tva/quarter_report.php b/htdocs/compta/tva/quarter_report.php index 5861dcdaff4..09a6622147e 100644 --- a/htdocs/compta/tva/quarter_report.php +++ b/htdocs/compta/tva/quarter_report.php @@ -1,9 +1,9 @@ <?php -/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> - * Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net> - * Copyright (C) 2006-2007, 2015 Yannick Warnier <ywarnier@beeznest.org> - * Copyright (C) 2014 Ferran Marcet <fmarcet@2byte.es> +/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> + * Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2006-2007, 2015 Yannick Warnier <ywarnier@beeznest.org> + * Copyright (C) 2014 Ferran Marcet <fmarcet@2byte.es> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -252,7 +252,7 @@ $vatsup=$langs->trans("VATPaid"); // VAT Received and paid -echo '<table class="noborder" width="100%">'; +print '<table class="noborder" width="100%">'; $y = $year_current; $total = 0; @@ -538,8 +538,7 @@ if (!is_array($x_coll) || !is_array($x_paye)) { // Blank line print '<tr><td colspan="'.($span+1).'"> </td></tr>'; - //print table headers for this quadri - expenses now - //imprime les en-tete de tables pour ce quadri - maintenant les d�penses + // Print table headers for this quadri - expenses now print '<tr class="liste_titre">'; print '<td align="left">'.$elementsup.'</td>'; print '<td align="left">'.$langs->trans("Date").'</td>'; @@ -680,7 +679,7 @@ if (!is_array($x_coll) || !is_array($x_paye)) { print '</tr>'; } - if (count($x_paye) == 0) { // Show a total ine if nothing shown + if (count($x_paye) == 0) { // Show a total line if nothing shown print '<tr class="liste_total">'; print '<td colspan="'.$span.'"></td>'; print '<td align="right">'.$langs->trans("Total").':</td>'; @@ -706,7 +705,7 @@ if (!is_array($x_coll) || !is_array($x_paye)) { $i++; } -echo '</table>'; +print '</table>'; $db->close(); diff --git a/htdocs/core/ajax/bankconciliate.php b/htdocs/core/ajax/bankconciliate.php index 855709f48e2..826e6fe9ba4 100644 --- a/htdocs/core/ajax/bankconciliate.php +++ b/htdocs/core/ajax/bankconciliate.php @@ -25,7 +25,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU','1'); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); -//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Required to knwo date format for dol_print_date +//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Required to know date format for dol_print_date require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; @@ -50,7 +50,7 @@ top_httphead(); if (($user->rights->banque->modifier || $user->rights->banque->consolidate) && $action == 'dvnext') { // Increase date - $al =new AccountLine($db); + $al = new AccountLine($db); $al->datev_next($_GET["rowid"]); $al->fetch($_GET["rowid"]); -- GitLab