Jump to content

soustraire Commandes annulées


Recommended Posts

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 by Yonel81gmailcom (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...