3
0
Fork 0

Lot's of bug fixes

This commit is contained in:
BuildTools 2021-06-27 21:01:43 +02:00
parent ad320963fc
commit 7718ed6c32
196 changed files with 51167 additions and 3010 deletions

View file

@ -38,7 +38,7 @@ class Show extends Model
->groupBy('show_dates.date');
if($uuid !== null)
$data = $data->where('seats.uuid', '!=', $uuid);
$data = $data->whereRaw( "`show_dates`.`date` NOT IN (SELECT date FROM seats WHERE uuid='".$uuid."' AND show_id='".$this->id."')");
$data = $data->get()->all();
$dates = [];