multiline wip
This commit is contained in:
1 parent
3fb481afd0
commit
79bb8a0226
16 files changed
+143
-222
No files matched your search
@@ -2,21 +2,19 @@
|
||||
|
||||
namespace App\Actions;
|
||||
|
||||
use App\Models\Multiline;
|
||||
use App\Models\MultilineClient;
|
||||
|
||||
class MultilineSlots
|
||||
{
|
||||
public static function addSlots(&$data, $bettype_id, $matchpart_id)
|
||||
public static function addSlots(&$data)
|
||||
{
|
||||
$slots = Multiline::where('sport_id', auth()->user()->sport_id)
|
||||
->where('client_id', auth()->user()->client_id)
|
||||
// ->where('bettype_id', $bettype_id)
|
||||
// ->where('matchpart_id', $matchpart_id)
|
||||
->with('bookmaker')
|
||||
$slots = MultilineClient::select('bookmaker_id')
|
||||
->where('multiline_setting_id', auth()->user()->multiline_setting_id)
|
||||
->orderBy('sort')
|
||||
->get();
|
||||
|
||||
$multilines = [];
|
||||
|
||||
foreach ($slots as $id => $slot) {
|
||||
$open = true;
|
||||
foreach ($data as $item) {
|
||||
|
||||
Reference in new issue
Block a user