Skip to content

Commit 5ff686d

Browse files
author
bahman
committed
feat(card): add duedate validation rule
- Added date validation for duedate field in CardServiceValidator Signed-off-by: bahman <bja@adlas.at>
1 parent 6ef2bcd commit 5ff686d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Validators/CardServiceValidator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function rules() {
2121
'type' => ['not_empty', 'not_null', 'not_false', 'max:64'],
2222
'order' => ['numeric'],
2323
'owner' => ['not_empty', 'not_null', 'not_false', 'max:64'],
24+
'duedate' => ['date'],
2425
];
2526
}
2627
}

0 commit comments

Comments
 (0)