From 85117f7fb9ac48fd513c4b410cad6f5fd52114fc Mon Sep 17 00:00:00 2001 From: Tiavina Date: Thu, 13 Feb 2025 10:01:08 +0300 Subject: [PATCH] reactivate refresh fec --- gestion/lib/Controller/PageController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gestion/lib/Controller/PageController.php b/gestion/lib/Controller/PageController.php index 407588a..7fd456c 100644 --- a/gestion/lib/Controller/PageController.php +++ b/gestion/lib/Controller/PageController.php @@ -1112,7 +1112,7 @@ class PageController extends Controller { public function getFactures() { //$this->synchronize_facture(); $result = $this->myDb->getFactures($this->idNextcloud); - // $this->refreshFEC(); + $this->refreshFEC(); return $result; } @@ -1122,7 +1122,7 @@ class PageController extends Controller { */ public function getFacturesWithProduits() { $result = $this->myDb->getFacturesWithProduits($this->idNextcloud); - // $this->refreshFEC(); + $this->refreshFEC(); return $result; } @@ -1376,7 +1376,7 @@ class PageController extends Controller { */ public function insertFacture(){ $result = $this->myDb->insertFacture($this->idNextcloud); - // $this->refreshFEC(); + $this->refreshFEC(); return $result; } @@ -1488,7 +1488,7 @@ class PageController extends Controller { // $this->generer_document_comptable($facturecourant->date_paiement); } } - // $this->refreshFEC(); + $this->refreshFEC(); return $result; } return $this->myDb->gestion_update($table, $column, $data, $id, $this->idNextcloud); @@ -1503,7 +1503,7 @@ class PageController extends Controller { public function exportDevisToFacture($devisToFacture,$paymentDate) { $factureIdsGenerated = $this->myDb->insertFactureForeEachDevisId($this->idNextcloud,$devisToFacture,$paymentDate); $this->invoicePdfService->generateFacturePdfByFactureIds($factureIdsGenerated,$this->idNextcloud); - // $this->refreshFEC(); + $this->refreshFEC(); return true; } @@ -1522,7 +1522,7 @@ class PageController extends Controller { } else { $result = $this->myDb->gestion_delete($table, $id, $this->idNextcloud); } - // $this->refreshFEC(); + $this->refreshFEC(); return $result; } return $this->myDb->gestion_delete($table, $id, $this->idNextcloud);