Browse Source

Show Server price per Hour / per Month

Dennis 3 năm trước cách đây
mục cha
commit
15c6bdce9b
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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>