diff --git a/resources/views/supplychain/dashboard/main.blade.php b/resources/views/supplychain/dashboard/main.blade.php index e366fd6d2..08ca91e67 100644 --- a/resources/views/supplychain/dashboard/main.blade.php +++ b/resources/views/supplychain/dashboard/main.blade.php @@ -21,7 +21,50 @@
@if(count($openContracts)) - @include('supplychain.includes.opencontracts') +@foreach($openContracts as $contract) +
+
+
+
+
+
+
+ {{ $contract['title'] }} +
+
+ {!! Form::open(['action' => 'Contracts\SupplyChainController@displaySupplyChainContractBid', 'method' => 'POST']) !!} + {{ Form::hidden('contract_id', $contract['contract_id'], ['class' => 'form-control']) }} + {{ Form::submit('Bid', ['class' => 'btn btn-primary']) }} + {!! Form::close() !!} +
+
+
+
+
+ Delivery Date: {{ $contract['delivery_by'] }}
+ End Date: {{ $contract['end_date'] }}
+
+ +
+ {!! $contract['body'] !!} +
+
+
+ + @if($contract['bid_count'] > 0) + + + {{ $contract['lowest_bid']['name'] }}
+ {{ $contract['lowest_bid']['amount'] }}
+
+
+ @endif +
+
+
+
+
+@endforeach @else