feat: remove unused VClaim configuration and clean up validation logic in integration schema
This commit is contained in:
@@ -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
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user