tambah nama cawangan dalam notifikasi wasap setelah pembayaran disahkan oleh account

This commit is contained in:
BTMS2
2024-08-08 14:25:16 +08:00
parent 4df3b7e84a
commit ef61e5ade6
2 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -294,6 +294,9 @@ class AccountController extends Controller
$user_notelbimbit = $request->notel_pembida;
$user_namapembida = $request->nama_pembida;
$getkodcaw = Cawangan::where('caw_code', $request->kodcaw)->select('caw_name')->first();
$user_cawname = $getkodcaw->caw_name;
if($request->jenis_button == 'tidaksah'){
//insert loguser
@@ -335,7 +338,7 @@ class AccountController extends Controller
$bidder->status_payment = 1;
$bidder->update();
}
WhatsappPengesahanPembida::dispatch($user_notelbimbit,$user_namapembida);
WhatsappPengesahanPembida::dispatch($user_notelbimbit,$user_namapembida,$user_cawname);
//insert loguser
$loguser = new LogUser;