|
@@ -131,7 +131,7 @@
|
|
|
</span>
|
|
|
@if(count($linkedCompany->documents))
|
|
|
<table class="table">
|
|
|
- @foreach($linkedCompany->documents as $document)
|
|
|
+ @foreach($linkedCompany->allowedDocuments as $document)
|
|
|
<tr>
|
|
|
<td>
|
|
|
<a native target="_blank" href="/api/companyClientDocument/download/{{$document->uid}}">
|
|
@@ -154,6 +154,20 @@
|
|
|
</div>
|
|
|
</form>
|
|
|
</span>
|
|
|
+ <span moe class="ml-1" relative>
|
|
|
+ <a class="" href="" show start><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
+ <form url="/api/companyClientDocument/remove" right>
|
|
|
+ <input type="hidden" name="uid" value="{{$document->uid}}">
|
|
|
+ <div class="m-2">
|
|
|
+ <label for="" class="control-label">Are you sure?</label>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Remove</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@endforeach
|