From: www-data Date: Tue, 30 May 2023 09:24:53 +0000 (+0200) Subject: Correction on Reccurent entries X-Git-Url: https://git.ebersold.fr/?a=commitdiff_plain;h=e0bb8846e3191984fe92ef336d308b9cbe297d93;p=www%2Fsyndic.git Correction on Reccurent entries --- diff --git a/app/common.php b/app/common.php index 9bcbd2d..1af3615 100644 --- a/app/common.php +++ b/app/common.php @@ -1,6 +1,10 @@ getSession()->getDb()); $trans = Array("trans_label" => "Payement ".$lp[0][2] ,"voucher_date" => $lp[0][1] - ,"voucher_ref" => $lp[0][2]." ".$lp[0].[1] + ,"voucher_ref" => $lp[0][2]." ".$lp[0][1] ,"act_trans_date" => $lp[0][1]); foreach($lp as $e ) { @@ -266,7 +266,7 @@ class Model implements \JsonSerializable return $book->postTransaction($trans,$entries); } catch (Exception $e) { - error_log("Failed pay:".$e->message()); + error_log("model::Recurrent::pay Failed pay:".$e->message()); return Array(); } } @@ -289,7 +289,7 @@ class Model implements \JsonSerializable $this->id = $id; } else { - error_log("Failed payer : unknown reason"); + error_log("Model::Recurrent::payer Failed payer : result trans_id not set"); } } diff --git a/app/compta/views/recurrent_nouveau.php b/app/compta/views/recurrent_nouveau.php index c3181ac..738f697 100644 --- a/app/compta/views/recurrent_nouveau.php +++ b/app/compta/views/recurrent_nouveau.php @@ -181,7 +181,6 @@ _EOF; $fe.=sprintf($tplt,"text",$count,$f,$e->{$f}); } $fe.=""; - error_log($fe."\n"); $frag.=$fe; $count++; } diff --git a/app/compta/views/recurrent_payer.php b/app/compta/views/recurrent_payer.php index eb9141d..706cc31 100644 --- a/app/compta/views/recurrent_payer.php +++ b/app/compta/views/recurrent_payer.php @@ -187,11 +187,9 @@ _EOF; || isset($_GET['regler']) || isset($_GET['id'])) { - error_log("to ledger_recurrent"); $this->script("/app/compta/services.php/"); } else { - error_log("to pag_ledger"); $this->script(); } echo '
';