Order Status Payed Flag

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-cart.com/topic/44819-sorder-status-variable-for-paid-status/

Thanks