Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/remove-php-cs-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricius committed Sep 25, 2020
2 parents 3489cca + 956d41b commit f9101e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/campaigns/status.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Your campaign is queued and will be sent out soon.
@else
<i class="fas fa-cog fa-spin"></i>
{{ $campaign->formatCount($campaignStats[$campaign->id]['counts']['sent']) }} out of {{ $campaignStats[$campaign->id]['counts']['total'] }} messages sent.
{{ $campaignStats[$campaign->id]['counts']['sent'] }} out of {{ $campaignStats[$campaign->id]['counts']['total'] }} messages sent.
@endif
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/Console/Commands/SetupProduction.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,11 @@ protected function getUserParam(string $param): string
'password' => ['required', 'string', 'min:8', 'max:255'],
];

$value = $this->ask(ucfirst($param));
if ($param === 'password') {
$value = $this->secret(ucfirst($param));
} else {
$value = $this->ask(ucfirst($param));
}

$validator = Validator::make([$param => $value], [
$param => $validationRules[$param],
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Campaigns/CampaignStatisticsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function get(Collection $campaigns, Workspace $workspace): Collection
'total' => $countData[$campaign->id]->total,
'open' => $countData[$campaign->id]->opened,
'click' => $countData[$campaign->id]->clicked,
'sent' => $campaign->formatCount($countData[$campaign->id]->sent),
'sent' => $countData[$campaign->id]->sent,
],
'ratios' => [
'open' => $campaign->getActionRatio($countData[$campaign->id]->opened, $countData[$campaign->id]->sent),
Expand Down

0 comments on commit f9101e9

Please # to comment.