OSB enhancements to date
This commit is contained in:
12
modules/adsl/views/adsl/contract_view.php
Normal file
12
modules/adsl/views/adsl/contract_view.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<!-- //@todo To translate -->
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td style="width: 60%;">Contract Term</td>
|
||||
<td class="head" colspan="2"><?php echo $record->display('contract_term'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- @todo This should get tax settings from the session -->
|
||||
<td>Minimum Cost</td>
|
||||
<td class="head" colspan="2"><?php echo Currency::display(Tax::add($record->contract_term*$price_base+$price_setup)); ?> <span style="font-size: 80%; font-weight:normal;"><?php printf('(%s * %s + %s)',$record->contract_term,Tax::add($price_base),Tax::add($price_setup)); ?></span></td>
|
||||
</tr>
|
||||
</table>
|
26
modules/adsl/views/adsl/product_view.php
Normal file
26
modules/adsl/views/adsl/product_view.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<!-- //@todo To translate -->
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td style="width: 60%;">Speed</td>
|
||||
<td class="head" colspan="2"><?php echo $record->display('speed'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>Peak</td>
|
||||
<td>Off Peak</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Included Download Traffic</td>
|
||||
<!-- // @todo Since price is stored in the DB in GB, so should the traffic. -->
|
||||
<td class="head"><?php echo $record->base_down_peak/1000; ?> GB</td>
|
||||
<td class="head"><?php echo $record->base_down_offpeak/1000; ?> GB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Extra Download Traffic</td>
|
||||
<td class="head"><?php echo $record->display('extra_down_peak'); ?>/GB</td>
|
||||
<td class="head"><?php echo $record->display('extra_down_offpeak'); ?>/GB</td>
|
||||
</tr>
|
||||
</table>
|
Reference in New Issue
Block a user