Re7Controller fix prize page display
This commit is contained in:
parent
247660f4dc
commit
b68b6c4aec
1 changed files with 6 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ use App\Mail\Won\WinningProofSubmitedMail;
|
|||
use App\Models\Prize;
|
||||
use App\Models\Settings;
|
||||
use App\Models\Discount;
|
||||
use App\Models\Participation;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Response;
|
||||
|
|
@ -70,8 +71,12 @@ class Re7Controller extends Controller
|
|||
*/
|
||||
public function prize(Prize $prize): View
|
||||
{
|
||||
// * Fake participation model
|
||||
$participationModel = new Participation();
|
||||
$participationModel = 9999999;
|
||||
return view('theme::pages.participation.won', [
|
||||
'prizeModel' => $prize
|
||||
'prizeModel' => $prize,
|
||||
'participationModel' => $participationModel
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue