change rule auto approve timesheet
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
} else {
|
||||
form.approved_date = null;
|
||||
}
|
||||
form.approval = form.total_work_hour <= 1;
|
||||
form.approval = form.total_work_hour <= 1 ? true : null;
|
||||
const { error } = await supabase.from("vb_timesheet").insert([form]);
|
||||
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user