|
|
@@ -53,7 +53,6 @@ if (core::ifPost("from") AND core::getPost("from") == "compte-upload") {
|
|
|
|
|
|
// Création du CSV
|
|
|
json::create("banque-csv");
|
|
|
- json::create("banque-lignes-".core::getPost("add"));
|
|
|
|
|
|
$nbLignes = banque::recordLignes($csvValue, core::getPost("add"));
|
|
|
|
|
|
@@ -73,9 +72,11 @@ if (core::ifPost("from") AND core::getPost("from") == "compte-upload") {
|
|
|
"log" => $log
|
|
|
));
|
|
|
historique::recordAlert("SUCCESS");
|
|
|
-
|
|
|
alert::recSuccess($log);
|
|
|
|
|
|
+ // Création du CSV
|
|
|
+ json::create("banque-lignes-".core::getPost("add"));
|
|
|
+
|
|
|
header("Location: /compte-".core::getPost("add").".html");
|
|
|
exit();
|
|
|
} else {
|