mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
send email to notify customer about china bankslip and instruction to upload po
This commit is contained in:
@@ -4,10 +4,12 @@ namespace App\Http\Controllers;
|
||||
|
||||
use App\ChinaBankSlip;
|
||||
use App\Booking;
|
||||
use App\Notifications\UploadPo;
|
||||
use App\User;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Validator;
|
||||
use Illuminate\Support\Facades\Notification;
|
||||
|
||||
class ChinaBankSlipController extends Controller
|
||||
{
|
||||
@@ -81,6 +83,8 @@ class ChinaBankSlipController extends Controller
|
||||
$booking->admin_status = 6;
|
||||
$booking->save();
|
||||
|
||||
Notification::send([$booking->user], new UploadPo($booking));
|
||||
|
||||
return response()->json(["message"=> "Success"],200);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user