From dae15222a630b93a6bf9e4a1c3b0085f849623cc Mon Sep 17 00:00:00 2001 From: Gustavo Novaro Date: Wed, 27 Dec 2023 21:01:23 +0100 Subject: [PATCH] refactor(campaign): WIP - Adding new columns to campaign grid --- app/Http/Controllers/Campaign/CampaignSaveController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/Campaign/CampaignSaveController.php b/app/Http/Controllers/Campaign/CampaignSaveController.php index 2b7c378d..2fd4fcfd 100755 --- a/app/Http/Controllers/Campaign/CampaignSaveController.php +++ b/app/Http/Controllers/Campaign/CampaignSaveController.php @@ -24,6 +24,8 @@ public function save(Request $request) $campaign->from = $request->from; $campaign->body = $request->body; $campaign->tags = !empty($request->tags) ? explode(',', $request->tags) : null; + $campaign->schedule_send_date = $request->schedule_send_date; + $campaign->schedule_send_time = $request->schedule_send_time; $campaign->updated_at = now(); $campaign->save();