Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Remove garbage line
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud11g committed Sep 5, 2023
1 parent a708b25 commit 15cf0bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Http/Controllers/Admin/WEIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ public function adminGraph()
//TODO NUL A JETER
$graphFood = Payment::select(DB::raw('DATE_FORMAT(created_at,\'%d-%m-%Y\') as day'), DB::raw('COUNT(id) as sum'))
->where('type', 'payment')
->whereIn(DB::raw('`amount`%500'), [30, 330])
->where(function ($query) {
$query->where(DB::raw('`amount`%500'), 30)
->orWhere(DB::raw('`amount`%500'), 330);
Expand Down

0 comments on commit 15cf0bd

Please sign in to comment.