Commit 8cf098f5 by 朱继来

审核后才能下载合同

parent 1a9cd250
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
?> ?>
@if (in_array('download_contract', $userPerms)) @if ($v['status'] > 1 && in_array('download_contract', $userPerms))
<a class="btn btn-default download-contract" data-id="{{$v['order_id']}}" href="javascript:;">下载合同</a> <a class="btn btn-default download-contract" data-id="{{$v['order_id']}}" href="javascript:;">下载合同</a>
@endif @endif
......
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
<a class="btn btn-success" href="/change/{{$v['order_id']}}?tags=self" target="_blank">人工审单</a> <a class="btn btn-success" href="/change/{{$v['order_id']}}?tags=self" target="_blank">人工审单</a>
@endif @endif
@if (in_array('self_order_download_contract', $userPerms)) @if ($v['status'] > 1 && in_array('self_order_download_contract', $userPerms))
<a class="btn btn-default download-contract" data-id="{{$v['order_id']}}" href="javascript:;">下载合同</a> <a class="btn btn-default download-contract" data-id="{{$v['order_id']}}" href="javascript:;">下载合同</a>
@endif @endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment