Procházet zdrojové kódy

Show Server price per Hour / per Month

Dennis před 3 roky
rodič
revize
15c6bdce9b
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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>