add retur in updateDevisLigneTrajet
This commit is contained in:
parent
32b66d2a07
commit
e0aa628571
@ -2952,19 +2952,7 @@ class PageController extends Controller {
|
|||||||
$this->myDb->calculer_distance_trajet(numtrajet: $ligne_trajet->id_trajet, idNextcloud: $idNextcloud);
|
$this->myDb->calculer_distance_trajet(numtrajet: $ligne_trajet->id_trajet, idNextcloud: $idNextcloud);
|
||||||
|
|
||||||
}
|
}
|
||||||
//foreach
|
return true;
|
||||||
//$ligne_trajet = json_decode($this->getOneTrajetdetails_byIdDevis($devis->devisid, $idNextcloud))[0];
|
|
||||||
/*
|
|
||||||
if($ligne_trajet != NULL) {
|
|
||||||
$this->gestion_delete('ligne_trajet', $ligne_trajet->id, $idNextcloud);
|
|
||||||
$ligne_trajet = NULL;
|
|
||||||
}
|
|
||||||
$devis = $this->getOneDevis($devis->devisid, $idNextcloud))[0];
|
|
||||||
$this->generate_ligneTrajet($updated_devis, $idNextcloud);
|
|
||||||
$ligne_trajet = json_decode($this->getOneTrajetdetails_byIdDevis($devis->devisid, $idNextcloud))[0];
|
|
||||||
$this->range_ligneTrajet($ligne_trajet->id_trajet, $idNextcloud);
|
|
||||||
$this->calculer_distance_trajet($ligne_trajet->id_trajet, $idNextcloud);
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user