Browse Source

Show Server price per Hour / per Month

Dennis 3 years ago
parent
commit
15c6bdce9b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      resources/views/servers/index.blade.php

+ 4 - 0
resources/views/servers/index.blade.php

@@ -83,6 +83,10 @@
                                         <td>Backups</td>
                                         <td>{{$server->product->backups}}</td>
                                     </tr>
+                                    <tr>
+                                    <td>Price per Hour: {{number_format($server->product->getHourlyPrice(),2,".")}} Credits</td>
+                                    <td>Price per Month: {{number_format($server->product->getHourlyPrice()*24*30}} Credits</td>
+                                    </tr>
                                 </table>
                             </div>