Browse Source

Incorrect output of referral system data (#881)

Dennis 2 years ago
parent
commit
b87f3ce82e
1 changed files with 5 additions and 5 deletions
  1. 5 5
      themes/default/views/home.blade.php

+ 5 - 5
themes/default/views/home.blade.php

@@ -249,16 +249,16 @@
                                     <hr
                                         style="width: 100%; height:1px; border-width:0; background-color:#6c757d; margin-bottom: 0px">
                                     <table class="table">
-                                        <thead>
+                                    <thead>
                                             <tr>
-                                                @if(in_array($referral_settings->mode, ["comission","both"]))<th>{{ __('Reward per registered user') }}</th> @endif
-                                                @if(in_array($referral_settings->mode, ["sign-up","both"]))<th>{{ __('New user payment commision') }}</th> @endif
+                                                @if(in_array($referral_settings->mode, ["sign-up","both"]))<th>{{ __('Reward per registered user') }}</th> @endif
+                                                @if(in_array($referral_settings->mode, ["commission","both"]))<th>{{ __('New user payment commision') }}</th> @endif
                                             </tr>
                                         </thead>
                                         <tbody>
                                             <tr>
-                                                @if(in_array($referral_settings->mode, ["comission","both"]))<td>{{ $referral_settings->reward }} {{ $general_settings->credits_display_name }}</td> @endif
-                                                @if(in_array($referral_settings->mode, ["sign-up","both"]))<td>{{ $referral_settings->percentage }}%</td> @endif
+                                                @if(in_array($referral_settings->mode, ["sign-up","both"]))<td>{{ $referral_settings->reward }} {{ $general_settings->credits_display_name }}</td> @endif
+                                                @if(in_array($referral_settings->mode, ["commission","both"]))<td>{{ $referral_settings->percentage }}%</td> @endif
                                             </tr>
                                         </tbody>
                                     </table>