🏡 index : ~doyle/zpan.git

author Jordan Doyle <jordan@doyle.wf> 2016-06-26 14:13:25.0 +01:00:00
committer Jordan Doyle <jordan@doyle.wf> 2016-06-26 14:13:25.0 +01:00:00
commit
e9dbabcbab4a8bfa91147811bf8884ca5ba433ef [patch]
tree
fc44d2d1c941a2475c2a862a86272b220fe2a920
parent
f9e6fd4c2da3f4d0870682c93a0e12a6275db7ae
download
e9dbabcbab4a8bfa91147811bf8884ca5ba433ef.tar.gz

fix booking slots too



Diff

 app/Http/Controllers/DJ/TimetableController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Http/Controllers/DJ/TimetableController.php b/app/Http/Controllers/DJ/TimetableController.php
index 180ddc6..f2d91e8 100644
--- a/app/Http/Controllers/DJ/TimetableController.php
+++ a/app/Http/Controllers/DJ/TimetableController.php
@@ -40,7 +40,7 @@
        $carbon = Carbon::now(auth()->user()->getTimezone())->setISODate(
            Carbon::now()->year,
            Carbon::now()->weekOfYear,
            $request->get('day') + 1
            $request->get('day')
        )->setTime($request->get('hour'), 0);

        if (Carbon::now()->weekOfYear !== $carbon->weekOfYear) {