This commit is contained in:
Truong Vo 2024-08-09 14:13:30 +07:00
parent 1057eec8c0
commit 12d362edc2
2 changed files with 15 additions and 15 deletions

View File

@ -290,7 +290,7 @@ class TicketController extends Controller
// Send notification email to users
if ($action == "confirm") {
dd($results);
// dd($results);
foreach ($results as $result) {
list($year, $month, $day) = explode('-', $result['date']);
Notes::create([

View File

@ -306,20 +306,20 @@ const Timekeeping = () => {
console.log(error)
}
}
const handleUpdateCacheMonth = async () => {
try {
await update(
updateCacheMonth,
{
year: date.year,
month: date.month,
},
getTimeSheet,
)
} catch (error) {
console.log(error)
}
}
// const handleUpdateCacheMonth = async () => {
// try {
// await update(
// updateCacheMonth,
// {
// year: date.year,
// month: date.month,
// },
// getTimeSheet,
// )
// } catch (error) {
// console.log(error)
// }
// }
useEffect(() => {
getTimeSheet()