Merge pull request #120 from hotspotbilling/Development

fix delete customer attribute
This commit is contained in:
iBNu Maksum 2024-03-08 17:50:06 +07:00 committed by GitHub
commit ef76aadc16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,6 +465,7 @@ switch ($action) {
// Delete the Customers Attributes with the given field name // Delete the Customers Attributes with the given field name
ORM::for_table('tbl_customers_fields') ORM::for_table('tbl_customers_fields')
->where('field_name', $fieldName) ->where('field_name', $fieldName)
->where('customer_id', $id)
->delete_many(); ->delete_many();
} }
} }