McClabe
Please help
for implement at listpage like this
protected function getTableQuery(): ?\Illuminate\Database\Eloquent\Builder
{
$parameterId = session()->get('parameterId'); // Retrieve the parameterId from the session
return ReportBalanceMerchantCentral::query()
->where('merchant_id', $parameterId);
}
public function mount(): void
{
$this->parameterId = request()->route('record');
session()->put('parameterId', $this->parameterId);
}
5 replies