diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 819919c0..a8f9d2c9 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -7,7 +7,7 @@ * @param string $dec_point * @param string $thousands_sep * - * @return decimal + * @return string */ function money($amount, $currency_code = '', $decimals = 2, $dec_point = '.', $thousands_sep = ',') { diff --git a/resources/views/ManageEvent/Customize.blade.php b/resources/views/ManageEvent/Customize.blade.php index db35a72c..0f47e7c0 100644 --- a/resources/views/ManageEvent/Customize.blade.php +++ b/resources/views/ManageEvent/Customize.blade.php @@ -211,42 +211,22 @@
| - Affiliate Name - | -- Visits Generated - | -- Ticket Sales Generated - | -- Sales Volume Generated - | -- Last Referral - | +Affiliate Name | +Visits Generated | +Ticket Sales Generated | +Sales Volume Generated | +Last Referral |
|---|---|---|---|---|---|---|---|---|---|
| - {{{$affiliate->name}}} - | -- {{$affiliate->visits}} - | -- {{$affiliate->tickets_sold}} - | -- {{money($affiliate->sales_volume, $event->currency->code)}} - | -- {{{ $affiliate->updated_at->format('M dS H:i A') }}} - | +{{ $affiliate->name }} | +{{ $affiliate->visits }} | +{{ $affiliate->tickets_sold }} | +{{ money($affiliate->sales_volume, $event->currency->code) }} | +{{ $affiliate->updated_at->format('M dS H:i A') }} |