Relation BelongToMany not working when Group in table.

I need help, I created a table with a model that uses belongToMany on the table, for TextColumn it can be displayed, but not for grouping, and also can't select checkbox for its grouping data. Has anyone succeeded in using it? this is part of the code I created: return $table ->query(Awb::query()->whereIn('status', [StatusAwb::PROSES, StatusAwb::SELESAI])) ->defaultGroup('drs.kode_drs') ->groups([ Group::make('drs.kode_drs') ->label('Kode DRS'), Group::make('drs.kurir.name') ->label('Kurir'), ])
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?