Merge branch 'master' of https://github.com/drkthunder02/w4rpservices
This commit is contained in:
@@ -22,7 +22,7 @@ class ContractController extends Controller
|
||||
public function __construct() {
|
||||
$this->middleware('auth');
|
||||
$this->middleware('role:User');
|
||||
$this->middleware('permission:contract.canbid');
|
||||
//$this->middleware('permission:contract.canbid');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
@if($contract['type'] == 'Public')
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>Corporation</th>
|
||||
<th>Corporation / Character</th>
|
||||
<th>Amount</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($contract['bids'] as $bid)
|
||||
<tr>
|
||||
<td>{{ $bid['corporation_name'] }}</td>
|
||||
<td>{{ $bid['corporation_name'] }} : {{ $bid['character_name'] }}</td>
|
||||
<td>{{ number_format($bid['bid_amount'], 2, '.', ',') }}</td>
|
||||
@if(auth()->user()->character_id == $bid['character_id'])
|
||||
<td>
|
||||
|
||||
@@ -41,14 +41,14 @@
|
||||
@if($contract['bid_count'] > 0)
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>Corporation</th>
|
||||
<th>Corporation / Character</th>
|
||||
<th>Amount</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($contract['bids'] as $bid)
|
||||
<tr>
|
||||
<td>{{ $bid['corporation_name'] }}</td>
|
||||
<td>{{ $bid['corporation_name'] }} : {{ $bid['character_name'] }}</td>
|
||||
<td>{{ number_format($bid['bid_amount'], 2, '.', ',') }}</td>
|
||||
@if(auth()->user()->character_id == $bid['character_id'])
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user