I want to call the ID of the user where the button will only display if the Auth::user verifies the login user with the ID of 1066. I want to insert here:
@if(Auth::check() && ($match->status == 'open' && $match->schedule < Carbon\Carbon::now() && Auth::user()->getMatchBetAmount($match->id) <= 0))
any ideas?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IEmCpw
via IFTTT
Aucun commentaire:
Enregistrer un commentaire