
@if(EF::getUrl() === 'bookingdetail' )   
    @if(Auth::user()->hasAnyPermission(['All','View Pending Payment']))
    <div class = "col-md-12 col-sm-12">
      <div class= "card card-collapsed">
        <div class="card-status bg-yellow">
        </div>
        <div class="card-header">             

         <h3 class="card-title"> Payments</h3>

         <div class="card-options">
           <a onclick="cardCollapseOnce(event,this);" href="#" class="card-options-collapse btn btn-sm btn-outline-primary" >View <i class="fe fe-chevron-up"></i></a>

         </div>

       </div>
       <div class="alert alert-primary card-alert mb-0">
         Payments
       </div>
        @include('payments.common_view')                       
    </div>
    </div>
    @endif
@else
    @include('payments.common_view')
@endif