added Preorder filter
This commit is contained in:
@@ -101,8 +101,8 @@
|
||||
<td>
|
||||
<a href="<?=self::getUrl("Preorder", "Index", ["filter" => ["preordercampaign_id" => $camp->id]])?>">
|
||||
<?=count($camp->active_preorders)?>
|
||||
<?php if($camp->total_homes): ?>
|
||||
/ <?=$camp->total_homes?> (<?=(round((count($camp->active_preorders) / $camp->total_homes) * 100, 2))?> %)
|
||||
<?php if($camp->homes_total): ?>
|
||||
/ <?=$camp->homes_total?> (<?=(round((count($camp->active_preorders) / $camp->homes_total) * 100, 2))?> %)
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user