feat: remove unused VClaim configuration and clean up validation logic in integration schema

This commit is contained in:
riefive
2025-12-02 13:11:49 +07:00
parent a058fd6659
commit 32a6c27375
4 changed files with 3 additions and 436 deletions
+3 -3
View File
@@ -115,9 +115,9 @@ const IntegrationEncounterSchema = z
.refine(
(data) => {
// If payment type is jkn and SEP type is selected, then SEP number is required
if (data.paymentType === 'jkn' && data.sepType && data.sepType.trim() !== '') {
return data.sepNumber && data.sepNumber.trim() !== ''
}
// if (data.paymentType === 'jkn' && data.sepType && data.sepType.trim() !== '') {
// return data.sepNumber && data.sepNumber.trim() !== ''
// }
return true
},
{