Yonel81gmailcom Posted October 25, 2012 Share Posted October 25, 2012 (edited) Bonjour, Je souhaiterai soustraire du résultat, les commandes annulées afin d'afficher le chiffres d'affaire réel dans l'onglet 'commande'. J'ai cherché du côté d'AdminOrders.php en bas il y a l'opération private function getTotal() { $total = 0; foreach ($this->_list as $item) $total += $item['total_paid']; return $total; } Pensant pouvoir apporté la modification, j'ai tenté plusieurs chose et me voilà sur le forum à chercher la réponse. Je vous remercie pour votre aide. Edited October 25, 2012 by Yonel81gmailcom (see edit history) Link to comment Share on other sites More sharing options...
Yonel81gmailcom Posted October 26, 2012 Author Share Posted October 26, 2012 (edited) Un exemple concret, j'aimerai bien soustraire au total les commandes annulées en rouge... Edited October 30, 2012 by Yonel81gmailcom (see edit history) Link to comment Share on other sites More sharing options...
Yonel81gmailcom Posted October 31, 2012 Author Share Posted October 31, 2012 up Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now