0
I had an invoice input using the wrong customer. Payment was made at the same time. After editing the invoice to set the correct customer, the payment report still shows the payment as being from the first (incorrect) customer.
In looking at the database, you are duplicating the customer ID in the payments table. This is not being updated when the invoice is edited.
0
Hello,
Thank you for reporting this. I will update soon. If you need it urgent, please edit the updateSale
method of the app/models/Sales_model.php
and the line below before return true;
$this->db->update('payment', ['customer_id' => $data['customer_id']], ['sale_id' => $id]);
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.