Added Error log

- Logs message when error encountered during Customers CSV Import
This commit is contained in:
objecttothis
2024-02-06 12:28:02 +04:00
committed by jekkos
parent b25273ceee
commit 34bc4540bf

View File

@@ -488,6 +488,7 @@ class Customers extends Persons
if($invalidated)
{
$failCodes[] = $i;
log_message('error',"Row $i was not imported: Either email or account number already exist or data was invalid.");
}
elseif($this->customer->save_customer($person_data, $customer_data))
{