Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Order Status Payed Flag Rate Topic   - - - - -

 
  • nabidio_IT
  • Newbie
  • Trial users
  • Join Date: 04-Dec 19
  • 2 posts

Posted 04 December 2019 - 02:45 PM #1

Hi All!

 

When we where controlling the statistics in the order section and on the dashboard we figured out, that there is no way to control in which state the order is charged or not via the admin panel / database .

We also figured out that canceled orders are still in the statistics of gross total

 

We where able to correct all this issues with hooks, except for the dashboard graphical statistic, so we endet up changing the core file, which makes me very unhappy

 

please provide a field for the order status to control if the order is paid, will be paid or is not charged at all!

Changed core File: controllers/backend/index.php


function fn_dashboard_get_graphs_data($time_from, $time_to, $is_day)
{
    ....
        $paid_statuses = ['P', 'C','Y','A'];

   .....
}

I found this topic also in other posts eq:

https://forum.cs-car...or-paid-status/

 

 

Thanks