mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
large commit
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException;
|
||||
use App\Classes\Modules\Orders\DataTransferObjects\StepObject;
|
||||
use App\Classes\ValueObjects\Constants\OrderSteps;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
|
||||
class WarehouseReceivesOrder extends AbstractStepProcessor
|
||||
{
|
||||
@@ -45,6 +46,10 @@ class WarehouseReceivesOrder extends AbstractStepProcessor
|
||||
* @throws InternalServerErrorException
|
||||
*/
|
||||
public function execute(): JsonResponse {
|
||||
Mail::send('emails.reminder', [], function ($message) {
|
||||
$message->from('noreply@izyin.com', 'IZYIM');
|
||||
$message->to('uldvstar@gmail.com', 'Omair Saleh')->subject('Received orders report '.now()->format('dd/mm/YY'));
|
||||
});
|
||||
return $this->handler($this->orderId, $this->step);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user