ranjith-dev #1090

Merged
jothi merged 2 commits from ranjith-dev into master 2026-09-25 05:15:56 +00:00
Showing only changes of commit f0980a6396 - Show all commits

View File

@@ -342,7 +342,7 @@ class CharacteristicsController extends Controller
$charField = 'NIL';
}
if ($expectedTime == null || $expectedTime == '' || $expectedTime == '0' || ! $expectedTime) {
if ($expectedTime == null || $expectedTime == '' || ($markedStatus == 'Marked' && $expectedTime == '0')) { // || ! $expectedTime
return response()->json([
'status_code' => 'ERROR',
'status_description' => "Expected time can't be empty or zero!",