Skip to content

Commit

Permalink
refactor(campaign): WIP - Adding new columns to campaign grid
Browse files Browse the repository at this point in the history
  • Loading branch information
gnovaro committed Dec 27, 2023
1 parent a9320e0 commit f84a9e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions resources/views/campaign/campaign.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ class="form-control form-control-lg">
</textarea>
</div>
</div>
<div class="row">
<div class="col mt-2">
<label for="schedule_send_date"><i class="las la-hashtag"></i> {{ __('Schedule date') }}</label>
<input type="date" name="schedule_send_date" id="schedule_send_date" value="{{ $campaign->schedule_send_date }}" class="form-control form-control-lg">
</div>
<div class="col mt-2">
<label for="schedule_send_time"><i class="las la-hashtag"></i> {{ __('Schedule time') }}</label>
<input type="time" name="schedule_send_time" id="schedule_send_time" value="{{ $campaign->schedule_send_time }}" class="form-control form-control-lg">
</div>
</div>
<div class="row">
<div class="col mt-2">
<a href="{{ url('campaign') }}" class="btn btn-secondary">{{ __('Cancel') }}</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/campaign/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<td>{{ $campaign->schedule_date }}</td>
<td>{{ $campaign->schedule_date }}</td>
<td>{{ $campaign->send_at }}</td>
<td>{{ $campaign->emails_count }}</td>
<td>{{ (isset($campaign->emails_count)) ? $campaign->emails_count : '-' }}</td>
<td>

</td>
Expand Down

0 comments on commit f84a9e4

Please sign in to comment.