ending contracts

This commit is contained in:
2019-05-03 00:00:41 -05:00
parent 186906773b
commit f34580572a
2 changed files with 10 additions and 1 deletions

View File

@@ -26,7 +26,11 @@
</div>
<hr>
<div class="container">
Lowest Bid: {{ number_format($contract['lowestbid'], 2, '.', ',') }}
@if($contract['lowestbid'] == 'No Bids Placed.')
No Bids Placed.<br>
@else
Lowest Bid: {{ number_format($contract['lowestbid'], 2, '.', ',') }}<br>
@endif
</div>
<hr>
@foreach($contract['bids'] as $bid)

View File

@@ -28,8 +28,13 @@
</div>
<hr>
<div class="container">
@if($contract['lowestbid'] == 'No Bids Placed.')
No Bids Placed.<br>
No Corproation has placed a bid.<br>
@else
Lowest Bid: {{ number_format($contract['lowestbid'], 2, '.', ',') }}<br>
Lowest Bid Corp: {{ $contract['lowestcorp'] }}<br>
@endif
</div>
<hr>
<!-- Count the number of bids for the current contract -->