move formatting to view

This commit is contained in:
Bilal Catic
2018-11-01 19:57:14 +01:00
parent 3af91a71d7
commit f8e3cc5875
2 changed files with 3 additions and 22 deletions

View File

@@ -68,15 +68,15 @@ if ( ! defined( 'ABSPATH' ) ) {
<tr>
<td><h3>Final dates : </h3></td>
<td><h4><?php echo $final_estimated_date ?></h4></td>
<td><h4><?php echo $final_confirmed_date ?></h4></td>
<td><h4><?php echo $final_estimated_date ? date('Y-m-d', $final_estimated_date) : '-' ?></h4></td>
<td><h4><?php echo $final_confirmed_date ? date('Y-m-d', $final_confirmed_date) : '-' ?></h4></td>
</tr>
<tr>
<td colspan="5"><hr></td>
</tr>
<tr>
<td><h3>Earliest installation date : </h3></td>
<td><h4><?php echo $earliest_installation_date ?></h4></td>
<td><h4><?php echo $earliest_installation_date ? date('Y-m-d', $earliest_installation_date) : '-' ?></h4></td>
</tr>
</table>