Retour dernier ID inséré MySQL OpenCart

//You need to use this in OpenCart for getting last insert id:
$this->db->getLastId()
Yousef Qaoud