Merge pull request #357 from githubertus/patch-1
Tickets Sold and Sales Volume charts working
This commit is contained in:
commit
47e9aaf4b0
|
|
@ -548,7 +548,7 @@ class EventCheckoutController extends Controller
|
|||
/*
|
||||
* Update the event stats
|
||||
*/
|
||||
$event_stats = EventStats::firstOrNew([
|
||||
$event_stats = EventStats::updateOrCreate([
|
||||
'event_id' => $event_id,
|
||||
'date' => DB::raw('CURRENT_DATE'),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue