Update job for notis peringatan kedua
This commit is contained in:
@@ -27,7 +27,7 @@ use App\Models\TransaksiKeuntungan;
|
||||
use App\Models\LelongTebus;
|
||||
use App\Models\LogUser;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use App\Jobs\SendWabot;
|
||||
use App\Jobs\WhatsappNotisPeringatanKedua;
|
||||
use App\Models\FailedJob;
|
||||
use Carbon\Carbon;
|
||||
use PDF;
|
||||
@@ -1681,7 +1681,7 @@ Sekian, terima kasih.';
|
||||
$tarikh_cetak = $currentdate->toDateString();
|
||||
|
||||
$notis = Notis::find($notisid);
|
||||
$this->dispatch(new SendWabot($notisid,$cawid));
|
||||
WhatsappNotisPeringatanKedua::dispatch($user->id, $user->kodcaw, $notisid, $cawid);
|
||||
|
||||
$updatestatus = CawanganNotis::where('notis_id', '=', $notisid)->where('caw_id', '=', $cawid)->first();
|
||||
$updatestatus->status = '3'; //blastwabot
|
||||
|
||||
Reference in New Issue
Block a user