fix lapfix

This commit is contained in:
hafifierahman
2022-01-25 22:48:05 +08:00
parent 28b02f2946
commit 3ab59cf859
4 changed files with 21 additions and 32 deletions
+3 -1
View File
@@ -12,10 +12,12 @@ class PendahuluanSerahan implements ShouldBroadcast
use Dispatchable, InteractsWithSockets, SerializesModels;
public $pengesahan;
public $cawangan;
public function __construct($pengesahan)
public function __construct($pengesahan,$cawangan)
{
$this->pengesahan = $pengesahan;
$this->cawangan = $cawangan
}
public function broadcastOn()
+3 -3
View File
@@ -1118,7 +1118,7 @@ class KhazanahController extends Controller
]);
event(new PendahuluanSerahan("Lulus"));
event(new PendahuluanSerahan("Lulus",$auth_user['cawangan']));
$updaterequest=Http::put(config('api.url').'/api/requestTeller/update/'. $auth_user['cawangan'],[
'kodlaluan' => $request->teller,
@@ -1198,7 +1198,7 @@ class KhazanahController extends Controller
]);
event(new PendahuluanSerahan("Lulus"));
event(new PendahuluanSerahan("Lulus",$auth_user['cawangan']));
$updaterequest=Http::put(config('api.url').'/api/requestTeller/update/'. $auth_user['cawangan'],[
'kodlaluan' => $request->teller,
@@ -2941,7 +2941,7 @@ class KhazanahController extends Controller
'kodlaluan'=>$kodlaluan
]);
event(new PendahuluanSerahan("Batal"));
event(new PendahuluanSerahan("Batal",$auth_user['cawangan']));
return response('Berjaya');
}