Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Linksehat Staging Server
2024-04-15 10:17:36 +07:00

View File

@@ -317,8 +317,8 @@ class ClaimController extends Controller
// ->where('request_logs.status_final_log', '=', 'approved')
->where('request_logs.deleted_at', '=', null)
->when($start != 'all' && $end != 'all', function ($query) use ($start, $end) {
$query->where('request_logs.submission_date', '>=',$start)
->where('request_logs.submission_date', '<=',$end);
$query->where('request_logs.submission_date', '>=',$start. ' 00:00:00')
->where('request_logs.submission_date', '<=',$end. ' 23:59:59');
})
->select(
DB::raw('1 AS no'),