refactor(FE-170): refine product name checks in RecordingForm by removing specific keywords

This commit is contained in:
rstubryan
2025-11-06 09:21:01 +07:00
parent 6c164313de
commit 4e40aba544
@@ -335,8 +335,6 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
const productName = product.product.name;
if (
productName.toLowerCase().includes('ayam') ||
productName.toLowerCase().includes('chicken') ||
productName.toLowerCase().includes('culling') ||
productName.toLowerCase().includes('mati') ||
productName.toLowerCase().includes('afkir')