Skip to content

Commit

Permalink
Formatting for last minute check
Browse files Browse the repository at this point in the history
  • Loading branch information
travoltron committed Aug 15, 2016
1 parent 68b71a5 commit 66479d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/CreatePlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function handle()
$this->comment('Plan details:');
$this->comment('Name: '.$data['name']);
$this->comment('ID: '.$data['id']);
$this->comment('Amount: $'.sprintf("%.2f", $data['amount']).' ('.strtoupper($data['currency']).')');
$this->comment('Amount: $'.sprintf("%.2f", ($data['amount']/100)).' ('.strtoupper($data['currency']).')');
$this->comment($data['interval_count'] == 1?'Bills every '.$data['interval'].'.':'Bills every '.$data['interval_count'].' '.str_plural($data['interval']).'.');
$this->comment(($data['trial_period_days'] == 0)?'There is no trial period for this plan.':'Trial period lasts for '.$data['trial_period_days'].' days.');
$this->comment('Appears on statement as: '.$data['statement_descriptor']);
Expand Down

0 comments on commit 66479d3

Please sign in to comment.