diff --git a/htdocs/MCCImport/index.php b/htdocs/MCCImport/index.php
deleted file mode 100644
index 043126b1c19..00000000000
--- a/htdocs/MCCImport/index.php
+++ /dev/null
@@ -1,369 +0,0 @@
-
- * Copyright (C) ---Put here your own copyright and developer email---
- *
- * 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
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-/**
- * \file dev/skeletons/skeleton_page.php
- * \ingroup mymodule othermodule1 othermodule2
- * \brief This file is an example of a php page
- * \version $Id$
- * \author Put author name here
- * \remarks Put here some comments
- */
-require("./pre.inc.php");
-//require_once(DOL_DOCUMENT_ROOT."/../dev/skeletons/skeleton_class.class.php");
-
-require_once(DOL_DOCUMENT_ROOT."/compta/bank/account.class.php");
-
-// Load traductions files requiredby by page
-$langs->load("companies");
-$langs->load("bills");
-$langs->load("other");
-
-// Get parameters
-$myparam = isset($_GET["myparam"])?$_GET["myparam"]:'';
-
-// Protection if external user
-if ($user->societe_id > 0)
-{
- accessforbidden();
-}
-
-
-
-/*******************************************************************
-* ACTIONS
-*
-* Put here all code to do according to value of "action" parameter
-********************************************************************/
-
-llxHeader('','','');
-
-if ($_REQUEST["action"] == 'import')
-{
-
- $account = $_REQUEST['account'];
-
- if (isset($_REQUEST[separatorTAB])){
- $delimiter = "\t";
- } else if (isset($_REQUEST[separator]) && trim($_REQUEST[separator]) != ""){
- $delimiter = trim($_REQUEST[separator]);
- } else{
- print ('DEBE ELEGIR EL DELIMITADOR DE CAMPO!
');
- print ('begin();
- $line = "";
- $count = 0;
- $fail = false;
- $html = "
| # | Registro | Estado |
| ".($count+1)." | "; - - $data = split($delimiter,$line); - - $html .= $line." | "; - - - - $data[0] = str_replace("/","-",$data[0]); - - $datePart = split("-",$data[0]); - - $dateop = dol_mktime(12,0,0,$datePart[0],$datePart[1],$datePart[2]); - - $dateop2 = $datePart[2]."-".$datePart[0]."-".$datePart[1]; - - $operation=$_REQUEST['operation']; - - $num_chq=split(" ",trim($data[1])); - $num_chq=$num_chq[count($num_chq)-1]; - - $label=$data[1]." - ".$data[3]; - $cat1=NULL; - - - - - $tmpAmount = trim($data[2]); - if ($tmpAmount{0} == "="){ - $tmpAmount = substr($tmpAmount,1); - - if (strpos($tmpAmount,"/") != FALSE){ - $amountPart = split("/",$tmpAmount); - $amount = (float)$amountPart[0]/(float)$amountPart[1]; - } else{ - $amount = $tmpAmount; - } - }else{ - $amount= str_replace(",","@",$data[2]); - $amount= str_replace(".",",",$amount); - $amount= str_replace("@",".",$amount); - } - - - $acct=new Account($db,$account); - - $exist = $db->query("Select rowid from llx_bank where datev ='".$dateop2."' AND label = '".$label."' AND amount = ".$amount." AND num_chq = '".$num_chq."'"); - - - if ($db->num_rows($exist) == 0){ - $insertid = $acct->addline($dateop, $operation, $label, $amount, $num_chq, $cat1, $user); - if ($insertid <= 0){ - //dol_print_error($db,$acct->error); - $db->rollback(); - $html .= "ERROR |
| - Seleccione la cuenta destino: - | -- - | - | ||
| - Tipo de Transacción: - | -
-
|
-|||
| - Seleccione el archivo a importar: - | -- - | -|||
| - Omitir primer línea: - | -
-
|
-|||
| - Delimitador de campo: - | -
-
|
-
-|||
| - - - | ||||