utk dashboard
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
//Events
|
||||
use App\Events\Dashboard\TebusNotify;
|
||||
use App\Events\Dashboard\KeuntunganNotify;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@@ -63,6 +67,8 @@ class PenebusanController extends Controller
|
||||
if($updatetebus)
|
||||
{
|
||||
return response('success');
|
||||
|
||||
event(new TebusNotify('lulus',$auth_user['cawangan']));
|
||||
}else{
|
||||
return response('fail');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user